les readyness

This commit is contained in:
2026-03-19 20:09:29 +00:00
parent 678bb8d3b6
commit b75e4688a5

View File

@@ -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