Created
March 30, 2023 13:31
-
-
Save ssbostan/763681efef7437947461780d3ba83a66 to your computer and use it in GitHub Desktop.
Kubernetes Hacks and Tricks - #7 Pod and Container Resource and QoS classes
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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: test-burstable | |
spec: | |
replicas: 15 | |
selector: | |
matchLabels: | |
app: test-burstable | |
template: | |
metadata: | |
labels: | |
app: test-burstable | |
spec: | |
containers: | |
- name: test | |
image: nginx:alpine | |
resources: | |
requests: | |
memory: 100Mi | |
cpu: 100m | |
limits: | |
memory: 500Mi | |
cpu: 500m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment