grafana/flagger-k6-webhook

Error: `kubernetes client is not configured`

m-alexander-TSC opened this issue · 0 comments

Found that the environment variable KUBERNETES_CLIENT: in-cluster needs to be added to the k6-loadtester helmchart to get this to work. Seems that this should be default in the helm chart or documented in the README.

Without this env variable set the flagger logs show ... failed kubernetes client is not configured and k6-loadtester the logs now show, ... level=info msg="not creating a kubernetes client"