Skip to content

Instantly share code, notes, and snippets.

@ssbostan
Created March 30, 2023 13:31
Show Gist options
  • Save ssbostan/763681efef7437947461780d3ba83a66 to your computer and use it in GitHub Desktop.
Save ssbostan/763681efef7437947461780d3ba83a66 to your computer and use it in GitHub Desktop.
Kubernetes Hacks and Tricks - #7 Pod and Container Resource and QoS classes
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