Comments (3)
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.
Related:
kubernetes-sigs/metrics-server#281
from kubernetes-the-right-way.
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)
- All nodes but the first one gets "unauthorized" HOT 1
- Pod networking HOT 17
- /etc/resolv.conf HOT 2
- Pod security policies HOT 2
- Configurable options to API server HOT 5
- Kubernetes v1.14 HOT 1
- Ansible variable for keys check HOT 2
- Adding/removing etcd nodes HOT 2
- Prometheus metrics for Kubernetes components HOT 5
- Metrics for containerd HOT 1
- Ansible deprecation warnings in tests
- Bump Kubernetes version to v1.14.4
- Configurable expire dates on certificates HOT 1
- Service cluster IP range/CIDR HOT 3
- Custom parameters to all components HOT 1
- Unwanted changes when running playbook HOT 1
- Downtime during upgrades HOT 16
- Additional node tools HOT 1
- Permissions on config directories HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes-the-right-way.