apiVersion: apps/v1 kind: Deployment metadata: name: gateway spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: gateway template: metadata: labels: app.kubernetes.io/name: gateway spec: containers: - name: gateway image: sysmonstm/gateway:latest ports: - containerPort: 8000 name: http envFrom: - configMapRef: name: gateway-config env: - name: TIMESCALE_PASSWORD valueFrom: secretKeyRef: name: timescaledb-secret key: password resources: requests: memory: "128Mi" cpu: "100m" limits: memory: "256Mi" cpu: "500m" livenessProbe: httpGet: path: /health port: http initialDelaySeconds: 10 periodSeconds: 10 readinessProbe: httpGet: path: /health port: http initialDelaySeconds: 5 periodSeconds: 5