You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to use kubectl apply, not something like kubectl edit, to change the APIVersion of a resource.
If you try to use kubectl edit, it says:
k edit managedclusters samplemanagedcluster202221
A copy of your changes has been stored to "/tmp/kubectl-edit-1724071947.yaml"
error: At least one of apiVersion, kind and name was changed
The text was updated successfully, but these errors were encountered:
You need to use kubectl apply, not something like kubectl edit, to change the APIVersion of a resource.
If you try to use kubectl edit, it says:
The text was updated successfully, but these errors were encountered: