Skip to content

Instantly share code, notes, and snippets.

@andyrobbins
Created February 22, 2023 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andyrobbins/f54e1387f0a1b396fd827d4834f60ea9 to your computer and use it in GitHub Desktop.
Save andyrobbins/f54e1387f0a1b396fd827d4834f60ea9 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: command-demo-2
labels:
purpose: demonstrate-command
spec:
containers:
- name: command-demo-container
image: debian
command:
- /bin/sh
- "-c"
- "sleep 60m"
restartPolicy: OnFailure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment