Skip to content

Instantly share code, notes, and snippets.

@toolboc
Created August 23, 2019 21: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 toolboc/e55d5fb1419602f25c0426a24bd84c7e to your computer and use it in GitHub Desktop.
Save toolboc/e55d5fb1419602f25c0426a24bd84c7e to your computer and use it in GitHub Desktop.
A deployment sure to cause k8s to croak
apiVersion: apps/v1
kind: Deployment
metadata:
name: stress-deployment
labels:
app: stress
spec:
replicas: 1
selector:
matchLabels:
app: stress
template:
metadata:
labels:
app: stress
spec:
containers:
- name: stress
image: jess/stress
args: ["-c", "10", "-m", "5", "--vm-bytes", "1000000000"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment