apiVersion: apps/v1 kind: Deployment metadata: name: nxtgauge-rust-social-media-managers labels: app: nxtgauge-rust-social-media-managers spec: replicas: 1 selector: matchLabels: app: nxtgauge-rust-social-media-managers template: metadata: labels: app: nxtgauge-rust-social-media-managers spec: containers: - name: social-media-managers image: registry.nxtgauge.com/nxtgauge-rust-social-media-managers imagePullPolicy: Always ports: - containerPort: 9113 name: http envFrom: - configMapRef: name: nxtgauge-backend-rust-config - secretRef: name: nxtgauge-backend-rust-secrets readinessProbe: httpGet: path: /health port: 9113 initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 3 failureThreshold: 3 livenessProbe: httpGet: path: /health port: 9113 initialDelaySeconds: 20 periodSeconds: 20 timeoutSeconds: 3 failureThreshold: 5 resources: requests: cpu: 50m memory: 64Mi limits: cpu: 500m memory: 256Mi