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