Skip to content
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

Support kubernetes 1.22 #8032

Closed
ankitm123 opened this issue Jan 2, 2022 · 8 comments
Closed

Support kubernetes 1.22 #8032

ankitm123 opened this issue Jan 2, 2022 · 8 comments
Assignees
Labels
area/kubernetes Issues related to Kubernetes dependencies priority/critical

Comments

@ankitm123
Copy link
Member

No description provided.

@ankitm123 ankitm123 self-assigned this Jan 2, 2022
@ankitm123
Copy link
Member Author

/unassign

@ankitm123
Copy link
Member Author

/assign

@ankitm123 ankitm123 added area/kubernetes Issues related to Kubernetes dependencies priority/critical labels Jan 5, 2022
@msvticket
Copy link
Contributor

msvticket commented Jan 27, 2022

How about listing the various issues and PRs relating to this in the various Jenkins-X repos here, to get an overview and ease cooperation? I'll could start:

jenkins-x/lighthouse#1413

@gerrywastaken
Copy link

Could it be made very clear in the docs what version of Kubernetes is supported? From reading other issues it seems most testing was done on 1.21, but I wouldn't know this by looking at the docs:
e.g. https://jenkins-x.io/v3/admin/platforms/on-premises/#prerequisites

@ankitm123
Copy link
Member Author

ankitm123 commented Mar 15, 2022

We are close to supporting kubernetes 1.22 fully. A handful PRs remain to be merged, we will get them merged tomorrow.
For now to make it work with kubernetes 1.22, update the tekton and nginx helm charts in the cluster git repo.

  • Change the version to 4.0.17 here
  • Change the version to 0.29.0 here

You may need to update the certmanager chart version to 1.7.1 here

It would be good if someone does a test, and gives some feedback (I did a test on a local k3s cluster, and the boot job worked, but I will test beyond that today)

Could it be made very clear in the docs what version of Kubernetes is supported?

Yes, we will add it to the docs to make it clear for the end user.

@ankitm123
Copy link
Member Author

ankitm123 commented May 3, 2022

Version stream 0.3.15+ supports kubernetes 1.22 (https://github.com/jenkins-x/jx3-versions/releases).
To get this, upgrade ur jx cli to the latest version using jx upgrade cli (https://jenkins-x.io/v3/admin/setup/jx3/) and then run jx gitops upgrade to update the cluster git repository (https://jenkins-x.io/v3/admin/setup/upgrades/cluster/#manual-upgrades).

Also follow this blog post for breaking changes in tekton: https://jenkins-x.io/blog/2022/04/22/kubernetes-1.22-tekton/

You may or may not need to run this:

k delete job ingress-nginx-admission-patch ingress-nginx-admission-create -n nginx

Run it only if the boot job fails with error related to admission patch and create.

@ankitm123
Copy link
Member Author

Also, we are working on adding tests which runs on different kubernetes versions, so we can have a compatibility matrix for every new jx3 version released. Atm, we run tests only in one kubernetes version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes Issues related to Kubernetes dependencies priority/critical
Projects
None yet
Development

No branches or pull requests

4 participants