- Click the
raw
button to get the raw-url of thefig-play-with-k8s.sh
-file and, in a VM from labs.play-with-k8s.com, - Run
bash -x <( curl -L url-to-raw-gist )
- Copy the "blue-port-url" and change
http
tohttps
- Goto url in Firefox
The script will,
- Start
kubeadm
with a dashboard andcluster-admin
access from the dashboard - Install helpful tools (code-completion, vim, emacs, tmux, etc. )
- Display the kubeadm join-string, to be run on a
new instance
You can now copy the url from the "blue link" in the top, exposing the dashboard on a port, it'll look somewhat like http://ip172-18-0-20-b9q1pplduh0g008cbc3g-30319.direct.labs.play-with-k8s.com/
change the http
part to https
and access the url from a browser.
NB: I've had problems using Chrome, but Firefox lets me ignore the security issues, and access the dashboard. Clearly it's important to configure security properly, but it's also of negligible importance; I have Firefox installed, this is not a production environment.
Because Kubernetes is hard.. and it's nice to get something running quickly and be able to play around with it.. and labs.k8s makes this very easy and fast, but their franela/k8s
images are very basic.
Well, I have a tmux config you can also curl
onto the machines, to break your fingers a little less. It's located here: gist.github.com/figaw/.tmux.conf
I am not able to see "Blue Hyperlink" in the latest version v1.10.2 of Kubernetes Play Groud.
Can you please help