7 ms·
Show HN: An online interactive Kubernetes playground
- deleted 9y ago[deleted]
- dijit 9y agoRelated: Anyone got a guide for deploying kubernetes on hardware I would have at home? a full cluster, not minikube.
- sliken 9y agoI'm looking for similar, but want to run containers on bare metal, not inside virtual box or similar.
- kuschku 9y agoI used kubeadm to set up a small cluster on Online.net’s cheap dedicated machines. It works quite well.
- jluxenberg 9y agoHave heard good things about Kubespray: https://github.com/kubernetes-incubator/kubespray https://github.com/kubernetes-incubator/kubespray
- tennix 9y agoIf 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
- williamstein 9y agokubeadm makes installing Kubernetes on existing computers vastly easier than it used to be (which isn’t to say it is easy now, just easier). https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/ https://kubernetes.io/docs/setup/independent/create-cluster-...
- halbritt 9y agoI use this for a "full cluster" https://github.com/pires/kubernetes-vagrant-coreos-cluster https://github.com/pires/kubernetes-vagrant-coreos-cluster If you want bare metal, there's a few good ways to roll your own.
- mephitix 9y agoI just used this official guide from CoreOS to set it up on Vagrant/virtualbox: https://coreos.com/kubernetes/docs/latest/kubernetes-on-vagrant-single.html https://coreos.com/kubernetes/docs/latest/kubernetes-on-vagr.... It was pretty straightforward.
- praseodym 9y agoKubeadm (https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/ https://kubernetes.io/docs/setup/independent/create-cluster-...) is great if you can install the base OS yourself (manually or through existing scripting you might have). The great thing is that you end up with a fully secured cluster, which (unfortunately) isn't the case with every tool or guide out there.
- pstadler 9y agoYou 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 https://github.com/hobby-kube/guide
- alexellisuk 9y agoYes - this has been doing fairly well and uses kubeadm on Ubuntu - https://blog.alexellis.io/kubernetes-in-10-minutes/ https://blog.alexellis.io/kubernetes-in-10-minutes/
- drdaeman 9y agoI used to also recommend kubeadm, but then I recognized there is no HA whatsoever (and what's the point of a cluster that dies with the master?) Issue to track: https://github.com/kubernetes/kubeadm/issues/261 https://github.com/kubernetes/kubeadm/issues/261 and https://github.com/kubernetes/kubernetes/pull/44793 https://github.com/kubernetes/kubernetes/pull/44793
- johnpython 9y agofollow this guide: https://github.com/kelseyhightower/kubernetes-the-hard-way https://github.com/kelseyhightower/kubernetes-the-hard-way
- kuschku 9y agoIf 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 9y agoYeah... 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 9y agoDone. Should be working now.
- SparkyMcUnicorn 9y agoYou might want to put this behind kubernetes so you can scale it easier... It's down again.
- xetorthio 9y agoHahaha, good one! :)
- deleted 9y ago[deleted]
- jdoliner 9y agoThis 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 9y agoIt should work if you are on the master node
- sriram_iyengar 9y agohttp://labs.play-with-k8s.com http://labs.play-with-k8s.com is not opening.
- xetorthio 9y agoYeah. Too much traffic in a short period of time. Sorry about that.
- whatnotests 9y agoWill return later!
- marcosnils 9y agoThx, we appreciate the patience!.
- try_again 9y agoSlightly 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.
- elliottcarlson 9y agohttps://www.katacoda.com/learn https://www.katacoda.com/learn is a pretty great site, that also has a "playground" mode for Kubernetes available (as well as others)
- marcosnils 9y agoI've tried the katacoda kubeadm tutorial but it didn't work for me
- maffydub 9y agoCan 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 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.
- ben_hall 9y agoI'd love to hear your feedback, bug reports are always welcome. We haven't heard of other problems.
- marcosnils 9y agoSure, sorry I didn't elaborate my previous comment, it was late here and after re-reading, it feels like a rant. What I meant was that I've tried following Katacoda's kubeadm tutorial (https://www.katacoda.com/courses/kubernetes/getting-started-with-kubeadm https://www.katacoda.com/courses/kubernetes/getting-started-...) but for some reason it seems not to be working for me. Both cluster nodes never get `ready` after finishing the tutorial, only the master one.
- alexellisuk 9y agoI can access the 'playground' exercise, but you have to sign up to the site to access the other tutorials.
- deleted 9y ago[deleted]
- ekevjn 9y agoI have no idea about Kubernetes, all i did is copy/paste. Any good resources?
- ben_hall 9y agoTake a look at https://www.katacoda.com/courses/kubernetes/ https://www.katacoda.com/courses/kubernetes/ and the official Kubernetes interactive bootcamp that Katacoda also powers at https://kubernetes.io/docs/tutorials/kubernetes-basics/ https://kubernetes.io/docs/tutorials/kubernetes-basics/ We'd love to hear your feedback.
- marcosnils 9y agoWe're working on a tutorials site similar to http://training.play-with-docker.com http://training.play-with-docker.com. We'll try to get it up soon.
- tekkk 9y agoWhy you are not serving the site in S3 bucket? :] Or does it have some fancy server side functionality?
- tekkk 9y agoNow 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.
- alexellisuk 9y agoThis is the companion site to play-with-docker.com - which also has the captcha. OpenID login sounds like a good idea.
- marcosnils 9y agoHi, thanks for the feedback. We're planning to add some basic tutorials soon like (http://training.play-with-docker.com 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 9y agoAs 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 9y agoThis isn't working for me. The only thing that works for me is reCaptcha. Then it times out. Hug of death maybe?
- andred14 9y agobroken