apiVersion: apps/v1 kind: Deployment metadata: name: optima-ui namespace: optima spec: selector: matchLabels: app: optima-ui replicas: 1 template: metadata: labels: app: optima-ui spec: containers: - name: optima-ui image: ghcr.io/project-optima/ttscm-ui:latest imagePullPolicy: Always resources: requests: memory: "128Mi" cpu: "100m" limits: memory: "256Mi" cpu: "500m" env: - name: PUBLIC_API_URL value: "https://opt-api.osdci.net" - name: ORIGIN value: "https://optima.osdci.net" - name: PORT value: "3000" ports: - containerPort: 3000 livenessProbe: httpGet: path: /healthz port: 3000 initialDelaySeconds: 5 periodSeconds: 15 failureThreshold: 3 readinessProbe: httpGet: path: /healthz port: 3000 initialDelaySeconds: 3 periodSeconds: 5 failureThreshold: 2 imagePullSecrets: - name: github-container-registry