Skip to content

Commit

Permalink
Add liveness probe to samba
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed May 22, 2024
1 parent b4b7415 commit 5cf8304
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions manifests/samba.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5cf8304

Please sign in to comment.