Created
April 4, 2022 20:22
-
-
Save colearendt/427e5246bb0b1a699210ed3fa2a0b1d5 to your computer and use it in GitHub Desktop.
Easy yaml resources to deploy to Kubernetes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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