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