add patches for resources
All checks were successful
Mirror to GitHub / mirror (push) Successful in 9s
All checks were successful
Mirror to GitHub / mirror (push) Successful in 9s
This commit is contained in:
16
teastore/auth-patch.yaml
Normal file
16
teastore/auth-patch.yaml
Normal 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
16
teastore/db-patch.yaml
Normal 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
16
teastore/image-patch.yaml
Normal 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
|
||||
@@ -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
|
||||
16
teastore/persistence-patch.yaml
Normal file
16
teastore/persistence-patch.yaml
Normal 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
|
||||
16
teastore/recommender-patch.yaml
Normal file
16
teastore/recommender-patch.yaml
Normal 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
|
||||
16
teastore/registry-patch.yaml
Normal file
16
teastore/registry-patch.yaml
Normal 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
16
teastore/webui-patch.yaml
Normal 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
|
||||
Reference in New Issue
Block a user