Skip to content

Instantly share code, notes, and snippets.

@jerrymannel
Created January 21, 2019 17:48
Show Gist options
  • Save jerrymannel/9496f5c567bf5e5dd3ef9a5b61674902 to your computer and use it in GitHub Desktop.
Save jerrymannel/9496f5c567bf5e5dd3ef9a5b61674902 to your computer and use it in GitHub Desktop.
Kubernetes busybox yaml
apiVersion: v1
kind: Pod
metadata:
name: testpod
namespace: appveen
spec:
containers:
- name: test-container
image: k8s.gcr.io/busybox
args: [/bin/sh, -c, 'i=0; while true; do echo "$i: $(date)"; i=$((i+1)); sleep 1; done']
restartPolicy: Never
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment