cluster-api: UpdateClusterObjectEndpoint not work in clusterctl create cluster
When I using clusterctl create cluster
, got an error in update cluster object endpoint step. Here is the error message:
F1011 07:16:50.831072 10601 create_cluster.go:64] unable to update bootstrap cluster endpoint: unable to update cluster endpoint: the server could not find the requested resource (put clusters.cluster.k8s.io test1)
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
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (10 by maintainers)
Commits related to this issue
- Merge pull request #533 from ykakarap/manifests_generation_update Manifests generation update — committed to jayunit100/cluster-api by k8s-ci-robot 5 years ago
CRD subresources are available in 1.10, but only via enabling a feature gate. They are enabled by default from 1.11.
@randomvariable Hi, I think I found the root cause. Seems like k8s didn’t support crd subresources(status/scale) until 1.12, and clusterctl bootstrap cluster is in v1.10 by default. Don’t know whether other people also encountered this problem. https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#subresources