-
Notifications
You must be signed in to change notification settings - Fork 413
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
capz-controller-manager fails to get api resources #4131
Comments
Does this error persist if you uninstall CAPI/CAPZ and reinstall it? are all the pods healthy on the management cluster besides the CAPZ manager? I've seen this error happen transiently once in a test when cert-manager was not running |
I'm running into something similar, but not sure it's the same bug.
|
@bryan-cox same questions as above Also found this from a quick search helm/helm#6361 (comment) Can you check |
I'll run that command and see. I had deleted the pod but didn't try a new cluster or something like that. |
Ran that command on my mgmt cluster this morning. I didn't have any |
For me, specifically specifying the bootstrap / control plane providers fixed the issue. # This caused the issue mentioned above
clusterctl init -b talos -c talos -i sidero
clusterctl init -i azure
# This works fine
clusterctl init -b talos -c talos -i sidero
clusterctl init -i azure -b kubeadm -c kubeadm |
I got past my issue. It was a setup issue. I needed to set the |
Thanks for coming back here and letting us know what fixed it! Going to close this for now since you're both unblocked, feel free to open follow up issues for anything that could have made this easier to debug. /close |
@CecileRobertMichon: Closing this issue. 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. |
/kind bug
[Before submitting an issue, have you checked the Troubleshooting Guide?]
What steps did you take and what happened:
I installed the ClusterAPI provider for Azure. The
capz-controller-manager
is in a crashloop because of the following logs:What did you expect to happen:
I expected the controller to be able to interact with the mentioned api resources.
Anything else you would like to add:
I have the Sidero ClusterAPI provider installed aswell, which also has a bootstrap.cluster.x-k8s.io/v1alpha3 apiGroup.
Environment:
kubectl version
): 1.27.6/etc/os-release
): Ubuntu 22.04.3 LTSThe text was updated successfully, but these errors were encountered: