We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdfd0f9 commit a487cc0Copy full SHA for a487cc0
deploy/example/statefulset.yaml
@@ -17,11 +17,11 @@ spec:
17
"kubernetes.io/os": linux
18
containers:
19
- name: statefulset-smb
20
- image: mcr.microsoft.com/oss/nginx/nginx:1.17.3-alpine
+ image: mcr.microsoft.com/oss/nginx/nginx:1.19.5
21
command:
22
- "/bin/sh"
23
- "-c"
24
- - while true; do echo $(date) >> /mnt/smb/outfile; sleep 1; done
+ - set -euo pipefail; while true; do echo $(date) >> /mnt/smb/outfile; sleep 1; done
25
volumeMounts:
26
- name: persistent-storage
27
mountPath: /mnt/smb
0 commit comments