In order to test JenkinX which is only compatible with kubernetes 1.21 series[1], the intership cluster must be downgraded to 1.21 (currently deployed in 1.22.9)
Description
Description
Revisions and Commits
Revisions and Commits
Event Timeline
Comment Actions
The error when we try to declare a resource in 1.22:
unable to recognize "config-root/customresourcedefinitions/kuberhealthy/kuberhealthy/khchecks.comcast.github.io-crd.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" unable to recognize "config-root/customresourcedefinitions/kuberhealthy/kuberhealthy/khjobs.comcast.github.io-crd.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" unable to recognize "config-root/customresourcedefinitions/kuberhealthy/kuberhealthy/khstates.comcast.github.io-crd.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" make[1]: *** [versionStream/src/Makefile.mk:289: kubectl-apply] Error 1
Seems related to https://github.com/jenkins-x/jx/issues/7998
Comment Actions
- Following this page to cleanup all the current resources on rancher-node-intership[0-2]: https://rancher.com/docs/rancher/v2.5/en/cluster-admin/cleaning-cluster-nodes/
- restart the nodes
- Delete the deployment-intership cluster in rancher
- Add the desire kubernetes version in terraform
- Apply
- launch the docker command to register the nodes in each node