Settings

Theme

Show HN: An online interactive Kubernetes playground

play-with-k8s.com

164 points by xetorthio 9 years ago · 48 comments

Reader

elliottcarlson 9 years ago

https://www.katacoda.com/learn is a pretty great site, that also has a "playground" mode for Kubernetes available (as well as others)

  • marcosnils 9 years ago

    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 9 years ago

    I've tried the katacoda kubeadm tutorial but it didn't work for me

    • maffydub 9 years ago

      Can you elaborate? It worked for me (as in was both functional and educational) - was it the function or the education that didn't work for you?

      I've also found Katacoda a good platform for Tensorflow tutorials (e.g. https://katacoda.com/basiafusinska/scenarios/tensorflow) - not great for power users, but awesome for people who just want to learn the basics without having to set anything up.

    • alexellisuk 9 years ago

      I can access the 'playground' exercise, but you have to sign up to the site to access the other tutorials.

    • ben_hall 9 years ago

      I'd love to hear your feedback, bug reports are always welcome. We haven't heard of other problems.

  • ben_hall 9 years ago

    Thanks! :)

kuschku 9 years ago

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.
sriram_iyengar 9 years ago

http://labs.play-with-k8s.com is not opening.

  • xetorthioOP 9 years ago

    Yeah. Too much traffic in a short period of time. Sorry about that.

    • try_again 9 years ago

      Slightly ironic that a system which has scalability as one of its goals went down due to traffic. Although I guess few things are prepared for an onslaught of catching attention on sites like HN or Reddit.

    • whatnotests 9 years ago

      Will return later!

alexellisuk 9 years ago

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 9 years ago

This isn't working for me. The only thing that works for me is reCaptcha. Then it times out. Hug of death maybe?

dijit 9 years ago

Related: Anyone got a guide for deploying kubernetes on hardware I would have at home? a full cluster, not minikube.

jdoliner 9 years ago

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?`

ekevjn 9 years ago

I have no idea about Kubernetes, all i did is copy/paste. Any good resources?

andred14 9 years ago

broken

tekkk 9 years ago

Why you are not serving the site in S3 bucket? :] Or does it have some fancy server side functionality?

  • tekkk 9 years ago

    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.

    • marcosnils 9 years ago

      Hi, thanks for the feedback. We're planning to add some basic tutorials soon like (http://training.play-with-docker.com). We'd need the help from the community though as it's hard for us to grow an OS project by ourselves. Regarding the login thing, we're also working on that aspect. Expect some updates soon.

    • alexellisuk 9 years ago

      This is the companion site to play-with-docker.com - which also has the captcha. OpenID login sounds like a good idea.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection