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

problem of compatibility with kubernetes on premise 1.23.x-1.30.X #8728

Open
Beafowl-Pull opened this issue Nov 29, 2024 · 1 comment
Open

Comments

@Beafowl-Pull
Copy link

Beafowl-Pull commented Nov 29, 2024

Hi,
There is some problem with the compatibility for kubernetes on premise 1.23 and later.
First things first, kuberhealthy is not compatible for kubernetes after the version 1.22 due to: "apiVersion: apiextensions.k8s.io/v1beta1".
When i try to remove the kuberhealthy from helmfile.yaml i've this problem:

resource mapping not found for name: "jx-bot-token" namespace: "jx" from "config-root/namespaces/jx/jx-kh-check-health-checks-jx/jx-bot-token-kuberhealthycheck.yaml": no matches for kind "KuberhealthyCheck" in version "comcast.github.io/v1"
ensure CRDs are installed first
resource mapping not found for name: "jx-webhook-events" namespace: "jx" from "config-root/namespaces/jx/jx-kh-check-health-checks-jx/jx-webhook-events-kuberhealthycheck.yaml": no matches for kind "KuberhealthyCheck" in version "comcast.github.io/v1"
ensure CRDs are installed first
resource mapping not found for name: "jx-webhook" namespace: "jx" from "config-root/namespaces/jx/jx-kh-check-health-checks-jx/jx-webhook-kuberhealthycheck.yaml": no matches for kind "KuberhealthyCheck" in version "comcast.github.io/v1"
ensure CRDs are installed first
make[1]: *** [versionStream/src/Makefile.mk:324: kubectl-apply] Error 1
make[1]: Leaving directory '/workspace/source'
error: failed to regenerate: failed to regenerate phase 1: failed to run 'make regen-phase-1 NEW_CLUSTER=false' command in directory '.', output: ''
make: *** [versionStream/src/Makefile.mk:269: regen-check] Error 1

I've tryed to search for solution, but didn't find anything...
I've probably to remove anything else in the repo jx3-gitops-repositories/jx3-kubernetes but i don't know what

@msvticket
Copy link
Member

Yeah, you would need to remove the jx-kh-check release from helmfiles/jx/helmfile.yaml as well. A PR for jx3-gitops-repositories/jx3-kubernetes is welcome. You can ask me to review with /cc msvticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants