apiVersion: apps/v1 kind: Deployment metadata: name: vendaweb-portal labels: app: vendaweb-portal spec: replicas: 3 revisionHistoryLimit: 5 minReadySeconds: 10 progressDeadlineSeconds: 600 strategy: type: RollingUpdate rollingUpdate: maxSurge: 1 maxUnavailable: 0 selector: matchLabels: app: vendaweb-portal template: metadata: labels: app: vendaweb-portal spec: imagePullSecrets: - name: gitea-auth terminationGracePeriodSeconds: 30 containers: - name: portal image: git.simplifiquehc.com.br/simplifique/vendaweb-portal:latest imagePullPolicy: IfNotPresent ports: - name: http containerPort: 80 protocol: TCP envFrom: - configMapRef: name: vendaweb-portal-config livenessProbe: httpGet: path: / port: http initialDelaySeconds: 20 periodSeconds: 10 timeoutSeconds: 2 failureThreshold: 6 readinessProbe: httpGet: path: / port: http initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 2 failureThreshold: 6 startupProbe: httpGet: path: / port: http initialDelaySeconds: 5 periodSeconds: 5 timeoutSeconds: 2 failureThreshold: 24 resources: requests: cpu: 100m memory: 256Mi limits: cpu: 500m memory: 512Mi