apiVersion: apps/v1 kind: Deployment metadata: name: functional-scaffold labels: app: functional-scaffold spec: replicas: 3 selector: matchLabels: app: functional-scaffold template: metadata: labels: app: functional-scaffold spec: containers: - name: functional-scaffold image: functional-scaffold:latest imagePullPolicy: IfNotPresent ports: - containerPort: 8000 name: http env: - name: APP_ENV value: "production" - name: LOG_LEVEL value: "INFO" - name: METRICS_ENABLED value: "true" resources: requests: memory: "256Mi" cpu: "250m" limits: memory: "512Mi" cpu: "500m" livenessProbe: httpGet: path: /healthz port: 8000 initialDelaySeconds: 10 periodSeconds: 30 timeoutSeconds: 3 failureThreshold: 3 readinessProbe: httpGet: path: /readyz port: 8000 initialDelaySeconds: 5 periodSeconds: 10 timeoutSeconds: 3 failureThreshold: 3