-
Notifications
You must be signed in to change notification settings - Fork 532
How to upgrade kubefed v0.3.0 to v0.6.0 #1333
Comments
@yuswift: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
After I executed |
I tried the upgrade again using the following command: |
Facing the same problem upgrading from 0.4.0 to 0.6.0. I did workaround the problem to perform helm upgrade in one shot without rollback, but by updating the webhook image to 0.6.0 and then upgrading to 0.6.0. |
Following, same problem |
I'll test it myself and investigate the issue. But |
I believe we need to add a test to validate the upgrade path in the future. |
I did try to enable the feature flag, while upgrading. |
But it's happening even without enabling the feature flag (always upgrade path) |
|
Hi Yuswift, thank you for your reply. What I did was: That said, could you please expand a bit on your suggestion? To which version are you suggesting to downgrade? I might try to add more context here: |
The reason I upgraded to v0.6.0 was to try out the remote status collection feature. I just downgraded to the original v0.3.0 version I used. If you are not interested in the features after v0.4.0, I suggest you downgrading to v0.4.0 for safety. For more features, please take a look at the release page. |
I am gonna work on this issue regarding the upgrading path today. I'll share whatever I discover or the PR with the bugfixes. |
Oh, I see.. I also need the new feature, of course. |
@hectorj2f I looked at the changes webhook component had between 0.4.0 and 0.6.0, and there not many changes, so I upgraded the webhook deployment to |
Alright! I managed to reproduce the error mentioned in the thread. So I got a working upgrade from v0.5.0 to v0.6.0 after adding some helm hooks to the resources. Note that I am using all the time Helm v3. |
/kind support
Kubefed v0.3.0 was installed by helm2, now v0.6.0 is installed by helm3. According to the READEME, it's recommended to use helm 2to3, but the command didn't work and I got errors(kubefed-admission-webhook pod) as follows:
E1229 06:20:55.428412 1 controller.go:267] Could not update status fields of the CRD: "kube-federation-system/namespaces": Internal error occurred: failed calling webhook "federatedtypeconfigs.core.kubefed.io": Post https://kubefed-admission-webhook.kube-federation-system.svc:443/apis/validation.core.kubefed.io/v1beta1/federatedtypeconfigs?timeout=30s: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubefed-admission-webhook-ca")
It seems that there are some problems with tls. The value of the kubefed-admission-webhook-serving-cert secret didn't change. Why would I get the error? Thanks, guys.
The text was updated successfully, but these errors were encountered: