apiVersion: apps/v1 kind: Deployment metadata: name: moh-app namespace: merchantsofhope spec: replicas: 3 strategy: type: RollingUpdate rollingUpdate: maxUnavailable: 1 maxSurge: 1 selector: matchLabels: app: moh-app template: metadata: labels: app: moh-app spec: containers: - name: app image: qwen-hack-moh:latest ports: - containerPort: 18000 envFrom: - configMapRef: name: moh-config - secretRef: name: moh-secrets resources: requests: memory: "256Mi" cpu: "250m" limits: memory: "512Mi" cpu: "500m" livenessProbe: httpGet: path: / port: 18000 initialDelaySeconds: 30 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 3 readinessProbe: httpGet: path: / port: 18000 initialDelaySeconds: 5 periodSeconds: 5 timeoutSeconds: 3 failureThreshold: 3 volumeMounts: - name: app-logs mountPath: /var/log/app volumes: - name: app-logs emptyDir: {} securityContext: runAsNonRoot: true runAsUser: 1000 fsGroup: 2000