From e4418448f1172140e776f2691fcaf1f10ce798db Mon Sep 17 00:00:00 2001 From: zvoneC Date: Tue, 31 Mar 2026 09:48:47 +0000 Subject: [PATCH] Update k8s/moj-servis/deployment.yaml --- k8s/moj-servis/deployment.yaml | 68 +++++++++++----------------------- 1 file changed, 21 insertions(+), 47 deletions(-) diff --git a/k8s/moj-servis/deployment.yaml b/k8s/moj-servis/deployment.yaml index c0e7003..e810e32 100644 --- a/k8s/moj-servis/deployment.yaml +++ b/k8s/moj-servis/deployment.yaml @@ -1,53 +1,27 @@ apiVersion: apps/v1 - - kind: Deployment - - metadata: - +kind: Deployment +metadata: name: moj-servis - namespace: student-zvoneC - - spec: - +spec: replicas: 1 - selector: - - matchLabels: - - app: moj-servis - + matchLabels: + app: moj-servis template: - - metadata: - - labels: - - app: moj-servis - - spec: - - containers: - - - name: moj-servis - - image: git.fpmoz.sum.ba/zvoneC/moj-servis:1.0 - - ports: - - - containerPort: 8000 - - resources: - - requests: - - memory: "64Mi" - - cpu: "50m" - - limits: - - memory: "128Mi" - - cpu: "200m" + metadata: + labels: + app: moj-servis + spec: + containers: + - name: moj-servis + image: git.fpmoz.sum.ba/zvoneC/moj-servis:1.0 + ports: + - containerPort: 8000 + resources: + requests: + memory: "64Mi" + cpu: "50m" + limits: + memory: "128Mi" + cpu: "200m" \ No newline at end of file