-
Notifications
You must be signed in to change notification settings - Fork 4.7k
cloud-controller-manager - CrashLoopBackOff #17347
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
Comments
I am encountering this issue too with the following initial output pointing to a problem with the cloud-controller-manager as reported by @RizwanaVyoma :
|
Can you try setting this in the cluster spec and run spec:
cloudControllerManager:
image: gcr.io/k8s-staging-cloud-provider-gcp/cloud-controller-manager:v32.2.4 |
@rifelpet Yes, that works. Cluster validation now completes successfully. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using Kops on GCE cluster.
The recent cluster update automatically changed cloud-controller-manager image
Because of this newly updated image gcr.io/k8s-staging-cloud-provider-gcp/cloud-controller-manager:master@sha256:b3ac9d2d9cff8d736473ab0297c57dfb1924b50758e5cc75a80bacd9d6568f8a
cloud-controller-manager pod is crashed.
Log message in pod :
flag provided but not defined: -allocate-node-cidrs
Usage of /go-runner:
-also-stdout
useful with log-file, log to standard output as well as the log file
-log-file string
If non-empty, save stdout to this file
-redirect-stderr
treat stderr same as stdout (default true)
on checking the docker image
docker run --rm gcr.io/k8s-staging-cloud-provider-gcp/cloud-controller-manager:master@sha256:b3ac9d2d9cff8d736473ab0297c57dfb1924b50758e5cc75a80bacd9d6568f8a --help
did not list any of the below attributes which are in the cloud-controller-manager deamonset
- --allocate-node-cidrs=true
- --cidr-allocator-type=CloudAllocator
- --cluster-cidr=************
- --cluster-name=*************
- --controllers=*
- --leader-elect=true
- --v=2
- --cloud-provider=gce
- --use-service-account-credentials=true
- --cloud-config=/etc/kubernetes/cloud.config
Please let us know how to fix this issue. How to avoid this automatic version updates of images. This new image is breaking the cluster.
The text was updated successfully, but these errors were encountered: