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