-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Allow to set the dashboard proxyfied port #11553
Conversation
Welcome @zigarn! |
Hi @zigarn. 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. |
Can one of the admins verify this patch? |
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.
ilyaz@skeletron --- g/minikube ‹dashboard-set-port* ?› » m dashboard --port 77777 130 ↵
* Enabling dashboard ...
- Using image kubernetesui/dashboard:v2.1.0
- Using image kubernetesui/metrics-scraper:v1.0.4
* Verifying dashboard health ...
* Launching proxy ...
X Exiting due to HOST_KUBECTL_PROXY: readByteWithTimeout: EOF
*
╭──────────────────────────────────────────────────────────────────────────────────╮
│ │
│ * If the above advice does not help, please let us know: │
│ https://github.com/kubernetes/minikube/issues/new/choose │
│ │
│ * Please attach the following file to the GitHub issue: │
│ * - /tmp/minikube_dashboard_b89fa4de843e548f653e88533f246d7844106df0_0.log │
│ │
╰──────────────────────────────────────────────────────────────────────────────────╯
Could you validate dashboardExposedPort
on start? Just to catch the error early and make a better error message
@ilya-zuyev: port range validation added. |
@zigarn yeah, you're right, would be good to have a better error handling for |
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube start: 49.5s 47.7s 46.9s 47.3s 47.6s Times for minikube ingress: 39.7s 36.3s 42.7s 35.7s 42.2s docker driver with docker runtime
Times for minikube ingress: 35.5s 31.5s 36.0s 33.6s 40.5s Times for minikube start: 23.5s 21.2s 20.6s 21.1s 21.8s docker driver with containerd runtime
Times for minikube start: 31.8s 47.0s 43.0s 42.6s 47.2s |
Hi! |
These are the flake rates of all failed tests on Docker_Linux.
|
kvm2 driver with docker runtime
Times for minikube start: 47.0s 45.3s 46.0s 45.7s 47.4s Times for minikube ingress: 35.2s 35.7s 35.2s 37.8s 34.3s docker driver with docker runtime
Times for minikube (PR 11553) ingress: 30.6s 33.5s 35.0s 32.5s 34.0s Times for minikube start: 22.2s 22.1s 21.9s 21.9s 21.0s docker driver with containerd runtime
Times for minikube start: 45.8s 46.7s 43.6s 47.8s 47.1s |
These are the flake rates of all failed tests on KVM_Linux_containerd.
|
/assign @spowelljr |
kvm2 driver with docker runtime
Times for minikube start: 48.6s 47.9s 47.8s 47.1s 47.1s Times for minikube ingress: 35.3s 36.2s 34.8s 34.3s 34.2s docker driver with docker runtime
Times for minikube ingress: 29.0s 91.6s 28.0s 36.5s 32.5s Times for minikube start: 23.1s 21.5s 21.1s 21.5s 21.9s docker driver with containerd runtime
Times for minikube start: 31.5s 42.8s 43.2s 41.7s 43.8s |
These are the flake rates of all failed tests on KVM_Linux_containerd.
|
@zigarn Sorry for the delay, just tested it and it works great!
Once that's added I'd be happy to merge this! |
kvm2 driver with docker runtime
Times for minikube start: 47.8s 48.9s 47.5s 47.4s 46.1s Times for minikube ingress: 37.3s 35.2s 34.8s 33.7s 35.8s docker driver with docker runtime
Times for minikube start: 23.1s 21.6s 21.0s 21.2s 21.5s Times for minikube ingress: 31.0s 37.5s 33.5s 40.5s 38.0s docker driver with containerd runtime
Times for minikube start: 31.0s 43.5s 47.2s 43.2s 43.2s |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: spowelljr, zigarn 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 |
Add a
--port
option tominikube dashboard
, still defaults to0
to use a random port.As the value of the port is not accessible elsewhere than from the
minikube dashboard
output, it can be sometimes useful to set the port in advance to be able to use it.