Skip to content

Instantly share code, notes, and snippets.

@balajismaniam
Created July 17, 2018 21:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save balajismaniam/7c2d57b2f526a56bb79cf870c122a34c to your computer and use it in GitHub Desktop.
Save balajismaniam/7c2d57b2f526a56bb79cf870c122a34c to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: stress-pod
spec:
containers:
- image: gcr.io/google-containers/stress:v1
args: ["-cpus", "48"]
name: stress-container
resources:
requests:
# Only request is specifed. The pod is in Burstable QoS class.
cpu: <insert-cpu-request>
restartPolicy: "Never"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment