Code Monkey home page Code Monkey logo

Comments (3)

amimof avatar amimof commented on July 21, 2024 1

I feel that I need to do some research and testing to understand this completely. But I agree that running kube-proxy on the apiserver feels strange. Feels that the implementation of metrics-server could be different.

from kubernetes-the-right-way.

anton-johansson avatar anton-johansson commented on July 21, 2024

Related:
kubernetes-sigs/metrics-server#281

from kubernetes-the-right-way.

anton-johansson avatar anton-johansson commented on July 21, 2024

I managed to get the metrics-server up and running. I got a bit of help in the avove issue.

Short summary: To use APIService extensions to the API server when you are not running kube-proxy on your master nodes, you must set the flag --enable-aggregator-routing=true on kube-apiserver. This effectively means that the API server won't use the service IP's to reach the APIService. It will instead use one of the endpoints of the service. Now, this won't work out of the box either, because the API server cannot reach Pod IP's either. But if you set metrics-server (or whatever extension you are adding) to use hostNetwork: true, it will work (of course with the downside of using hostNetwork, but I think I can live with that).

from kubernetes-the-right-way.

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.