Giter Club home page Giter Club logo

Comments (4)

LKaemmerling avatar LKaemmerling commented on August 16, 2024
E0629 21:31:21.959360       1 controller.go:244] error processing service default/ingress-nginx-controller (will retry): failed to ensure load balancer: hcloud/loadBalancers.EnsureLoadBalancer: hcops/LoadBalancerOps.ReconcileHCLBTargets: hcops/providerIDToServerID: missing prefix hcloud://: 

Indicated that you missed initializing the cluster with :

[Service]
Environment="KUBELET_EXTRA_ARGS=--cloud-provider=external"

(Step 1 from the Deployment in the Readme Section: https://github.com/hetznercloud/hcloud-cloud-controller-manager)

from hcloud-cloud-controller-manager.

mohsinhijazee avatar mohsinhijazee commented on August 16, 2024

That's right but later, kubelet was restarted on all nodes with --cloud-provider=external flag as can be seen here:

root      4423  4.4  2.4 1345284 97884 ?       Ssl  Jun29  25:40 /usr/local/bin/kubelet --logtostderr=true --v=2 --node-ip=172.16.0.2 --hostname-override=kubernetes-master --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --config=/etc/kubernetes/kubelet-config.yaml --kubeconfig=/etc/kubernetes/kubelet.conf --pod-infra-container-image=k8s.gcr.io/pause:3.1 --runtime-cgroups=/systemd/system.slice --cloud-provider=external --network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin

that should work or the whole cluster must be reprovisioned?

from hcloud-cloud-controller-manager.

LKaemmerling avatar LKaemmerling commented on August 16, 2024

The whole cluster needs to be reprovisioned, or just rejoin every node.

from hcloud-cloud-controller-manager.

mohsinhijazee avatar mohsinhijazee commented on August 16, 2024

Okay, I reprovisioned the cluster and it works alright. Thank you for your help!

from hcloud-cloud-controller-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.