diff --git a/deployment.yaml b/deployment.yaml index 052e7dd..763a4ff 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -1,5 +1,11 @@ apiVersion: apps/v1 kind: Deployment +metadata: + name: moj-servis + namespace: student-leonarda11 +spec: + apiVersion: apps/v1 +kind: Deployment metadata: name: moj-servis namespace: student-leonarda11 @@ -14,14 +20,17 @@ spec: app: moj-servis spec: containers: - - name: moj-servis - image: git.fpmoz.sum.ba/leonarda11/moj-servis:1.0 - ports: - - containerPort: 8000 - resources: - requests: - memory: "64Mi" - cpu: "50m" + - name: moj-servis + image: git.fpmoz.sum.ba/leonarda11/moj-servis:1.0 + ports: + - containerPort: 8000 + resources: + requests: + memory: "64Mi" + cpu: "50m" + limits: + memory: "128Mi" + cpu: "200m" limits: memory: "128Mi" cpu: "200m" \ No newline at end of file