-
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
Node InternalIP not matching Host-only address #3416
Comments
As a workaround the following appears to resolve the issue
|
Do you mind describing the impact of this bug? I'd like to understand it a bit better. |
When working with agones it attempts to use Relevant agones code: |
Current installation is a bit confused as to where it "lives", if you asks /etc/hosts it's even We do get the apiEndpoint:
advertiseAddress: 192.168.99.100
bindPort: 8443 https://github.com/kubernetes/minikube/blob/master/pkg/minikube/bootstrapper/kubeadm/kubeadm.go#L460 Adding Probably we should refer to this address as the ExternalIP: https://kubernetes.io/docs/concepts/architecture/nodes/#addresses
The host name is OK, it is the addresses that are "wrong": $ kubectl describe node | grep Name:
Name: minikube
$ minikube ssh
_ _
_ _ ( ) ( )
___ ___ (_) ___ (_)| |/') _ _ | |_ __
/' _ ` _ `\| |/' _ `\| || , < ( ) ( )| '_`\ /'__`\
| ( ) ( ) || || ( ) || || |\`\ | (_) || |_) )( ___/
(_) (_) (_)(_)(_) (_)(_)(_) (_)`\___/'(_,__/'`\____)
$ uname -n
minikube
$ hostname
minikube
$ hostname -i
127.0.1.1
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
This came up again recently with another bug report against the Agones documentation. |
In contrast to the initial bug report, I don't think minikube needs to change what it assigns to the internal ip. Instead, it should set the external ip to the value of |
@tstromberg - what's the likelihood of this getting addressed soon-ish? My plan is to just update the agones docs with a workaround if this isn't fixed before we get to our 1.0 milestone. |
My case:
Fixes this issue. |
The InternalIP is not routable within the cluster either, since each node will have a 10.0.2.15... |
At it's current state, this issue risks not being addressed for v1.4.0 - anyone up for taking this issue on? |
I think we can move it to v1.5.0 instead, just wanted it to not be forgotten. |
/assign |
Thanks for fixing this! Bonus points will be awarded for fixing /etc/hosts |
I found a problem that when I use |
Didn't work for me. It causes I need the minikube ip to be listed under |
Environment:
Minikube version v0.30.0
OS Windows 10 64-bit
VM Driver: VirtualBox
ISO version: v0.30.0
minikube ip: 192.168.99.100
minikube ssh ifconfig:
InternalIP: 10.0.2.15
What happened:
Minikube uses the NAT adapter as the Internal IP instead of the Host-only adapter
What you expected to happen:
kubectl describe node | grep InternalIP
should show the same IP asminikube ip
How to reproduce it (as minimally and precisely as possible):
Output of
minikube logs
(if applicable):Nothing seemed related to this
Anything else do we need to know:
The text was updated successfully, but these errors were encountered: