apiVersion: apps/v1 kind: Deployment metadata: name: nxtgauge-users namespace: nxtgauge labels: app: nxtgauge-users spec: replicas: 1 selector: matchLabels: app: nxtgauge-users template: metadata: labels: app: nxtgauge-users spec: containers: - name: users image: ghcr.io/traceworks2023/nxtgauge-backend imagePullPolicy: Always ports: - containerPort: 50052 name: grpc env: - name: APP value: "users" - name: USERS_GRPC_BIND_URL value: "0.0.0.0:50052" envFrom: - configMapRef: name: nxtgauge-backend-config - secretRef: name: nxtgauge-backend-secrets readinessProbe: tcpSocket: port: 50052 initialDelaySeconds: 5 periodSeconds: 10 livenessProbe: tcpSocket: port: 50052 initialDelaySeconds: 15 periodSeconds: 20