-
Notifications
You must be signed in to change notification settings - Fork 146
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
Fluxcd addon upgrade issue from 1.3.5 to 2.1.0 #470
Comments
Have you updated all CRDs of KubeVela before upgrading vela-core? |
Yes, we have a dependency to update the CRD before updating vela-core. I have also attached the other versions root and v1 and v2 for the resourcetracker addon-fluxcd |
ping @Somefive , the resourceTrackers info are here, please help to check. |
And the ResourceTracker CRD is here: |
I can reproduce this issue using the Kind cluster. Here are the steps for reproducing the issue. Please let us know if you need more information. Kind cluster creation: Kubevela 1.4 install steps: Vela-cli version: 1.4.1 (https://kubevela.io/script/install.sh | bash -s 1.4.1)
Kuvbevela 1.5.4 upgrade steps:
|
I'm looking into this issue with highest priority. Maybe need several days to solve. |
While upgrading Fluxcd addon version from 1.3.5 to 2.1.0 (Kubevela version being updated from 1.4.1 to 1.5.4 as well), we see that some CRDs are getting deleted and recreated every few seconds in the reconciliation loop.
Vela CLI version - v1.5.4
Steps to reproduce:
Upgrade Kubevela version from 1.4.1 to 1.5.4
Upgrade addon fluxcd version from 1.3.5 to 2.1.0
Upgrade addon terraform from 1.0.9 to 1.0.13
Multicluster is not enabled in our case.
During upgrade, crds created by fluxcd are getting patched and deleted for eg. helmrepositories.source.toolkit.fluxcd.io, gitrepositories.source.toolkit.fluxcd.io
As a result, the addon terraform is stuck in enabling status because helm crd is not found.
Fluxcd is deleting existing crd of fluxcd.io and tries to recreate every interval. This is happening in a loop every few seconds.
Fluxcd addon application status shows running -
See below screenshot for resourcetrackers:
We tried only upgrading Kubevela version and kept fluxcd addon version same and that is working fine. We suspect there is some change in the new version on fluxcd which is recreating the crds.
Please see the vela core logs for more details:
kubevela-vela-core-logs.txt
The text was updated successfully, but these errors were encountered: