Try adding the samba server
This commit is contained in:
36
clusters/kairos/samba/deployment.yaml
Normal file
36
clusters/kairos/samba/deployment.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: samba
|
||||
labels:
|
||||
app: samba
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: samba
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: samba
|
||||
spec:
|
||||
containers:
|
||||
- name: samba
|
||||
image: quay.io/samba.org/samba-server:latest
|
||||
ports:
|
||||
- containerPort: 445
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
volumeMounts:
|
||||
- mountPath: /share
|
||||
name: local-path
|
||||
volumes:
|
||||
- name: local-path
|
||||
hostPath:
|
||||
path: /usr/local/data
|
||||
type: Directory
|
||||
Reference in New Issue
Block a user