minikube icon indicating copy to clipboard operation
minikube copied to clipboard

Fix addon registry doesn't follow Minikube DNS domain name configuration (--dns-domain)

Open rogeriomm opened this issue 2 years ago • 6 comments

  • Registry bug minikube-with-bug-registry version minikube-with-bug-registry -p cluster-unfixed start --dns-domain cluster.xpt minikube-with-bug-registry -p cluster-unfixed status minikube-with-bug-registry -p cluster-unfixed addons enable registry kubectl -n kube-system get pods | grep registry-proxy- kubectl -n kube-system logs registry-proxy-m5v47 | head -n 3 nc -v $(minikube -p cluster-unfixed ip) 5000 minikube-with-bug-registry -p cluster-unfixed delete
minikube-bug
  • Registry bug fixed minikube-master-fix-registry version minikube-master-fix-registry -p cluster-fixed start --dns-domain cluster.xpt minikube-master-fix-registry -p cluster-fixed status minikube-master-fix-registry -p cluster-fixed addons enable registry kubectl -n kube-system get pods | grep registry-proxy- kubectl -n kube-system logs registry-proxy-m5v47 | head -n 3 nc -v $(minikube -p cluster-fixed ip) 5000 minikube-master-fix-registry -p cluster-fixed ssh sudo cat /etc/kubernetes/addons/registry-proxy.yaml minikube-master-fix-registry -p cluster-fixed delete
minikube-fixed

rogeriomm avatar Jan 04 '23 14:01 rogeriomm

CLA Signed

The committers listed above are authorized under a signed CLA.

  • :white_check_mark: login: rogeriomm / name: Rogerio (431a2968588dcb34d31f7f4fc0380544d7f85afa)

Welcome @rogeriomm!

It looks like this is your first PR to kubernetes/minikube 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/minikube has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. :smiley:

k8s-ci-robot avatar Jan 04 '23 14:01 k8s-ci-robot

Hi @rogeriomm. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

k8s-ci-robot avatar Jan 04 '23 14:01 k8s-ci-robot

Can one of the admins verify this patch?

minikube-bot avatar Jan 04 '23 14:01 minikube-bot

thank you @rogeriomm for fixing this, do you mind sharing Before and After this PR minikube output in the PR description ?

Done

rogeriomm avatar Jan 05 '23 13:01 rogeriomm

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: medyagh, rogeriomm

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 /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar Jan 05 '23 20:01 k8s-ci-robot

/ok-to-test

medyagh avatar Jan 05 '23 20:01 medyagh

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 15585) |
+----------------+----------+---------------------+
| minikube start | 53.6s    | 53.6s               |
| enable ingress | 26.1s    | 26.3s               |
+----------------+----------+---------------------+

Times for minikube start: 53.5s 52.9s 54.6s 53.5s 53.5s Times for minikube (PR 15585) start: 52.2s 53.8s 55.2s 53.3s 53.4s

Times for minikube ingress: 29.1s 24.6s 27.6s 24.6s 24.6s Times for minikube (PR 15585) ingress: 27.6s 24.1s 28.2s 28.1s 23.6s

docker driver with docker runtime

+-------------------+----------+---------------------+
|      COMMAND      | MINIKUBE | MINIKUBE (PR 15585) |
+-------------------+----------+---------------------+
| minikube start    | 25.7s    | 26.0s               |
| ⚠️  enable ingress | 20.7s    | 33.2s ⚠️             |
+-------------------+----------+---------------------+

Times for minikube start: 25.6s 25.8s 24.9s 27.0s 25.4s Times for minikube (PR 15585) start: 25.5s 28.3s 26.0s 25.7s 24.6s

Times for minikube ingress: 20.9s 20.0s 21.0s 21.4s 20.4s Times for minikube (PR 15585) ingress: 80.9s 20.9s 22.0s 21.0s 20.9s

docker driver with containerd runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 15585) |
+----------------+----------+---------------------+
| minikube start | 21.5s    | 22.4s               |
| enable ingress | 26.6s    | 26.4s               |
+----------------+----------+---------------------+

Times for minikube (PR 15585) start: 21.8s 24.8s 22.4s 21.4s 21.6s Times for minikube start: 21.9s 21.2s 22.1s 21.4s 20.9s

Times for minikube ingress: 26.5s 27.4s 26.4s 26.4s 26.4s Times for minikube (PR 15585) ingress: 26.4s 26.4s 26.4s 26.4s 26.5s

