Created
January 23, 2020 15:21
-
-
Save cwilkers/4f45e11b908278d793bb5760889d0790 to your computer and use it in GitHub Desktop.
Pod definition using pinned stress container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
generateName: stress- | |
spec: | |
containers: | |
- name: cpu-demo-ctr | |
image: quay.io/cwilkers/stress-pin | |
resources: | |
limits: | |
cpu: 4 | |
memory: "4G" | |
args: | |
- --cpus | |
- "4" | |
- -first-cpu | |
- "2" | |
nodeSelector: | |
node-role.kubernetes.io/worker-rt: "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment