apiVersion: apps/v1 kind: Deployment metadata: name: www-cialloo-com namespace: www-cialloo-com-{{ENVIRONMENT}} labels: app: www-cialloo-com environment: {{ENVIRONMENT}} spec: replicas: 2 selector: matchLabels: app: www-cialloo-com environment: {{ENVIRONMENT}} template: metadata: labels: app: www-cialloo-com environment: {{ENVIRONMENT}} spec: containers: - name: www-cialloo-com image: {{IMAGE_NAME}}:{{IMAGE_TAG}} ports: - containerPort: 80 resources: requests: memory: "64Mi" cpu: "50m" limits: memory: "128Mi" cpu: "100m" livenessProbe: httpGet: path: / port: 80 initialDelaySeconds: 30 periodSeconds: 10 readinessProbe: httpGet: path: / port: 80 initialDelaySeconds: 5 periodSeconds: 5 imagePullSecrets: - name: docker-registry-secret