minikube-pr-bot avatar Jan 05 '23 21:01 minikube-pr-bot

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Hyper-V_Windows TestMultiNode/serial/PingHostFrom2Pods (gopogh) n/a
Hyper-V_Windows TestMultiNode/serial/RestartKeepsNodes (gopogh) n/a
Hyper-V_Windows TestNetworkPlugins/group/bridge/Start (gopogh) n/a
Hyper-V_Windows TestNetworkPlugins/group/calico/Start (gopogh) n/a
Hyper-V_Windows TestNetworkPlugins/group/enable-default-cni/Start (gopogh) n/a
Hyper-V_Windows TestNetworkPlugins/group/flannel/Start (gopogh) n/a
Hyper-V_Windows TestNetworkPlugins/group/kubenet/Start (gopogh) n/a
Hyper-V_Windows TestNoKubernetes/serial/StartWithStopK8s (gopogh) n/a
Hyper-V_Windows TestStartStop/group/default-k8s-diff-port/serial/Pause (gopogh) n/a
KVM_Linux_containerd TestFunctional/parallel/DashboardCmd (gopogh) 0.00 (chart)
Docker_macOS TestMultiNode/serial/RestartMultiNode (gopogh) 25.85 (chart)
Docker_Linux_containerd TestMultiNode/serial/StartAfterStop (gopogh) 26.11 (chart)
Hyperkit_macOS TestPause/serial/SecondStartNoReconfiguration (gopogh) 28.00 (chart)
Docker_Linux_containerd TestStartStop/group/old-k8s-version/serial/FirstStart (gopogh) 38.79 (chart)
Docker_Linux_containerd TestStartStop/group/old-k8s-version/serial/UserAppExistsAfterStop (gopogh) 38.79 (chart)
Docker_Linux_containerd TestStartStop/group/old-k8s-version/serial/DeployApp (gopogh) 39.32 (chart)
Docker_Linux_containerd TestStartStop/group/old-k8s-version/serial/SecondStart (gopogh) 39.32 (chart)
Docker_Linux_containerd TestStartStop/group/embed-certs/serial/FirstStart (gopogh) 41.38 (chart)
Docker_Linux_containerd TestStartStop/group/embed-certs/serial/UserAppExistsAfterStop (gopogh) 41.38 (chart)
Docker_Linux_containerd TestStartStop/group/embed-certs/serial/DeployApp (gopogh) 41.88 (chart)
Docker_Linux_containerd TestStartStop/group/embed-certs/serial/SecondStart (gopogh) 42.86 (chart)
Docker_Linux_containerd TestStartStop/group/default-k8s-diff-port/serial/UserAppExistsAfterStop (gopogh) 48.28 (chart)
Docker_Linux_containerd TestStartStop/group/default-k8s-diff-port/serial/DeployApp (gopogh) 49.15 (chart)
Docker_Linux_containerd TestStartStop/group/default-k8s-diff-port/serial/SecondStart (gopogh) 49.15 (chart)
Docker_Linux_containerd TestStartStop/group/default-k8s-diff-port/serial/FirstStart (gopogh) 50.00 (chart)
Docker_macOS TestMultiNode/serial/RestartKeepsNodes (gopogh) 53.06 (chart)
Docker_Linux_containerd TestNetworkPlugins/group/enable-default-cni/DNS (gopogh) 74.17 (chart)
Docker_Linux_containerd TestNetworkPlugins/group/bridge/DNS (gopogh) 74.40 (chart)
Docker_Linux_containerd TestNetworkPlugins/group/calico/Start (gopogh) 98.28 (chart)
Docker_macOS TestIngressAddonLegacy/serial/ValidateIngressDNSAddonActivation (gopogh) 98.64 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

minikube-pr-bot avatar Jan 06 '23 05:01 minikube-pr-bot

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Apr 06 '23 05:04 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle rotten
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar May 06 '23 06:05 k8s-triage-robot

/remove-lifecycle rotten

rogeriomm avatar May 07 '23 14:05 rogeriomm

/ok-to-test

rogeriomm avatar Jul 19 '23 15:07 rogeriomm

/retest-this-please

spowelljr avatar Jul 19 '23 22:07 spowelljr

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 15585) |
+----------------+----------+---------------------+
| minikube start | 53.8s    | 53.4s               |
| enable ingress | 28.8s    | 28.0s               |
+----------------+----------+---------------------+

Times for minikube (PR 15585) start: 52.5s 53.6s 57.3s 52.4s 51.3s Times for minikube start: 52.2s 54.6s 54.6s 55.3s 52.3s

Times for minikube ingress: 27.9s 28.4s 29.9s 30.0s 28.0s Times for minikube (PR 15585) ingress: 28.4s 27.9s 27.9s 27.9s 28.0s

docker driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 15585) |
+----------------+----------+---------------------+
| minikube start | 24.5s    | 24.0s               |
| enable ingress | 20.9s    | 21.1s               |
+----------------+----------+---------------------+

Times for minikube start: 25.8s 22.4s 24.3s 24.3s 25.9s Times for minikube (PR 15585) start: 26.8s 23.6s 23.8s 23.6s 22.3s

Times for minikube ingress: 21.9s 19.9s 21.9s 20.4s 20.4s Times for minikube (PR 15585) ingress: 21.0s 20.9s 20.5s 21.9s 21.4s

docker driver with containerd runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 15585) |
+----------------+----------+---------------------+
| minikube start | 23.7s    | 23.1s               |
| enable ingress | 29.5s    | 28.7s               |
+----------------+----------+---------------------+

Times for minikube start: 23.5s 21.0s 25.1s 24.3s 24.6s Times for minikube (PR 15585) start: 21.2s 23.4s 24.7s 23.8s 22.1s

Times for minikube ingress: 30.9s 30.9s 18.9s 20.0s 46.9s Times for minikube (PR 15585) ingress: 18.9s 30.9s 30.9s 31.4s 31.4s

minikube-pr-bot avatar Jul 19 '23 23:07 minikube-pr-bot

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_Linux_docker_arm64 TestRunningBinaryUpgrade (gopogh) 1.84 (chart)
KVM_Linux TestStartStop/group/default-k8s-diff-port/serial/AddonExistsAfterStop (gopogh) 3.07 (chart)
KVM_Linux TestStartStop/group/default-k8s-diff-port/serial/Pause (gopogh) 3.07 (chart)
KVM_Linux TestStartStop/group/default-k8s-diff-port/serial/SecondStart (gopogh) 3.07 (chart)
KVM_Linux TestStartStop/group/default-k8s-diff-port/serial/UserAppExistsAfterStop (gopogh) 3.07 (chart)
QEMU_macOS TestFunctional/parallel/TunnelCmd/serial/RunSecondTunnel (gopogh) 44.06 (chart)

To see the flake rates of all tests by environment, click here.

minikube-pr-bot avatar Jul 20 '23 01:07 minikube-pr-bot

thank you @rogeriomm for the PR and patience on the review time

medyagh avatar Sep 06 '23 18:09 medyagh