Skip to content

Instantly share code, notes, and snippets.

@Mic92
Forked from tcdowney/ubuntu-sleep.yaml
Created January 20, 2022 14:51
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 Mic92/3528e7eb9b94045b60f34dc01bcc6a2a to your computer and use it in GitHub Desktop.
Save Mic92/3528e7eb9b94045b60f34dc01bcc6a2a to your computer and use it in GitHub Desktop.
Ubuntu Sleep Pod
apiVersion: v1
kind: Pod
metadata:
name: ubuntu
labels:
app: ubuntu
spec:
containers:
- image: ubuntu
command:
- "sleep"
- "604800"
imagePullPolicy: IfNotPresent
name: ubuntu
restartPolicy: Always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment