Skip to content

Instantly share code, notes, and snippets.

@vigneshragupathy
Created August 19, 2018 14:39
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 vigneshragupathy/0ae9b4a55ae0afc985e3ef8ef128b9cb to your computer and use it in GitHub Desktop.
Save vigneshragupathy/0ae9b4a55ae0afc985e3ef8ef128b9cb to your computer and use it in GitHub Desktop.
kubernetes_blog_gist1
spec:
containers:
- image: vish/stress
imagePullPolicy: Always
name: stress-test
resources:
limits:
cpu: "1"
memory: "4Gi"
requests:
cpu: "0.5"
memory: "500Mi"
args:
- -cpus
- "2"
- -mem-total
- "5050Mi"
- -mem-alloc-size
- "100Mi"
- -mem-alloc-sleep
- "1s"
terminationMessagePath: /dev/termination-log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment