apiVersion: apps/v1 kind: Deployment metadata: name: nxtgauge-frontend-solid namespace: nxtgauge labels: app: nxtgauge-frontend-solid spec: replicas: 1 selector: matchLabels: app: nxtgauge-frontend-solid template: metadata: labels: app: nxtgauge-frontend-solid spec: containers: - name: frontend-solid image: ghcr.io/traceworks2023/nxtgauge-frontend-solid imagePullPolicy: Always ports: - containerPort: 3000 name: http envFrom: - configMapRef: name: nxtgauge-frontend-solid-config - secretRef: name: nxtgauge-frontend-solid-secrets readinessProbe: httpGet: path: / port: 3000 initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 3 failureThreshold: 3 livenessProbe: httpGet: path: / port: 3000 initialDelaySeconds: 20 periodSeconds: 20 timeoutSeconds: 3 failureThreshold: 3 resources: requests: cpu: 100m memory: 128Mi limits: cpu: 500m memory: 512Mi