-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add metrics-server addon #4581
Add metrics-server addon #4581
Conversation
/assign @justinsb |
|
||
In order to deploy metrics-server in your cluster run the following command from | ||
the top-level directory of this repository: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@justinsb @chrislovecnm any concern with using directories for addon management vs single manifests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@robinpercy Oh, I see. Actually, I think single file would be best so that people aren't forced to clone the repo or somehow copy the folder. One file would be easier as you can kubectl apply
the raw github file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@robinpercy @chrislovecnm changed to single file in ae032eb.
/assign Thanks @itskingori! Looks, good. Just have the one question for Justin or Chris around the directory structure. |
Complements HPA documentation.
@robinpercy We need the addons file and it needs to be tested with channels. I am guessing that we need a single manifest, but again we need to test using the |
@chrislovecnm about #4581 (comment), do you have a reference PR I can look at to know how to do that? |
@itskingori how to test or the file layout? |
@chrislovecnm both, how to register it as an addon via the file (assuming that's what you meant) ... and to test. |
@itskingori https://github.com/kubernetes/kops/tree/master/addons/monitoring-standalone has a good layout of files, and you can build channels and I think it is Ping me or #kops-dev if you have more questions. |
Awesome - thank you @itskingori I'd like to get this in. We can also look at integrating it, but we're starting to lay the groundwork for adding arbitrary addons via a manifest (see AddonSpec at https://github.com/kubernetes/kops/blob/master/pkg/apis/kops/cluster.go#L51) so this might be a great way to install in that way! |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: itskingori, justinsb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/ok-to-test |
From the official core metrics pipeline docs:
The metrics server is not available in a Kubernetes cluster (unless it's been brought up by
kube-up.sh
and that's only 1.8+). So it's good to have it here. This complements HPA documentation that will be added by #3942.See kubernetes-sigs/metrics-server#32 also. It's not necessary for end user but useful for context around the compatibility matrix.