Unable to start container using kubectl

Viewed 4668

I am learning kubernetes and using minikube to create single node cluster in my ubuntu machine. In my ubuntu machine Oracle Virtualbox is also installed. As I run

$ minikube start

Starting local Kubernetes v1.6.4 cluster...
...

$ cat ~/.kube/config

apiVersion: v1
clusters:
- cluster:
    certificate-authority: /root/.minikube/ca.crt
    server: https://192.168.99.100:8443
  name: minikube
... 

$ kubectl run hello-minikube --image=gcr.io/google_containers/echoserver:1.4 --port=8000

error: failed to discover supported resources: Get https://192.168.99.100:8443/api: Service Unavailable

I am not getting that what is causing this error. Is there some place we can check for logs. I cannot use kubectl logs as it requires container to mention which is not creating at all. Please provide any possible solution to problem.

1 Answers
Related