Skip to content

Instantly share code, notes, and snippets.

@macroramesh6
Forked from tcdowney/ubuntu-sleep.yaml
Last active April 27, 2021 11:05
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 macroramesh6/47f8c26342453b49ccbccc315b0d1d83 to your computer and use it in GitHub Desktop.
Save macroramesh6/47f8c26342453b49ccbccc315b0d1d83 to your computer and use it in GitHub Desktop.
Ubuntu Sleep Pod
apiVersion: v1
kind: Pod
metadata:
name: ubuntu
namespace: smtp-test
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