Introduction to Play with Kubernetes
Play with Kubernetes is a free playground sponsored by Docker, where users can learn how to use Docker containers and deploy them to Kubernetes:
- Navigate to https://labs.play-with-k8s.com/.
- Log in using your GitHub or Docker credentials.
- Once successfully logged in, create a first cluster node or instance by clicking the + ADD NEW INSTANCE button on the left side of the screen.
- Follow the instructions on the screen to create a first master node for your Kubernetes sandbox cluster.
- Initialize the cluster master node with the command as indicated in step 1 of the instructions in the terminal window. It’s best if you directly copy the command from there. It should look like this:
$ kubeadm init --apiserver-advertise-address \ $(hostname -i) --pod-network-cidr 10.5.0.0/16
The first command argument uses the name of the host to advertise the address of the Kubernetes API server and the second one defines...