apiVersion: apps/v1 kind: Deployment metadata: name: notesnook-sse namespace: notesnook spec: replicas: 1 selector: matchLabels: app: notesnook-sse template: metadata: labels: app: notesnook-sse spec: containers: - name: sse image: streetwriters/sse:latest envFrom: - configMapRef: { name: notesnook-config } - secretRef: { name: notesnook-secret } ports: - { containerPort: 7264, name: http } readinessProbe: httpGet: { path: /health, port: 7264 } initialDelaySeconds: 20 periodSeconds: 15 livenessProbe: httpGet: { path: /health, port: 7264 } initialDelaySeconds: 60 periodSeconds: 30 resources: requests: { cpu: "50m", memory: "128Mi" } limits: { cpu: "500m", memory: "256Mi" }