4 ms·
I don't have a Google Container Engine account or kube cluster yet. So big props for making it easy to set one up locally. Because of this I had to hunt for ho
by nzoschke 11y ago
I don't have a Google Container Engine account or kube cluster yet. So big props for making it easy to set one up locally.
Because of this I had to hunt for how to install kubectl. I found a snippet on one of Kelsey's guides
https://github.com/kelseyhightower/intro-to-kubernetes-workshop/blob/master/labs/install-and-configure-kubectl.md https://github.com/kelseyhightower/intro-to-kubernetes-works...
```
curl -O https://storage.googleapis.com/bin.kuar.io/darwin/kubectl https://storage.googleapis.com/bin.kuar.io/darwin/kubectl
chmod +x kubectl
sudo cp kubectl /usr/local/bin/kubectl
```
It could be helpful to inline in the Localkube Readme.
I'm having some trouble with the example mattermost app, `spread build .` is stuck on "Waiting for load balancer deployment...".
I did a bit of debugging the docker logs / containers. One time it was stuck waiting for the database. The second time it got past that. The mattermost platform server is running on the container.
I'm looking at the `localkube` container logs for more hints. Even with this I can't believe I'm playing with and debugging with my first kube cluster in minutes.
Great tools!
- mfburnett 11y agoYes so the "Waiting for load balancer deployment..." is a confusing message leftover from its original use for a remote cluster - we're fixing it asap, but it actually has already worked. Go ahead and get your Docker daemon IP and then grab the NodePort with `$ kubectl describe services/mattermost-app` and put in the IP:NodePort into your browser to see the Mattermost instance running. The easiest way to install kubectl is actually to install gcloud first (https://cloud.google.com/sdk/#Quick_Start https://cloud.google.com/sdk/#Quick_Start) and then install kubectl with `$ gcloud components update kubectl` Thanks for bringing this up!