Skip to content

Instantly share code, notes, and snippets.

@clemlesne
Created May 20, 2021 08:43
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 clemlesne/bb945cc60b887f5239109d113db951d7 to your computer and use it in GitHub Desktop.
Save clemlesne/bb945cc60b887f5239109d113db951d7 to your computer and use it in GitHub Desktop.
Dommy Kubernetes pod
apiVersion: v1
kind: Pod
metadata:
name: dummy
labels:
env: test
spec:
containers:
- name: dummy
image: busybox
resources:
limits:
cpu: 50m
memory: 50Mi
args: [/bin/sh, -c,
'i=0; while true; do echo "$i: $(date)"; i=$((i+1)); sleep 1; done']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment