-
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
kvm2 with dns issues: waiting for component=kube-apiserver: timed out waiting for the condition #4267
Comments
Could you please include the output of: |
The |
kindly find both output. [root@webser11 ~]# minikube status ! Error getting bootstrapper
[root@webser11 ~]# minikube logs ! command runner
|
i tried following steps again. [root@webser11 ~]# minikube delete
[root@webser11 ~]# systemctl restart libvirtd.service [root@webser11 ~]# minikube start --vm-driver kvm2 --docker-env http_proxy=http://proxy.rk.com:8080 --docker-env https_proxy=http://proxy.rk.com:8080 --docker-env no_proxy="127.0.0.1,localhost,10"*
|
Same Issue ERROR LOGS:
! Error starting cluster: kubeadm init: cannot use "fe80::215:5dff:fe90:e505" as the bind address for the API Server : Process exited with status 1
minikube status: minikube logs ==> kernel <== ==> kubelet <== |
@raman36127 - do you mind checking in minikube v1.1.0 fixes this? We recently refactored this health check to be more robust, especially in environments with proxy servers. |
@tstromberg v1.1.0 - Worked for me. Here all steps for ref. Steps which i tried. #yum -y install qemu-kvm libvirt libvirt-daemon-kvm #wget https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 -O minikube #chmod 755 minikube docker-machine-driver-kvm2 [root@webser11 tmp]# minikube version Now hit/Start minikube [root@webser11 tmp]#minikube start --vm-driver kvm2 --docker-env http_proxy=http://proxy.rk.com:8080 --docker-env https_proxy=http://proxy.rk.com:8080 --docker-env no_proxy="127.0.0.1,localhost,10*"
[root@webser11 tmp]# minikube status [root@webser11 tmp]# minikube service list [root@webser11 tmp]# minikube docker-env [root@webser11 tmp]# kubectl cluster-info To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. [root@webser11 tmp]# kubectl cluster-info dump FIX for this. [root@webser11 tmp]# env | grep -i proxy [root@webser11 tmp]# minikube delete
[root@webser11 tmp]# systemctl restart libvirtd.service [root@webser11 tmp]#minikube start --vm-driver kvm2 --docker-env http_proxy=http://proxy.rk.com:8080 --docker-env https_proxy=http://proxy.rk.com:8080 --docker-env no_proxy="127.0.0.1,localhost,10*" [root@webser11 tmp]# minikube status [root@webser11 tmp]# export NO_PROXY=$no_proxy,$(minikube ip) [root@webser11 tmp]# minikube service list To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. #minikube VM running & do the ssh to machine. kubectl get nodesNAME STATUS ROLES AGE VERSION virsh listId Name State1 minikube running [root@webser11 tmp]# minikube ssh $ hostname $ docker ps $ exit [root@webser11 tmp]# |
@tstromberg Thanks :) |
Excellent news. Thank you for the update! |
CentOS Linux release 7.6.1810 (Core)
Removed - As wll [root@webser11 ~]# rm .minikube/
[root@webser11 bin]# minikube start --vm-driver kvm2
o minikube v1.0.1 on linux (amd64)
$ Downloading Kubernetes v1.14.1 images in the background ...
: Waiting for image downloads to complete ...
@ Downloading kubelet v1.14.1
@ Downloading kubeadm v1.14.1
X Unable to pull images, which may be OK: running cmd: sudo kubeadm config images pull --config /var/lib/kubeadm.yaml: command failed: sudo kubeadm config images pull --config /var/lib/kubeadm.yaml
stdout:
stderr: failed to pull image "k8s.gcr.io/kube-apiserver:v1.14.1": output: Error response from daemon: Get https://k8s.gcr.io/v2/: dial tcp: lookup k8s.gcr.io on 192.168.122.1:53: no such host
, error: exit status 1
: Process exited with status 1
: Waiting for pods: apiserver
! Error starting cluster: wait: waiting for component=kube-apiserver: timed out waiting for the condition
The text was updated successfully, but these errors were encountered: