diff --git a/manifests/samba.yaml b/manifests/samba.yaml index 9cd662b..d019bbb 100644 --- a/manifests/samba.yaml +++ b/manifests/samba.yaml @@ -32,3 +32,17 @@ spec: volumeMounts: - name: data mountPath: /share + livenessProbe: + exec: + command: + - /usr/bin/smbclient + - '\\localhost\TheLabNAS' + - -U + - foo + - -N + - -m + - SMB3 + - -c + - "ls" + initialDelaySeconds: 3 + periodSeconds: 5