keephq / helm-charts

Charts for Keep https://github.com/keephq/keep
MIT License
7 stars 10 forks source link

[FEAT]: Keep HelmChart 0.1.14 #46

Closed bimax closed 1 month ago

bimax commented 1 month ago

Description

Struggling to run keep application in the k8s cluster.

Values file description is limited so I can't get sense of what should be configured. Extra confusion I am getting from the readme: https://github.com/keephq/helm-charts/blob/main/README.md In Configuration section I can see usage for frontend.publicApiUrl and frontend.internalApiUrl but I can't see this values in any of helm templates.

Also there is different port-forwarding configuration in the README of a chart and in documentation kubernetes so which ports have to be forwarded?

Additional Information

My current values looks like:

    namespace: mmaximov-dev
    backend:
      waitForDatabase: false
      env:
      - name: DATABASE_CONNECTION_STRING
        value: mysql+pymysql://dashboard_rw:[********]@ams-vm40.hostname.net:3306/alerts_dashboard
      - name: PUSHER_HOST
        value: dev-keep-websocket.mmaximov-dev.svc.ams-eng-prod.local
      healthCheck:
        enabled: true
      resources:
        requests:
          cpu: 200m
          memory: 500Mi
        limits:
          cpu: '1'
          memory: 3Gi
      healthCheck:
        enabled: true
      ingress:
        className: haproxy
    frontend:
      publicApiUrl:
      internalApiUrl: http://dev-keep-backend:8080
      env:
      - name: API_URL
        value: http://dev-keep-backend:8080
      - name: PUSHER_HOST
        value: dev-keep-websocket.mmaximov-dev.svc.ams-eng-prod.local
      ingress:
        className: haproxy-rfissl
      resources:
        requests:
          cpu: 200m
          memory: 500Mi
        limits:
          cpu: '1'
          memory: 3Gi
    database:
      enabled: false
shahargl commented 1 month ago

hey @bimax, thanks for opening it! I'll look into it right now. meanwhile, can I ask you to hop into our slack so I can help quickly?

shahargl commented 1 month ago

Ok meanwhile I'll try to answer

In Configuration section I can see usage for frontend.publicApiUrl and frontend.internalApiUrl but I can't see this values in any of helm templates.

its redundant. until few versions ago it was needed, I'll fix documentation.

so which ports have to be forwarded?

the only port is required is 3000 (for the UI). 6001 is optional. I'll update that too.

shahargl commented 1 month ago

@bimax fixed docs with this https://github.com/keephq/helm-charts/pull/47 you can see the actual config values here: - https://github.com/keephq/helm-charts/blob/main/charts/keep/README.md

shahargl commented 1 month ago

also official docs fixed! thanks! https://github.com/keephq/keep/pull/2055

bimax commented 1 month ago

Hi @shahargl , thanks for your quick reply. I am in slack, but I have no idea what is keephq slack workspace. How can I find you?

talboren commented 1 month ago

Hi @shahargl , thanks for your quick reply. I am in slack, but I have no idea what is keephq slack workspace. How can I find you?

https://slack.keephq.dev :)

shahargl commented 1 month ago

@bimax closing it since we are already collaborating on Slack

bimax commented 1 month ago

Thanks!