Created
March 30, 2023 16:48
-
-
Save ssbostan/0c64a69f591ef2e4592536b53d2f5144 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-guaranteed | |
spec: | |
replicas: 15 | |
selector: | |
matchLabels: | |
app: test-guaranteed | |
template: | |
metadata: | |
labels: | |
app: test-guaranteed | |
spec: | |
containers: | |
- name: test | |
image: nginx:alpine | |
resources: | |
requests: | |
memory: 200Mi | |
cpu: 500m | |
limits: | |
memory: 200Mi | |
cpu: 500m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment