Repository navigation
feat: deploy private Honcho memory service - #4896
Conversation
@@ spec.ingress @@
# networking.k8s.io/v1/NetworkPolicy/dev/litellm
! - one list entry removed:
- - from:
- - namespaceSelector:
- matchLabels:
- kubernetes.io/metadata.name: network
- podSelector:
- matchLabels:
- app.kubernetes.io/name: traefik
- - namespaceSelector:
- matchLabels:
- kubernetes.io/metadata.name: home
- podSelector:
- matchLabels:
- app.kubernetes.io/name: mealie
- - namespaceSelector:
- matchLabels:
- kubernetes.io/metadata.name: home-automation
- podSelector:
- matchLabels:
- app.kubernetes.io/name: frigate
- - namespaceSelector:
- matchLabels:
- kubernetes.io/metadata.name: home-automation
- podSelector:
- matchLabels:
- app.kubernetes.io/name: paperless
- ports:
- - port: 4000
- protocol: TCP
! + one list entry added:
+ - from:
+ - namespaceSelector:
+ matchLabels:
+ kubernetes.io/metadata.name: network
+ podSelector:
+ matchLabels:
+ app.kubernetes.io/name: traefik
+ - namespaceSelector:
+ matchLabels:
+ kubernetes.io/metadata.name: home
+ podSelector:
+ matchLabels:
+ app.kubernetes.io/name: mealie
+ - namespaceSelector:
+ matchLabels:
+ kubernetes.io/metadata.name: home-automation
+ podSelector:
+ matchLabels:
+ app.kubernetes.io/name: frigate
+ - namespaceSelector:
+ matchLabels:
+ kubernetes.io/metadata.name: home-automation
+ podSelector:
+ matchLabels:
+ app.kubernetes.io/name: paperless
+ - podSelector:
+ matchLabels:
+ app.kubernetes.io/name: honcho
+ ports:
+ - port: 4000
+ protocol: TCP
@@ (root level) @@
# kustomize.toolkit.fluxcd.io/v1/Kustomization/flux-system/honcho-db
! + one document added:
+ apiVersion: kustomize.toolkit.fluxcd.io/v1
+ kind: Kustomization
+ metadata:
+ name: honcho-db
+ namespace: flux-system
+ labels:
+ kustomize.toolkit.fluxcd.io/name: cluster-apps
+ kustomize.toolkit.fluxcd.io/namespace: flux-system
+ spec:
+ decryption:
+ provider: sops
+ secretRef:
+ name: sops-age
+ dependsOn:
+ - name: cloudnative-pg
+ - name: external-secrets-stores
+ - name: openebs
+ healthCheckExprs:
+ - apiVersion: postgresql.cnpg.io/v1
+ kind: Cluster
+ current: |
+ status.conditions.exists(e,
+
+ e.type == 'Ready' &&
+ e.status == 'True')
+ interval: 30m
+ path: ./kubernetes/apps/dev/honcho/db
+ postBuild:
+ substituteFrom:
+ - name: cluster-settings
+ kind: ConfigMap
+ optional: true
+ prune: true
+ retryInterval: 1m
+ sourceRef:
+ name: home-kubernetes
+ kind: GitRepository
+ targetNamespace: dev
+ timeout: 10m
+ wait: true
@@ (root level) @@
# kustomize.toolkit.fluxcd.io/v1/Kustomization/flux-system/honcho
! + one document added:
+ apiVersion: kustomize.toolkit.fluxcd.io/v1
+ kind: Kustomization
+ metadata:
+ name: honcho
+ namespace: flux-system
+ labels:
+ kustomize.toolkit.fluxcd.io/name: cluster-apps
+ kustomize.toolkit.fluxcd.io/namespace: flux-system
+ spec:
+ decryption:
+ provider: sops
+ secretRef:
+ name: sops-age
+ dependsOn:
+ - name: external-secrets-stores
+ - name: honcho-db
+ - name: litellm
+ interval: 30m
+ path: ./kubernetes/apps/dev/honcho/app
+ postBuild:
+ substituteFrom:
+ - name: cluster-settings
+ kind: ConfigMap
+ optional: true
+ prune: true
+ retryInterval: 1m
+ sourceRef:
+ name: home-kubernetes
+ kind: GitRepository
+ targetNamespace: dev
+ timeout: 10m
+ wait: true
@@ (root level) @@
# external-secrets.io/v1/ExternalSecret/dev/honcho
! + one document added:
+ apiVersion: external-secrets.io/v1
+ kind: ExternalSecret
+ metadata:
+ name: honcho
+ namespace: dev
+ labels:
+ kustomize.toolkit.fluxcd.io/name: honcho
+ kustomize.toolkit.fluxcd.io/namespace: flux-system
+ spec:
+ data:
+ - remoteRef:
+ key: honcho
+ property: jwt-secret
+ secretKey: AUTH_JWT_SECRET
+ - remoteRef:
+ key: litellm-honcho
+ property: key
+ secretKey: LLM_OPENAI_API_KEY
+ refreshInterval: 5m
+ secretStoreRef:
+ name: onepassword-connect
+ kind: ClusterSecretStore
+ target:
+ name: honcho
@@ (root level) @@
# helm.toolkit.fluxcd.io/v2/HelmRelease/dev/honcho
! + one document added:
+ apiVersion: helm.toolkit.fluxcd.io/v2
+ kind: HelmRelease
+ metadata:
+ name: honcho
+ namespace: dev
+ labels:
+ kustomize.toolkit.fluxcd.io/name: honcho
+ kustomize.toolkit.fluxcd.io/namespace: flux-system
+ spec:
+ chart:
+ spec:
+ version: "5.3.0"
+ chart: app-template
+ sourceRef:
+ name: bjw-s
+ kind: HelmRepository
+ namespace: flux-system
+ interval: 30m
+ values:
+ controllers:
+ honcho:
+ annotations:
+ reloader.stakater.com/auto: "true"
+ containers:
+ api:
+ resources:
+ limits:
+ memory: 1Gi
+ requests:
+ cpu: 50m
+ memory: 256Mi
+ command:
+ - /app/.venv/bin/fastapi
+ - run
+ - "--host"
+ - "0.0.0.0"
+ - src/main.py
+ image:
+ repository: ghcr.io/plastic-labs/honcho
+ tag: "v3.6.2@sha256:3860692fb036b2453a2c14e2cee02ce57170b4e58d95250b73fddf956a2747c5"
+ securityContext:
+ allowPrivilegeEscalation: false
+ capabilities:
+ drop:
+ - ALL
+ runAsNonRoot: true
+ runAsUser: 999
+ seccompProfile:
+ type: RuntimeDefault
+ env:
+ AUTH_JWT_SECRET:
+ valueFrom:
+ secretKeyRef:
+ name: honcho
+ key: AUTH_JWT_SECRET
+ AUTH_USE_AUTH: "true"
+ CACHE_ENABLED: "false"
+ DB_CONNECTION_URI:
+ valueFrom:
+ secretKeyRef:
+ name: honcho-db-owner
+ key: DB_CONNECTION_URI
+ DERIVER_MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DIALECTIC_LEVELS__high__MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DIALECTIC_LEVELS__low__MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DIALECTIC_LEVELS__max__MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DIALECTIC_LEVELS__medium__MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DIALECTIC_LEVELS__minimal__MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DREAM_DEDUCTION_MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DREAM_INDUCTION_MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ EMBEDDING_MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ LLM_OPENAI_API_KEY:
+ valueFrom:
+ secretKeyRef:
+ name: honcho
+ key: LLM_OPENAI_API_KEY
+ SUMMARY_MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ TELEMETRY_ENABLED: "false"
+ probes:
+ liveness:
+ spec:
+ httpGet:
+ path: /health
+ port: 8000
+ custom: true
+ enabled: true
+ readiness:
+ spec:
+ httpGet:
+ path: /health
+ port: 8000
+ custom: true
+ enabled: true
+ startup:
+ spec:
+ failureThreshold: 30
+ httpGet:
+ path: /health
+ port: 8000
+ periodSeconds: 5
+ custom: true
+ enabled: true
+ deriver:
+ resources:
+ limits:
+ memory: 1Gi
+ requests:
+ cpu: 50m
+ memory: 256Mi
+ command:
+ - /app/.venv/bin/python
+ - "-m"
+ - src.deriver
+ image:
+ repository: ghcr.io/plastic-labs/honcho
+ tag: "v3.6.2@sha256:3860692fb036b2453a2c14e2cee02ce57170b4e58d95250b73fddf956a2747c5"
+ securityContext:
+ allowPrivilegeEscalation: false
+ capabilities:
+ drop:
+ - ALL
+ runAsNonRoot: true
+ runAsUser: 999
+ seccompProfile:
+ type: RuntimeDefault
+ env:
+ CACHE_ENABLED: "false"
+ DB_CONNECTION_URI:
+ valueFrom:
+ secretKeyRef:
+ name: honcho-db-owner
+ key: DB_CONNECTION_URI
+ DERIVER_MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DIALECTIC_LEVELS__high__MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DIALECTIC_LEVELS__low__MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DIALECTIC_LEVELS__max__MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DIALECTIC_LEVELS__medium__MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DIALECTIC_LEVELS__minimal__MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DREAM_DEDUCTION_MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ DREAM_INDUCTION_MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ EMBEDDING_MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ LLM_OPENAI_API_KEY:
+ valueFrom:
+ secretKeyRef:
+ name: honcho
+ key: LLM_OPENAI_API_KEY
+ SUMMARY_MODEL_CONFIG__OVERRIDES__BASE_URL: "http://litellm:4000/v1"
+ TELEMETRY_ENABLED: "false"
+ initContainers:
+ migrate:
+ resources:
+ limits:
+ memory: 1Gi
+ requests:
+ cpu: 50m
+ memory: 256Mi
+ command:
+ - /app/.venv/bin/python
+ - scripts/provision_db.py
+ image:
+ repository: ghcr.io/plastic-labs/honcho
+ tag: "v3.6.2@sha256:3860692fb036b2453a2c14e2cee02ce57170b4e58d95250b73fddf956a2747c5"
+ securityContext:
+ allowPrivilegeEscalation: false
+ capabilities:
+ drop:
+ - ALL
+ runAsNonRoot: true
+ runAsUser: 999
+ seccompProfile:
+ type: RuntimeDefault
+ env:
+ DB_CONNECTION_URI:
+ valueFrom:
+ secretKeyRef:
+ name: honcho-db-owner
+ key: DB_CONNECTION_URI
+ defaultPodOptions:
+ automountServiceAccountToken: false
+ service:
+ app:
+ controller: honcho
+ ports:
+ http:
+ port: 8000
@@ (root level) @@
# networking.k8s.io/v1/NetworkPolicy/dev/honcho
! + one document added:
+ apiVersion: networking.k8s.io/v1
+ kind: NetworkPolicy
+ metadata:
+ name: honcho
+ namespace: dev
+ labels:
+ kustomize.toolkit.fluxcd.io/name: honcho
+ kustomize.toolkit.fluxcd.io/namespace: flux-system
+ spec:
+ ingress:
+ - from:
+ - podSelector:
+ matchLabels:
+ honcho-client: "true"
+ ports:
+ - port: 8000
+ protocol: TCP
+ podSelector:
+ matchLabels:
+ app.kubernetes.io/name: honcho
+ policyTypes:
+ - Ingress
@@ (root level) @@
# postgresql.cnpg.io/v1/Cluster/dev/honcho-db
! + one document added:
+ apiVersion: postgresql.cnpg.io/v1
+ kind: Cluster
+ metadata:
+ name: honcho-db
+ namespace: dev
+ labels:
+ kustomize.toolkit.fluxcd.io/name: honcho-db
+ kustomize.toolkit.fluxcd.io/namespace: flux-system
+ spec:
+ resources:
+ limits:
+ memory: 1Gi
+ requests:
+ cpu: 50m
+ memory: 256Mi
+ enableSuperuserAccess: false
+ imageName: "ghcr.io/cloudnative-pg/postgresql:18.7-202611230809-standard-trixie@sha256:1abcfd1cac6d53cda5185706819aab36d66a4ed88e99fc2ae44ab0826aa99f00"
+ instances: 2
+ storage:
+ size: 5Gi
+ storageClass: openebs-hostpath
+ bootstrap:
+ initdb:
+ database: honcho
+ owner: honcho
+ postInitApplicationSQL:
+ - "CREATE EXTENSION IF NOT EXISTS vector"
+ - "CREATE EXTENSION IF NOT EXISTS pg_trgm"
+ - "CREATE EXTENSION IF NOT EXISTS btree_gin"
+ secret:
+ name: honcho-db-owner
@@ (root level) @@
# external-secrets.io/v1/ExternalSecret/dev/honcho-db-owner
! + one document added:
+ apiVersion: external-secrets.io/v1
+ kind: ExternalSecret
+ metadata:
+ name: honcho-db-owner
+ namespace: dev
+ labels:
+ kustomize.toolkit.fluxcd.io/name: honcho-db
+ kustomize.toolkit.fluxcd.io/namespace: flux-system
+ spec:
+ data:
+ - remoteRef:
+ key: honcho-db
+ property: password
+ secretKey: password
+ refreshInterval: 5m
+ secretStoreRef:
+ name: onepassword-connect
+ kind: ClusterSecretStore
+ target:
+ name: honcho-db-owner
+ template:
+ type: kubernetes.io/basic-auth
+ data:
+ DB_CONNECTION_URI: "postgresql+psycopg://honcho:{{ .password | urlquery | replace \"+\" \"%20\" }}@honcho-db-rw:5432/honcho?sslmode=require"
+ password: "{{ .password }}"
+ username: honcho
+ metadata:
+ labels:
+ cnpg.io/reload: "true"
@@ (root level) @@
# v1/ServiceAccount/dev/honcho
! + one document added:
+ apiVersion: v1
+ kind: ServiceAccount
+ metadata:
+ name: honcho
+ namespace: dev
+ labels:
+ app.kubernetes.io/instance: honcho
+ app.kubernetes.io/managed-by: Helm
+ app.kubernetes.io/name: honcho
+ helm.toolkit.fluxcd.io/name: honcho
+ helm.toolkit.fluxcd.io/namespace: dev
@@ (root level) @@
# v1/Service/dev/honcho
! + one document added:
+ apiVersion: v1
+ kind: Service
+ metadata:
+ name: honcho
+ namespace: dev
+ labels:
+ app.kubernetes.io/instance: honcho
+ app.kubernetes.io/managed-by: Helm
+ app.kubernetes.io/name: honcho
+ app.kubernetes.io/service: honcho
+ helm.toolkit.fluxcd.io/name: honcho
+ helm.toolkit.fluxcd.io/namespace: dev
+ spec:
+ type: ClusterIP
+ selector:
+ app.kubernetes.io/controller: honcho
+ app.kubernetes.io/instance: honcho
+ app.kubernetes.io/name: honcho
+ ports:
+ - name: http
+ port: 8000
+ protocol: TCP
+ targetPort: 8000
@@ (root level) @@
# apps/v1/Deployment/dev/honcho
! + one document added:
+ apiVersion: apps/v1
+ kind: Deployment
+ metadata:
+ name: honcho
+ namespace: dev
+ annotations:
+ reloader.stakater.com/auto: "true"
+ labels:
+ app.kubernetes.io/controller: honcho
+ app.kubernetes.io/instance: honcho
+ app.kubernetes.io/managed-by: Helm
+ app.kubernetes.io/name: honcho
+ helm.toolkit.fluxcd.io/name: honcho
+ helm.toolkit.fluxcd.io/namespace: dev
+ spec:
+ replicas: 1
+ revisionHistoryLimit: 3
+ selector:
+ matchLabels:
+ app.kubernetes.io/controller: honcho
+ app.kubernetes.io/instance: honcho
+ app.kubernetes.io/name: honcho
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ labels:
+ app.kubernetes.io/controller: honcho
+ app.kubernetes.io/instance: honcho
+ app.kubernetes.io/name: honcho
+ spec:
+ automountServiceAccountToken: false
+ containers:
+ - name: api
+ image: "ghcr.io/plastic-labs/honcho:v3.6.2@sha256:3860692fb036b2453a2c14e2cee02ce57170b4e58d95250b73fddf956a2747c5"
+ command:
+ - /app/.venv/bin/fastapi
+ - run
+ - "--host"
+ - "0.0.0.0"
+ - src/main.py
+ livenessProbe:
+ httpGet:
+ path: /health
+ port: 8000
+ readinessProbe:
+ httpGet:
+ path: /health
+ port: 8000
+ resources:
+ limits:
+ memory: 1Gi
+ requests:
+ cpu: 50m
+ memory: 256Mi
+ startupProbe:
+ failureThreshold: 30
+ httpGet:
+ path: /health
+ port: 8000
+ periodSeconds: 5
+ securityContext:
+ allowPrivilegeEscalation: false
+ capabilities:
+ drop:
+ - ALL
+ runAsNonRoot: true
+ runAsUser: 999
+ seccompProfile:
+ type: RuntimeDefault
+ env:
+ - name: AUTH_JWT_SECRET
+ valueFrom:
+ secretKeyRef:
+ name: honcho
+ key: AUTH_JWT_SECRET
+ - name: AUTH_USE_AUTH
+ value: "true"
+ - name: CACHE_ENABLED
+ value: "false"
+ - name: DB_CONNECTION_URI
+ valueFrom:
+ secretKeyRef:
+ name: honcho-db-owner
+ key: DB_CONNECTION_URI
+ - name: DERIVER_MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DIALECTIC_LEVELS__high__MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DIALECTIC_LEVELS__low__MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DIALECTIC_LEVELS__max__MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DIALECTIC_LEVELS__medium__MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DIALECTIC_LEVELS__minimal__MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DREAM_DEDUCTION_MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DREAM_INDUCTION_MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: EMBEDDING_MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: LLM_OPENAI_API_KEY
+ valueFrom:
+ secretKeyRef:
+ name: honcho
+ key: LLM_OPENAI_API_KEY
+ - name: SUMMARY_MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: TELEMETRY_ENABLED
+ value: "false"
+ - name: deriver
+ image: "ghcr.io/plastic-labs/honcho:v3.6.2@sha256:3860692fb036b2453a2c14e2cee02ce57170b4e58d95250b73fddf956a2747c5"
+ command:
+ - /app/.venv/bin/python
+ - "-m"
+ - src.deriver
+ resources:
+ limits:
+ memory: 1Gi
+ requests:
+ cpu: 50m
+ memory: 256Mi
+ securityContext:
+ allowPrivilegeEscalation: false
+ capabilities:
+ drop:
+ - ALL
+ runAsNonRoot: true
+ runAsUser: 999
+ seccompProfile:
+ type: RuntimeDefault
+ env:
+ - name: CACHE_ENABLED
+ value: "false"
+ - name: DB_CONNECTION_URI
+ valueFrom:
+ secretKeyRef:
+ name: honcho-db-owner
+ key: DB_CONNECTION_URI
+ - name: DERIVER_MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DIALECTIC_LEVELS__high__MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DIALECTIC_LEVELS__low__MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DIALECTIC_LEVELS__max__MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DIALECTIC_LEVELS__medium__MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DIALECTIC_LEVELS__minimal__MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DREAM_DEDUCTION_MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: DREAM_INDUCTION_MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: EMBEDDING_MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: LLM_OPENAI_API_KEY
+ valueFrom:
+ secretKeyRef:
+ name: honcho
+ key: LLM_OPENAI_API_KEY
+ - name: SUMMARY_MODEL_CONFIG__OVERRIDES__BASE_URL
+ value: "http://litellm:4000/v1"
+ - name: TELEMETRY_ENABLED
+ value: "false"
+ dnsPolicy: ClusterFirst
+ enableServiceLinks: false
+ hostIPC: false
+ hostNetwork: false
+ hostPID: false
+ initContainers:
+ - name: migrate
+ image: "ghcr.io/plastic-labs/honcho:v3.6.2@sha256:3860692fb036b2453a2c14e2cee02ce57170b4e58d95250b73fddf956a2747c5"
+ command:
+ - /app/.venv/bin/python
+ - scripts/provision_db.py
+ resources:
+ limits:
+ memory: 1Gi
+ requests:
+ cpu: 50m
+ memory: 256Mi
+ securityContext:
+ allowPrivilegeEscalation: false
+ capabilities:
+ drop:
+ - ALL
+ runAsNonRoot: true
+ runAsUser: 999
+ seccompProfile:
+ type: RuntimeDefault
+ env:
+ - name: DB_CONNECTION_URI
+ valueFrom:
+ secretKeyRef:
+ name: honcho-db-owner
+ key: DB_CONNECTION_URI
+ serviceAccountName: honcho
|
| spec: | ||
| targetNamespace: dev | ||
| path: ./kubernetes/apps/dev/honcho/db | ||
| prune: true |
There was a problem hiding this comment.
🔴 Git rollback erases Honcho memories
Reverting the deployment removes honcho-db and makes Flux prune its PostgreSQL cluster. CloudNativePG owns both volume claims through that cluster, and OpenEBS deletes the volumes when the claims disappear.
Learn more
The cluster-apps Kustomization prunes child Kustomizations removed from Git. Flux defaults to MirrorPrune, so deleting the database Kustomization also deletes the PostgreSQL cluster. CloudNativePG sets that cluster as the owner of both persistent volume claims. The OpenEBS hostpath class uses the pinned chart’s default Delete reclaim policy, so removing those claims deletes both copies. The rollback runbook calls for preserving the volumes, and no off-cluster backups are configured.
Example: After clients store conversations, an operator reverts the deployment commit to stop Honcho. Flux removes the database as well as the app, so reapplying the commit creates an empty database.
Recommended fix: Disable pruning for the database Kustomization so reverting the app deployment leaves the database and its credentials intact. Keep pruning enabled for the stateless app.
| prune: true | |
| prune: false |
Was this helpful? React with 👍 or 👎 to provide feedback.
| ## Verify a rollout | ||
|
|
||
| Check the `honcho-db` Cluster is Ready and the `honcho` Deployment has both | ||
| containers ready. Use a synthetic workspace to check scoped JWT access, message | ||
| ingestion, semantic search and chat. Confirm unauthenticated and wrong-workspace | ||
| requests return HTTP 401. Check that a labelled pod can reach the API and an |
There was a problem hiding this comment.
🔍 Rollout verification lacks recorded commands
The PR reports Docker Desktop results without the commands required by the verification rules. Record the local checks and list the Cilium policy checks that remain for rollout.
Was this helpful? React with 👍 or 👎 to provide feedback.
| "honcho": { | ||
| "key_alias": "honcho", | ||
| "models": [ | ||
| "gpt-5.4-mini", | ||
| "text-embedding-3-small" | ||
| ], | ||
| "object_permission": { | ||
| "mcp_servers": [] | ||
| } |
There was a problem hiding this comment.
🔍 Gateway key registration happens outside Flux
The gateway overlay does not load this policy. The runbook can make key registration explicit before operators store the credential in 1Password.
Was this helpful? React with 👍 or 👎 to provide feedback.
Adds a private Honcho API and memory worker to home-ops. CloudNativePG stores messages and vectors in a dedicated PostgreSQL cluster, and both inference workloads use the existing LiteLLM gateway.
Docker Desktop exercised JWT access, synthetic inference through LiteLLM, and persistence after restarting Honcho and PostgreSQL. Production model calls remain part of the rollout. Off-cluster database backups are outside this change.