-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 heapster alias to metrics-server addon #8455
Conversation
Hi @govargo. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: govargo The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/assign @sharifelgamal |
Can one of the admins verify this patch? |
Codecov Report
@@ Coverage Diff @@
## master #8455 +/- ##
==========================================
- Coverage 34.05% 34.04% -0.02%
==========================================
Files 153 153
Lines 9840 9849 +9
==========================================
+ Hits 3351 3353 +2
- Misses 6086 6092 +6
- Partials 403 404 +1
|
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.
@govargo thanks for this PR, there was an issue that "kubectl top" was not working because there was no heapster addon ....would the top command work with this alternative addon ?
cmd/minikube/cmd/config/disable.go
Outdated
@@ -33,6 +33,9 @@ var addonsDisableCmd = &cobra.Command{ | |||
} | |||
|
|||
addon := args[0] | |||
if addon == "heapster" { | |||
exit.WithCodeT(exit.Unavailable, "There is no heapster addon") |
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.
I would say since we automaticly select metric-server for them instead of heapster, we ask them to disable metric
how about this.
exit.WithCodeT(exit.Unavailable, "The heapster addon is deprecicated will try to disable metrics-server instead ")
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.
Thanks!
I changed to the following.
exit.WithCodeT(exit.Unavailable, "The heapster addon is depreciated. please try to disable metrics-server instead")
If any idea, please let me know.
Yes. If metrics-server is enabled in minikube, |
/ok-to-test |
kvm2 Driver |
What type of PR is this?
/kind bug
/area addons
What this PR does / why we need it:
This PR add heapster alias to metrics-server addon.
kubectl top
command needs heapster or metrics-server addon. But heapster is deprecated.By this PR, when users enable heapster addon, metrics-server addon will be enabled instead.
Which issue(s) this PR fixes:
Fix #8360
Does this PR introduce a user-facing change?
Yes. This PR add heapster addon alias.
Before this PR
After this PR
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: