apiVersion: apps/v1 kind: Deployment metadata: name: sla-separacao-deployment namespace: ci-cd labels: app: sla-separacao spec: revisionHistoryLimit: 0 replicas: 1 strategy: type: RollingUpdate rollingUpdate: maxUnavailable: 0 maxSurge: 1 selector: matchLabels: app: sla-separacao template: metadata: labels: app: sla-separacao spec: containers: - name: web image: 10.77.77.41:5000/slalog/sla-separacao:IMAGE_TAG imagePullPolicy: IfNotPresent ports: - containerPort: 8000 envFrom: - secretRef: name: sla-separacao-env env: - name: PORT value: "8000" - name: HOST value: "0.0.0.0" resources: requests: cpu: 50m memory: 128Mi limits: cpu: 300m memory: 512Mi startupProbe: httpGet: path: /healthz port: 8000 failureThreshold: 30 periodSeconds: 10 livenessProbe: httpGet: path: /healthz port: 8000 initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 3 readinessProbe: httpGet: path: /healthz port: 8000 initialDelaySeconds: 5 periodSeconds: 5 timeoutSeconds: 2 failureThreshold: 3