Skip to content

Instantly share code, notes, and snippets.

@brianonn
Created April 23, 2022 00:44
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 brianonn/03519f674a32afb0ac31e0b29560a24b to your computer and use it in GitHub Desktop.
Save brianonn/03519f674a32afb0ac31e0b29560a24b to your computer and use it in GitHub Desktop.
Simple sleep pod running busybox
apiVersion: v1
kind: Pod
metadata:
name: sleep
spec:
containers:
- name: sleep
image: busybox:latest
# Just spin & wait forever
command: [ "/bin/sh", "-c", "--" ]
args: [ "while true; do sleep 99999999; done;" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment