Skip to content

Instantly share code, notes, and snippets.

@colearendt
Created April 4, 2022 20:22
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 colearendt/427e5246bb0b1a699210ed3fa2a0b1d5 to your computer and use it in GitHub Desktop.
Save colearendt/427e5246bb0b1a699210ed3fa2a0b1d5 to your computer and use it in GitHub Desktop.
Easy yaml resources to deploy to Kubernetes
# beware... these sleep intervals can be horrible to tearing down the pods
apiVersion: v1
kind: ReplicationController
metadata:
name: netshoot
spec:
replicas: 1
selector:
name: netshoot
template:
metadata:
labels:
name: netshoot
spec:
containers:
- image: colearendt/netshoot:bionic
command:
- sh
- -c
- 'while true; do sleep 1000; done'
imagePullPolicy: IfNotPresent
name: netshoot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment