mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-05-14 12:56:37 +00:00
1.6 KiB
1.6 KiB
Setting up Kubernetes
- How did we set up these Kubernetes clusters that we're using?
--
-
We used
kubeadmon freshly installed VM instances running Ubuntu 16.04 LTS-
Install Docker
-
Install Kubernetes packages
-
Run
kubeadm initon the master node -
Set up Weave (the overlay network)
(that step is just onekubectl applycommand; discussed later) -
Run
kubeadm joinon the other nodes (with the token produced bykubeadm init) -
Copy the configuration file generated by
kubeadm init
-
kubeadm drawbacks
-
Doesn't set up Docker or any other container engine
-
Doesn't set up the overlay network
-
Scripting is complex
(because extracting the token requires advancedkubectlcommands) -
Doesn't set up multi-master (no high availability)
--
- "It's still twice as many steps as setting up a Swarm cluster 😕" -- Jérôme