UPDATE Fixed - but to help anyone else who may find this
I have docker 220.127.116.11 / 43066 installed on MacOS 10.15.4 19E264b.
Docker starts ok and normal containers can be run ok - and docker compose is fine also.
However when kubernetes is started, the overall status remains showing ‘Kubernetes is starting …’
First off – of course I am using beta on beta - and this is only marginally annoying as I normally use cloud based k8s service, but I’m trying to help someone out with an issue who doesn’t have cloud service so is using a local k8s install on mac. That being said I’ve used and tested k8s on here before so know it works normally.
CPU is running around 35% of one core –
I can login to the vm (see https://stackoverflow.com/questions/39739560/how-to-access-the-vm-created-by-dockers-hyperkit )and see that within the vm CPU load is very low (about 3% x 4 cpu)
For some odd reason (macos beta?) /etc/hosts had was not readable - a simple chmod fixed this, and kubernetes is now reporting running just fine - it probably already was, but of course couldn’t be connected to!
ping localhost% ➜ ~ ping localhost ping: cannot resolve localhost: Unknown host ➜ ~ hostname planetf1mac.local ➜ ~ ping ➜ ~ ping kubernetes.docker.internal ping: cannot resolve kubernetes.docker.internal: Unknown host ➜ ~ hostname planetf1mac.local ➜ ~ cat /etc/hosts cat: /etc/hosts: Permission denied ➜ ~ ls -la /etc/hosts -rw------- 1 root wheel 744 23 Mar 08:08 /etc/hosts ➜ ~ sudo chmod guo+r /etc/hosts Password: ➜ ~ ls -la /etc/hosts -rw-r--r-- 1 root wheel 744 23 Mar 08:08 /etc/hosts ➜ ~ ping kubernetes.docker.internal PING kubernetes.docker.internal (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.054 ms ^C --- kubernetes.docker.internal ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.054/0.054/0.054/0.000 ms ➜ ~ ping localhost PING localhost (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.044 ms 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.087 ms ^C --- localhost ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.044/0.066/0.087/0.021 ms