@ljlane@mendeni@joshlambert 1.16 is scheduled to be released here in September. We should probably include this update in our October release, so 12.4.
An example of the grace that @redbaron1 brings up: deploy the charts onto K8S v1.15, then helm get xx and compare the API versions represented. Most of the time, these are auto-upgraded. However, when v1.16 come out, some of the older APIs will be full deprecated, resulting in the loss of automatic translation and resulting failure.
AFAIK, it is safe to change apiVersion in charts, tiller won't recognise these as new resource and will simply submit any other changes, should there be any, using new apiVersion
Thong Kuahchanged title from Be ready for Kubernetes 1.16 apiversion deprecations to GitLab Helm chart is ready for Kubernetes 1.16 apiversion deprecations
changed title from Be ready for Kubernetes 1.16 apiversion deprecations to GitLab Helm chart is ready for Kubernetes 1.16 apiversion deprecations
Im having problem with this in my enviroment even when trying 2.3.3 or 2.3.4 is it not commited to master? =)
Error: validation failed: [unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2", unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2", unable to recognize "": no matches for kind "StatefulSet" in version "apps/v1beta2"]
For those waiting on this. While we have updated our own templates already, which will be included in the October 22nd release. Our dependencies like certmanager and postgres will take us more time to update, and will require a major chart release. We are hoping to have this fully complete for our November 22nd release.
We still need to complete our certmanager investigation, then actually schedule the work to do a major release of the chart. We are now expecting to complete this early in the new year.
We've completed the bulk of the research tasks for completing all the upgrades. And we have scheduled version 3.0 of our chart for January 22nd, aligned with GitLab 12.7
Upgrading to version 3 will require some manual steps for users on our included postgres database, and will only support upgrades from the 2.6 release chart (being released this weekend).
@renich It did install helm, and with that install the Ingress controller, but everything else failed afterward :
Jupyterhub
Gitlab Runner
Cert-Manager
Prometheus
All with pretty much the same kind of output :
+ helm init --upgradeCreating /root/.helm Creating /root/.helm/repository Creating /root/.helm/repository/cache Creating /root/.helm/repository/local Creating /root/.helm/plugins Creating /root/.helm/starters Creating /root/.helm/cache/archive Creating /root/.helm/repository/repositories.yaml Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com Adding local repo with URL: http://127.0.0.1:8879/charts $HELM_HOME has been configured at /root/.helm.Error: error installing: the server could not find the requested resource
My guess is that this is related to https://github.com/helm/helm/issues/6374. Essentially, from what I gather, everything helm-related is broken in kubernetes 1.16 until helm is updated, which is not the case yet.
@AlexandreOuellet What you're experiencing is with the Kubernetes integration features of gitlab/gitlab-foss, not with these GitLab helm charts. Please locate or open an issue within that project
Release "gitlab" does not exist. Installing it now.Error: validation failed: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"
james@server-01:~$ helm upgrade --install gitlab gitlab/gitlab --timeout 600 --set global.hosts.domain=foo.lan --set global.hosts.externalIP=69.6.6.35 --set certmanager-issuer.email=james@foo.com --set global.edition=ce --set certmanager.rbac.create=false --set nginx-ingress.rbac.createRole=false --set prometheus.rbac.create=false --set gitlab-runner.rbac.create=false...Error: validation failed: [unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"]
james@server-01:~$ kubectl logs -n kube-system tiller-deploy-684c9f98f5-fnngb -f...[tiller] 2019/11/07 19:55:00 performing install for gitlab[tiller] 2019/11/07 19:55:00 executing 8 crd-install hooks for gitlab[tiller] 2019/11/07 19:55:00 hooks complete for crd-install gitlab[tiller] 2019/11/07 19:55:01 failed install perform step: validation failed: [unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"]
What's requested for a fresh install until this is resolved? Thanks so much.
I don't think a deprecation notice in the docs makes any sense at the moment. There is nothing to deprecate. Perhaps a limitation, until such time as we have all components working with 1.16 our of the box (e.g. closing this issue).