cpu increase
This commit is contained in:
@@ -2,16 +2,16 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: moj-servis
|
||||
namespace: student-ivanivso7 # Provjeri da ovdje ne piše VAS_KORISNIK
|
||||
namespace: student-ivanivso7
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: moj-servis # OVO JE NEDOSTAJALO
|
||||
app: moj-servis
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: moj-servis # OVO MORA BITI ISTO KAO SELECTOR
|
||||
app: moj-servis
|
||||
spec:
|
||||
containers:
|
||||
- name: moj-servis
|
||||
@@ -20,12 +20,12 @@ spec:
|
||||
- containerPort: 8000
|
||||
resources:
|
||||
requests:
|
||||
cpu: "10m"
|
||||
memory: "32Mi"
|
||||
cpu: "50m" # Povećano sa 10m na 50m
|
||||
memory: "64Mi" # Povećano sa 32Mi na 64Mi
|
||||
limits:
|
||||
cpu: "200m"
|
||||
cpu: "300m" # Povećano sa 200m na 300m
|
||||
memory: "128Mi"
|
||||
livenessProbe: # OVDJE TI JE FALIO "HANDLER TYPE"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 8000
|
||||
|
||||
Reference in New Issue
Block a user