apiVersion: apps/v1 kind: Deployment metadata: name: notesnook-monograph namespace: notesnook spec: replicas: 1 selector: matchLabels: app: notesnook-monograph template: metadata: labels: app: notesnook-monograph spec: containers: - name: monograph image: streetwriters/monograph:latest envFrom: - configMapRef: { name: notesnook-config } - secretRef: { name: notesnook-secret } env: - name: HOST value: "0.0.0.0" - name: API_HOST value: "http://notesnook-sync:5264" - name: PUBLIC_URL value: "https://monograph.notes.aleshym.co" ports: - { containerPort: 3000, name: http } readinessProbe: httpGet: { path: /, port: 3000 } initialDelaySeconds: 20 periodSeconds: 15 resources: requests: { cpu: "50m", memory: "128Mi" } limits: { cpu: "500m", memory: "512Mi" }