After exposing the deployment as a service for "app1-deployment" app
$ kubectl expose deployment app1-deployment --type=NodePort
service "app1-deployment" exposed
Getting the following error message when checking for ur URL exposed
$ minikube service app1-deployment --url
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Error opening service: Could not find finalized endpoint being pointed to by app1-deployment: Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
Temporary Error: No endpoints for service are ready yet
# Just wait for kubernetes to successfully pull the image and check via command
$ minikube service app1-deployment --url
http://192.168.99.100:30816
Technology blog for personal research and diary. Short Notes, Quick Reference, scripts, source codes, commands, etc
Showing posts with label Kubernetes. Show all posts
Showing posts with label Kubernetes. Show all posts
Saturday, May 12, 2018
Sunday, December 17, 2017
[Kubernetes] [minikube] [macOS] [ High Sierra] [VMware Fusion] Error starting host: Temporary Error: Error configuring auth on host: OS type not recognized.
ERROR:
$ minikube start --vm-driver=vmwarefusion
Starting local Kubernetes v1.8.0 cluster...
Starting VM...
E1217 20:38:52.628679 394 start.go:150] Error starting host: Temporary Error: Error configuring auth on host: OS type not recognized.
Retrying.
FIX:
PRE-REQUISITES:
Check VM Driver
$ cat ~/.minikube/machines/minikube/config.json | grep DriverName
"DriverName": "vmwarefusion",
Check ISO version:
$ cat ~/.minikube/machines/minikube/config.json | grep -i ISO
"ISO": "/Users/ericnoel/.minikube/machines/minikube/boot2docker.iso",
"Boot2DockerURL": "file:///Users/ericnoel/.minikube/cache/iso/minikube-v0.23.6.iso",
"ConfigDriveISO": "",
Get password:
$ cat ~/.minikube/machines/minikube/config.json|grep -i pass
"SSHPassword": "tcuser",
Copy
$ ssh-copy-id -i ~/.minikube/machines/minikube/id_rsa.pub docker@$(minikube ip)
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/Users/spikes/.minikube/machines/minikube/id_rsa.pub"
The authenticity of host 'x.x.x.x (x.x.x.x)' can't be established.
ECDSA key fingerprint is SHA256:Df4JLDF3w7eBVj8Kw7XOXSXHjlWqXQI1fDLHtp12Nq3.
Are you sure you want to continue connecting (yes/no)? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
docker@x.x.x.x's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'docker@x.x.x.x'"
and check to make sure that only the key(s) you wanted were added.
Start minikube
$ minikube start --vm-driver=vmwarefusion
Starting local Kubernetes v1.8.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Downloading localkube binary
148.25 MB / 148.25 MB [============================================] 100.00% 0s
65 B / 65 B [======================================================] 100.00% 0s
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...
Kubectl is now configured to use the cluster.
Loading cached images from config file.
$ minikube start --vm-driver=vmwarefusion
Starting local Kubernetes v1.8.0 cluster...
Starting VM...
E1217 20:38:52.628679 394 start.go:150] Error starting host: Temporary Error: Error configuring auth on host: OS type not recognized.
Retrying.
FIX:
PRE-REQUISITES:
Check VM Driver
$ cat ~/.minikube/machines/minikube/config.json | grep DriverName
"DriverName": "vmwarefusion",
Check ISO version:
$ cat ~/.minikube/machines/minikube/config.json | grep -i ISO
"ISO": "/Users/ericnoel/.minikube/machines/minikube/boot2docker.iso",
"Boot2DockerURL": "file:///Users/ericnoel/.minikube/cache/iso/minikube-v0.23.6.iso",
"ConfigDriveISO": "",
Get password:
$ cat ~/.minikube/machines/minikube/config.json|grep -i pass
"SSHPassword": "tcuser",
Copy
$ ssh-copy-id -i ~/.minikube/machines/minikube/id_rsa.pub docker@$(minikube ip)
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/Users/spikes/.minikube/machines/minikube/id_rsa.pub"
The authenticity of host 'x.x.x.x (x.x.x.x)' can't be established.
ECDSA key fingerprint is SHA256:Df4JLDF3w7eBVj8Kw7XOXSXHjlWqXQI1fDLHtp12Nq3.
Are you sure you want to continue connecting (yes/no)? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
docker@x.x.x.x's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'docker@x.x.x.x'"
and check to make sure that only the key(s) you wanted were added.
Start minikube
$ minikube start --vm-driver=vmwarefusion
Starting local Kubernetes v1.8.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Downloading localkube binary
148.25 MB / 148.25 MB [============================================] 100.00% 0s
65 B / 65 B [======================================================] 100.00% 0s
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...
Kubectl is now configured to use the cluster.
Loading cached images from config file.
Subscribe to:
Posts (Atom)