Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when deploying chat-ui on k8s #1143

Open
xyxxxxx opened this issue May 15, 2024 · 1 comment
Open

Error when deploying chat-ui on k8s #1143

xyxxxxx opened this issue May 15, 2024 · 1 comment

Comments

@xyxxxxx
Copy link

xyxxxxx commented May 15, 2024

I tried to use the chart in the repo to deploy chat-ui in kubernetes, but encountered the following error:

NotFound [Error]: Not found: /healthcheck
    at resolve2 (file:///app/.svelte-kit/output/server/index.js:2812:18)
    at resolve (file:///app/.svelte-kit/output/server/index.js:2639:34)
    at Object.handle (file:///app/.svelte-kit/output/server/chunks/hooks.server.js:333:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async respond (file:///app/.svelte-kit/output/server/index.js:2637:22)
    at async file:///app/node_modules/@sveltejs/kit/src/exports/vite/preview/index.js:185:5 {
  status: 404
}

As a reference, the modified values.yaml is as follows:

image:
  repository: ghcr.io/huggingface
  name: chat-ui
  tag: 0.8.3
  pullPolicy: IfNotPresent

replicas: 1

domain: huggingface.co

service:
  type: NodePort
  annotations: { }

ingress:
  path: "/"
  annotations: { }

resources:
  requests:
    cpu: 2
    memory: 4Gi
  limits:
    cpu: 2
    memory: 4Gi
nodeSelector: {}
tolerations: []

envVars:
  MONGODB_URL: mongodb://mongo-mongodb.ns.svc.cluster.local
externalSecrets:
  enabled: false
  secretStoreName: ""
  secretName: ""
  parameters: { }

autoscaling:
  enabled: false
  minReplicas: 1
  maxReplicas: 2
  targetMemoryUtilizationPercentage: ""
  targetCPUUtilizationPercentage: ""

monitoring:
  enabled: false

the complete log:

app.log

@nsarrazin
Copy link
Collaborator

You need the healthcheck route, which has been added in version 0.8.4, could you try updating the version to see if it works ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants