Skip to content

Instantly share code, notes, and snippets.

@tubaterry
Created March 13, 2019 16:42
Show Gist options
  • Save tubaterry/abfd218d10074a59559b21b2286e51b0 to your computer and use it in GitHub Desktop.
Save tubaterry/abfd218d10074a59559b21b2286e51b0 to your computer and use it in GitHub Desktop.
Quick busybox pod definition
apiVersion: v1
kind: Pod
metadata:
name: busybox
namespace: default
spec:
containers:
- name: busybox
image: busybox:1.28
command:
- sleep
- "3600"
imagePullPolicy: IfNotPresent
restartPolicy: Always
@tubaterry
Copy link
Author

putting this all here to save the effort of typing any of it out again later
kubectl exec -ti busybox -- sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment