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