Giter Club home page Giter Club logo

Comments (5)

bpasson avatar bpasson commented on July 17, 2024

I see there is code in the controller to make this work, but for some reason the ip does not get assigned. Investigating further.

from hcloud-cloud-controller-manager.

bpasson avatar bpasson commented on July 17, 2024

Further investigation made clear there seemed to be connection issues with the api-server from pods on the hostnetwork. To get around that I placed the cloud controller on the master node, as the API server is there. This resolved the connection issues. Now the nodes get 2 ips.

Still the question remains how the get the nodes to have only assigned an internal IP?

from hcloud-cloud-controller-manager.

LKaemmerling avatar LKaemmerling commented on July 17, 2024

Do you use the Cloud Controller with private network support? Then the Node should always get its private IP, otherwise, we don't set a private IP

https://github.com/hetznercloud/hcloud-cloud-controller-manager/blob/master/hcloud/instances.go#L154

from hcloud-cloud-controller-manager.

bpasson avatar bpasson commented on July 17, 2024

They have the private IP, but also the public IP. If the public IP is not used for anything that is fine, else I'd like to have only a private IP. Not sure what the external IP is used for.

from hcloud-cloud-controller-manager.

bpasson avatar bpasson commented on July 17, 2024

Closing this issue, as the way it works is how it is specified by the cloud controller spec from Kubernetes.

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.