-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
UpdateClusterObjectEndpoint not work in clusterctl create cluster #533
Comments
Copying from slack... We had a similar problem where after the cluster gets pivoted, and we've not yet rebuilt the Have hacked around it in kubernetes-sigs/cluster-api-provider-aws#207, but we should make this retriable (and I think there was consensus on this in the meeting on 10/10/2018) |
@randomvariable Hi, I think I found the root cause. |
/assign |
@jessicaochen @roberthbailey Can you help me take a look, thanks. |
Strange. I didn't see this problem using the GCP provider (using minikube with a 1.10 bootstrap cluster). |
This is one of the places where I didn't swap in the dynamic client during the CRD migration. I'm curious if using the dynamic client helps here, or if the behavior would be the same as what you are seeing with the generated client. |
@roberthbailey Thanks for replaying, I was tested this problem by curl |
Hi, @roberthbailey , we now pretty sure openstack provider in 1.12 cluster will work well. Is this any other reason could lead to this problem? |
I've tested this with I'm not familiar with this part of the code/kubernetes but, is there a way we can workaround this without increasing the minimum required version? |
CRD subresources are available in 1.10, but only via enabling a feature gate. They are enabled by default from 1.11. |
@nikhita thanks for getting back to us. Would |
This + adding the An example CRD with those fields can be found here: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#subresources |
@nikhita Thanks a lot. 👍 |
As long as that flag is forward compatible, that's fine. I'll be updating the AWS docs to tell people to set minikube to launch with kubernetes version 1.12.x |
@Lion-Wei to be honest, I'd rather do what @randomvariable is going to do than enabling the feature on |
Looks like this is resolved by using minikube with k8s at 1.12. |
…tion_update Manifests generation update
When I using
clusterctl create cluster
, got an error in update cluster object endpoint step. Here is the error message:I'm sure this error occured in https://github.com/kubernetes-sigs/cluster-api/blob/master/cmd/clusterctl/clusterdeployer/clusterclient/clusterclient.go#L404.
There are high possibilities that this is provider side problem, but I can't find the root cause, I looking for help. Thanks a lot.
/kind bug
The text was updated successfully, but these errors were encountered: