Minikube: easily run Kubernetes locally(blog.kubernetes.io) |
Minikube: easily run Kubernetes locally(blog.kubernetes.io) |
I set this up on my laptop and am noticing a strange behavior. When accessing the pod via http://192.168.99.100:30764/grid?cols=3&rows=5, all pods display the same ID. This means that the "NodePort" load-balancer is not performing round-robin load-balancing as expected. Any thoughts?
My environment: Macbook Pro, Intel i7, 16GB OS X (El Capitan 10.11.5) Docker for Mac (v1.12.0-rc3 client and server versions, https://www.docker.com/products/docker#/mac) kubectl v1.3.0 minikube v0.6.0
Chrome and Safari display the same behavior i.e. all pod IDs the same.
Firefox displays different pod IDs (90% of the IDS are the same, however there are a few that are different)
minikube start
Seriously, it's that easy. Let me know if you have any questions!Disclosure: I am a PM at Google working on Kubernetes.
Love Kubernetes though, this'll be a superb way of spinning some test stuff up!
Means I don't have to use VirtualBox
Also, using the KVM driver on Ubuntu 16.04 I have to run the start command twice to be able to bring up a pod. That's with the 'vm-driver=kvm' at the end.
Got there in the end anyways - thank you!
"This site can’t provide a secure connection
192.168.42.174 doesn't adhere to security standards. ERR_SSL_SERVER_CERT_BAD_FORMAT"
I assume this is related to Ubuntu/KVM related shenanigans. I'll have a go later on Mac.
http://kubernetesIP/ui should work. Where in the docs did you see https://kubernetesIP ? I can get those cleaned up.
"Kubernetes is available at https://192.168.42.174:443. Kubectl is now configured to use the cluster. root@thinkbuntu:/root/kubernetes# nmap 192.168.42.174
Starting Nmap 7.01 ( https://nmap.org ) at 2016-07-11 22:44 BST Nmap scan report for 192.168.42.174 Host is up (0.00061s latency). Not shown: 996 closed ports PORT STATE SERVICE 22/tcp open ssh 443/tcp open https 8081/tcp open blackice-icecap 30000/tcp open unknown MAC Address: 52:54:00:C8:F1:38 (QEMU virtual NIC)
Nmap done: 1 IP address (1 host up) scanned in 25.54 seconds"
"$ minikube start Starting local Kubernetes cluster... Running pre-create checks... Creating machine... Starting local Kubernetes cluster... Kubernetes is available at https://192.168.99.100:8443."