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
Unable to install in MicroK8s/Kubernetes 1.18: unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1" #11
Comments
I have the same issue here. It looks like this helm chart is using old chart versions of ElasticSearch and Postgres. I had to manually download the chart ( I also had to update the values once the newer ElasticSearch chart was pulled in:
|
Unfortunately FusionAuth only officially supports this old version of ES - FusionAuth/fusionauth-issues#199 Once that ticket is complete we can update the version pulled into this chart. As far as the lock goes, that probably shouldn't be committed to this repo. |
The ElasticSearch chart version supports 6.8.x versions though: https://github.com/elastic/helm-charts/tree/master/elasticsearch#compatibility Can FusionAuth use the updated Helm charts from ElasticSearch but just use the 6.x image tag? The issue is that the older Helm charts are not compatible with Kubernetes 1.18.x |
@drpebcak By "wontfix" does this mean the helm chart is unusable in currently? If this issue will be resolved in the future I think it should stay open? |
I personally do not recommend using the embedded dependencies. I think best practice would be setting elasticsearch and postgresql externally, using something like the elasticsearch operator and the postgresql helm chart (or even something external like RDS) yourself so that you can control the persistent layer outside of the essentially stateless fusionauth app. I think that having the dependencies embedded is not something we should try to maintain longterm, and so the end goal will be to remove those external charts instead of trying to keep them updated all the time. |
If you deploy your own elasticsearch and postgresql, this chart works on 1.18 by the way. It's just those external deps that don't. |
@drpebcak I agree with you on this on the long term. PostgreSQL and Elasticsearch will be moved into README/docs that quickly review how to install their respective charts, with links to their own chart documentation (for Elasticsearch specifically, a link/nod to Elastic Cloud will make Elastic happier). Then we describe how to configure fusionauth chart with required URI/credentials for these external dependencies. |
@drpebcak is there README/docs on how to use this chart without "including" PostgreSQL/Elasticsearch? |
The values.yaml vaguely describes it: If you think that could be expanded upon, I would welcome the PR. |
I am totally for not including dependencies with the chart, but I was pointing out that since the current version of the Helm chart does include the dependencies and specifies the version for those dependencies, it may be beneficial to update the lock file so that they match. |
Removing the dependencies has actually already been done in master now, it just hasn't been released quite yet. I'm going to release 0.4.0 in the next day or so which will contain that. |
Seems to be caused by newer Kubernetes (1.18) not accepting resource versions
apps/v1beta1
andapps/v1beta2
.The text was updated successfully, but these errors were encountered: