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