Closed MatthiasHertel closed 4 years ago
Hi there @MatthiasHertel . As far as I can tell, the issue is that you're using the latest
containers for all services, which are our development containers and are not compatible with the released chart. If I use the same chart that you have used, kubeapps-3.3.1
with the default values, it works as intended, because the released container images are used (rather than latest
):
$ helm -n kubeapps ls
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
kubeapps kubeapps 1 2020-02-17 01:07:36.353200498 +0000 UTC deployed kubeapps-3.3.1 v1.8.1
$ kubectl -n kubeapps get deployments -o=jsonpath='{range .items[*].spec.template.spec.c
ontainers[*]}{@.image}{"\n"}{end}'
docker.io/bitnami/nginx:1.16.1-debian-9-r52
docker.io/bitnami/oauth2-proxy:4.0.0-r92
docker.io/bitnami/kubeapps-apprepository-controller:1.8.1-scratch-r0
docker.io/bitnami/kubeapps-assetsvc:1.8.1-scratch-r0
docker.io/bitnami/kubeapps-dashboard:1.8.1-debian-10-r0
(Note, I'm using helm3, but that's not relevant here). You'll notice that the images used by the chart by default are all the bitnami ones (which have been released with the chart, eg bitnami/kubeapps-dashboard:1.8.1-debian-10-r0
etc.), not our development ones kubeapps/kubeapps-internal-dashboard:latest
which I'm guessing that you'll see based on your values.yaml.
If you redeploy after removing all the specific values that you've set above for the kubeapps images, it should just work. Let me know if that's not the case.
Also, I'm interested to know how you ended up using a values.yaml
with the development version of the images?
HTH!
As @absoludity mention, the images under the kubeapps/
registry are not meant to be used in production. Apart from that, another thing that can go wrong is the Ingress definition. Are you using the Ingress object generated by Kubeapps or a different one? Can you post the YAML of the ingress here?
@andresmgot @absoludity
it was exactly what u described ... the issue is solved ... it was my fail i used the values.yaml from master ...
for others this command prevent it:
helm inspect values bitnami/kubeapps > values.yaml
kind regards matthias
Thanks for getting back. Ah, so you grabbed the values.yaml from github and modified from there.
It might be worth thinking about whether this can be improved (as it's a natural thing to do, to grab them from github). For example, if the image values in the values.yaml
in master always have the latest release, while our dev setup updates to use latest
or custom built images. Thoughts @andresmgot ?
We could have two different files values.yaml
and values.dev.yaml
or something like that and update the values.yaml
manually when releasing a new version but that would be prompt to human errors when syncing or updating the values...
hi there,
i guess the main question is:
should a master always be runnable or not ?
if u follow the git-flow, it should. https://nvie.com/posts/a-successful-git-branching-model/#the-main-branches
for preventing users from fetching an unstable values.yaml from git (master-branch) ... a development values.yaml should never occur in the master branch , u should develop in a develop/feature branch.
kind regards matthias
A small clarification, master as you say should always work but this case was a bit different.
If you use the chart in this repo with the values here (e.g. helm install ./chart/kubeapps -f ./chart/kubeapps/values.yaml
) that will work. You would be using the "nightly" build though.
What it's not ensured to work is if you use the released chart (available here: https://github.com/bitnami/charts/tree/master/bitnami/kubeapps) with the values of this repo since you will be actually mixing two different charts with different templates.
Description:
I deployed kubeapps helmchart (helm version2) i "ingressed" the service via traefik (ingress.class=traefik). i can visit the kubeapps dashboard tls terminated by traefik - all is fine but i cannot visit the config/repos site. There is an weird react issue which i dont understand. (see screenshot). before that i could successfully deploy kubeapps with the described setting ... yesterday i purge the helm release and want redeploy but it does not work.
Steps to reproduce the issue:
i deployed kubeapps via helm2 with this (values.yaml see below):
Describe the results you received:
i can visit all sites but when i visit the config app repository site i get an something went wrong message.
Describe the results you expected:
i expect that i can visit the config/repo site (https://kubeapps-db.svc.domainname.com/#/config/repos) without any issue.
Additional information you deem important (e.g. issue happens only occasionally):
values.yaml
Version of Helm, Kubeapps and Kubernetes: