5 ms·
Minikube: easily run Kubernetes locally
- josephjacks 10y agoMinikube is awesome! We used it at Apprenda in a recent K8s 101 webinar (0). Standing up a local K8s cluster in 1-2 minutes is a really great experience. (0): https://apprenda.wistia.com/medias/ckbmoa10sd https://apprenda.wistia.com/medias/ckbmoa10sd
- rajeevsingh 10y agoGreat webinar! Kudos! 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 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 https://www.docker.com/products/docker#/mac) kubectl v1.3.0 minikube v0.6.0
- rajeevsingh 10y agoNevermind. The root-cause seems to be aggressive browser caching. 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)
- dlor 10y agoI'm an engineer working on Minikube. Feel free to ask about the tool here!
- mobiuscog 10y agoWhen will there be a windows version ?
- TheIronYuppie 10y agoStarting Minikube on your laptop (https://github.com/kubernetes/minikube https://github.com/kubernetes/minikube): 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.
- sofaofthedamned 10y agoThere's a bit more to it - it took me a while to realise that I still needed kubectl and the rest of the binaries on the host. I have had a heavy day though so may just have missed that bit. Love Kubernetes though, this'll be a superb way of spinning some test stuff up!
- TheIronYuppie 10y agoHeh, that's true - you can't run binaries that aren't there :)
- sofaofthedamned 10y agoAnother thing - the docs state to go to https://<kubernetesIP> https://<kubernetesIP> but that does nothing. Instead I have to go to http://kubernetesIP:30000 http://kubernetesIP:30000 for the UI. Am I missing something else? 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!
- sofaofthedamned 10y agoReplying to myself here - the :443 entry seems to have a problem: "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.
- dlor 10y agoHey, http://kubernetesIP/ui http://kubernetesIP/ui should work. Where in the docs did you see https://kubernetesIP https://kubernetesIP ? I can get those cleaned up.
- tupilaq 10y agoI've used kid (https://github.com/vyshane/kid https://github.com/vyshane/kid) to launch a docker based kubernetes environment on my laptop. Means I don't have to use VirtualBox