diff --git a/k8s/moj-servis/deployment.yaml b/k8s/moj-servis/deployment.yaml index 475d7d9..5a3d59c 100644 --- a/k8s/moj-servis/deployment.yaml +++ b/k8s/moj-servis/deployment.yaml @@ -20,8 +20,8 @@ spec: - containerPort: 8000 resources: requests: - cpu: "50m" - memory: "64Mi" + cpu: "10m" + memory: "32Mi" limits: cpu: "200m" memory: "128Mi" diff --git a/k8s/moj-servis/ingress.yaml b/k8s/moj-servis/ingress.yaml index b545038..8fbcbe8 100644 --- a/k8s/moj-servis/ingress.yaml +++ b/k8s/moj-servis/ingress.yaml @@ -5,6 +5,7 @@ metadata: namespace: student-ivanivso7 annotations: # ── Traefik specifične opcije ── + kubernetes.io/ingress.class: traefik #pokusaj sa "traefik" ako "traefik-v2" ne radi traefik.ingress.kubernetes.io/router.entrypoints: web,websecure traefik.ingress.kubernetes.io/router.tls: "true" spec: