les readyness
This commit is contained in:
@@ -209,11 +209,19 @@ spec:
|
||||
mountPath: /var/cache/samba
|
||||
- name: samba-run
|
||||
mountPath: /run/samba
|
||||
startupProbe:
|
||||
exec:
|
||||
command: ["/bin/bash", "-ec", "wbinfo -t"]
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 10
|
||||
failureThreshold: 18
|
||||
readinessProbe:
|
||||
exec:
|
||||
command: ["/bin/bash", "-ec", "wbinfo -t"]
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 10
|
||||
failureThreshold: 6
|
||||
|
||||
- name: smbd
|
||||
image: quay.io/samba.org/samba-server:v0.8
|
||||
@@ -258,11 +266,20 @@ spec:
|
||||
mountPath: /run/samba
|
||||
- name: share-data
|
||||
mountPath: /data
|
||||
startupProbe:
|
||||
tcpSocket:
|
||||
port: 445
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 18
|
||||
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: 445
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 6
|
||||
|
||||
volumes:
|
||||
- name: samba-config
|
||||
|
||||
Reference in New Issue
Block a user