top | item 14714386

Show HN: An online interactive Kubernetes playground

164 points| xetorthio | 8 years ago |play-with-k8s.com | reply

45 comments

order
[+] elliottcarlson|8 years ago|reply
https://www.katacoda.com/learn is a pretty great site, that also has a "playground" mode for Kubernetes available (as well as others)
[+] marcosnils|8 years ago|reply
Hi, PWK co-author here. Indeed, Katacoda is a great site to learn technologies. With our playgrounds we're trying to accomplish a different purpose though. Here's a blog post that explains the idea better: https://medium.com/@marcosnils/introducing-pwk-play-with-k8s....

TL;DR: PWK is a platform composed by different components powered by the an open source core (https://github.com/xetorthio/play-with-docker) that allows the following:

* Try new features fast as it’s updated with the latest dev versions. * Setup clusters in no-time and launch replicated services. * Learn through it’s interactive tutorials (http://training.play-with-docker.com). * Allow to run advanced workshops that’d usually require complex setups. * Collaborate with community members to diagnose and detect issues by sharing your session URL.

The idea is to replicate real case deployments where you need to add/remove nodes to experiment with failures and things like that. You can also go through platform upgrades as PWK allows to run different versions of K8s in the same session.

Additionally, we're planning to launch a training site similar to Docker's (http://training.play-with-docker.com/) to enhance the experience soon. It'd be awesome to get the K8s community help with the content as it's very difficult to scale all this content by ourselves as an free project.

If you need help deploying K8s locally or in your own cloud provider, please let us know so we can help. This is still a very young project, but we think that with some help it could really help the community as it did for Docker.

[+] marcosnils|8 years ago|reply
I've tried the katacoda kubeadm tutorial but it didn't work for me
[+] kuschku|8 years ago|reply
If anyone wonders why it just shows a blank page, the error code is:

    503 Service Unavailable: Back-end server is at capacity
TL;DR: We’ve slashdotted it.
[+] xetorthio|8 years ago|reply
Yeah... hahaha. Sorry about that. We didn't expect so much traffic in such a short period of time. We will add more capacity shortly.
[+] xetorthio|8 years ago|reply
Done. Should be working now.
[+] alexellisuk|8 years ago|reply
As several people have mentioned already - Ben Hall is doing great work.

I'm happy to see this Kubernetes playground because it's an open-source alternative.

[+] bogomipz|8 years ago|reply
This isn't working for me. The only thing that works for me is reCaptcha. Then it times out. Hug of death maybe?
[+] dijit|8 years ago|reply
Related: Anyone got a guide for deploying kubernetes on hardware I would have at home? a full cluster, not minikube.
[+] pstadler|8 years ago|reply
You might enjoy this guide[1]. It explains how to deploy and run a secure, fully functional Kubernetes cluster outside platforms like GCE or AWS. Provisioning and example manifests are provided as well.

[1] https://github.com/hobby-kube/guide

[+] tennix|8 years ago|reply
If you're familiar with ansible, it'll be quite easy to setup a k8s cluster on bare metal with kubespray. What's more is that it deploys production ready cluster with HA support
[+] sliken|8 years ago|reply
I'm looking for similar, but want to run containers on bare metal, not inside virtual box or similar.
[+] jdoliner|8 years ago|reply
This is cool but I'm a bit unsure how to actually use this. Kubectl doesn't seem to be able to connect to the server from within the terminal. It just gets: `The connection to the server localhost:8080 was refused - did you specify the right host or port?`
[+] xetorthio|8 years ago|reply
It should work if you are on the master node
[+] ekevjn|8 years ago|reply
I have no idea about Kubernetes, all i did is copy/paste. Any good resources?
[+] tekkk|8 years ago|reply
Why you are not serving the site in S3 bucket? :] Or does it have some fancy server side functionality?
[+] tekkk|8 years ago|reply
Now that I was finally able to load the site I must say I'd have liked to have had some basic tutorials to help me get started. It might haven't been in the scope of this site but surely it would have been nice. Also the recaptcha is just a kick in the balls when it starts asking to pick the right squares. I'd have been happy to sign in with G+ just to skip it.