add patches for resources
All checks were successful
Mirror to GitHub / mirror (push) Successful in 9s

This commit is contained in:
jona.klaess
2026-06-16 15:26:20 +02:00
parent da7c0a8779
commit e37bd8821c
8 changed files with 120 additions and 1 deletions

16
teastore/auth-patch.yaml Normal file
View File

@@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: teastore-auth
spec:
template:
spec:
containers:
- name: teastore-auth
resources:
requests:
cpu: 20m
memory: 0.3Gi
limits:
cpu: 40m
memory: 0.5Gi

16
teastore/db-patch.yaml Normal file
View File

@@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: teastore-db
spec:
template:
spec:
containers:
- name: teastore-db
resources:
requests:
cpu: 20m
memory: 0.1Gi
limits:
cpu: 50m
memory: 0.15Gi

16
teastore/image-patch.yaml Normal file
View File

@@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: teastore-image
spec:
template:
spec:
containers:
- name: teastore-image
resources:
requests:
cpu: 100m
memory: 0.3Gi
limits:
cpu: 300m
memory: 0.6Gi

View File

@@ -19,4 +19,11 @@ patches:
spec:
ports:
- port: 8080
targetPort: 8080
targetPort: 8080
- path: auth-patch.yaml
- path: db-patch.yaml
- path: image-patch.yaml
- path: persistence-patch.yaml
- path: recommender-patch.yaml
- path: registry-patch.yaml
- path: webui-patch.yaml

View File

@@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: teastore-persistence
spec:
template:
spec:
containers:
- name: teastore-persistence
resources:
requests:
cpu: 100m
memory: 0.3Gi
limits:
cpu: 200m
memory: 0.6Gi

View File

@@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: teastore-recommender
spec:
template:
spec:
containers:
- name: teastore-reecommender
resources:
requests:
cpu: 20m
memory: 0.3Gi
limits:
cpu: 40m
memory: 0.5Gi

View File

@@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: teastore-registry
spec:
template:
spec:
containers:
- name: teastore-registry
resources:
requests:
cpu: 50m
memory: 0.2Gi
limits:
cpu: 100m
memory: 0.3Gi

16
teastore/webui-patch.yaml Normal file
View File

@@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: teastore-webui
spec:
template:
spec:
containers:
- name: teastore-webui
resources:
requests:
cpu: 100m
memory: 0.3Gi
limits:
cpu: 300m
memory: 0.65Gi