Giter Club home page Giter Club logo

Comments (10)

jonkerj avatar jonkerj commented on August 21, 2024 1

Your suggested workaround seems to work, tnx!

from kube-vip.

thebsdbox avatar thebsdbox commented on August 21, 2024

Hi, So what is happening here is that the admin.conf isn't being passed to the configuration ->

https://kube-vip.io/control-plane/#generate-the-manifest
has the steps for generating a daemonset manifest, looking at your configuration, the following should generate what you need -> curl -sL kube-vip.io/k3s | vipAddress=10.8.95.3 vipInterface=eth0 sh you'll need to edit the volumes.hostPath.path to match where there kubernetes configuration will be generated.

from kube-vip.

jonkerj avatar jonkerj commented on August 21, 2024

Thanks for the quick reply! I know the admin.conf is not getting passed, it is precisely what I want. In my cluster (being Talos) this file is not present on the nodes (and its best practise to use in-cluster client from within the cluster).

So, since there is code and a flag for using in-cluster config, can you tell me how I do that?

from kube-vip.

thebsdbox avatar thebsdbox commented on August 21, 2024

Ah ok! that's good to know. Then this must be a bug! the inCluster is a flag not an environment variable.. so you'll need to add it to the command.

- /kube-vip
- start
- --inCluster

off the top of my head :)

from kube-vip.

thebsdbox avatar thebsdbox commented on August 21, 2024

Awesomesauce.. i'll leave this open to track the issue for now :-) (any other feedback is totally welcome)

from kube-vip.

thebsdbox avatar thebsdbox commented on August 21, 2024

This has all been addressed now in a newer release

from kube-vip.

anthr76 avatar anthr76 commented on August 21, 2024

@jonkerj I'm working to get kube-vip working in talos but not sure how to get logs if my control-plane is unavailble. Do you have any ideas where to look?

from kube-vip.

thebsdbox avatar thebsdbox commented on August 21, 2024

You can inspect the containers with docker/containerd?

from kube-vip.

anthr76 avatar anthr76 commented on August 21, 2024

Okay, that's a good sign the static pod never ran. talosctl containers doesn't show it

from kube-vip.

jonkerj avatar jonkerj commented on August 21, 2024

Hi @anthr76, as of Talos 0.9 one can have Talos do vip (they actually include kube-vip), which made this approach a bit obsolte for me. You probably want to use talosctl containers -k and talosctl logs -k to debug your static pods.

from kube-vip.

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.