apiVersion: apps/v1 kind: Deployment metadata: name: research-notes namespace: projects spec: replicas: 1 selector: matchLabels: app: research-notes template: metadata: labels: app: research-notes spec: containers: - name: web image: registry.threesix.ai/research-notes/web:latest ports: - containerPort: 3000 resources: requests: memory: "64Mi" cpu: "25m" limits: memory: "256Mi" cpu: "250m" livenessProbe: httpGet: path: / port: 3000 initialDelaySeconds: 10 periodSeconds: 30 readinessProbe: httpGet: path: / port: 3000 initialDelaySeconds: 5 periodSeconds: 10 --- apiVersion: v1 kind: Service metadata: name: research-notes namespace: projects spec: selector: app: research-notes ports: - port: 80 targetPort: 3000 --- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: research-notes namespace: projects annotations: cert-manager.io/cluster-issuer: letsencrypt-prod spec: ingressClassName: nginx tls: - hosts: - notes.orchard9.ai secretName: research-notes-tls rules: - host: notes.orchard9.ai http: paths: - path: / pathType: Prefix backend: service: name: research-notes port: number: 80