From the course: Kubernetes: Provisioning for Infrastructure as Code
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
Start the container runtime - Kubernetes Tutorial
From the course: Kubernetes: Provisioning for Infrastructure as Code
Start the container runtime
- [Instructor] Now that we've configured containerd, we need to enable the systemd service that will start containerd when this machine boots up. We can easily do that in two commands. Starting with node A, let's tell systemd about the unit we added earlier by running sudo systemctl daemon dash reload. Like we saw earlier, this won't print anything if it succeeds. Remember to do that on node B as well. Now, going back to node A, we're going to go ahead and type sudo systemctl enable dash dash now containerd. Like we saw with kubelet, this will tell systemd to start containerd on startup. And just like we saw with kubelet, we don't see anything except this created SIM link message. Let's make sure that containerd is running by running sudo systemctl status containerd and it is running, which means that it is finally installed. Let's do this on node B as well. Awesome. Press Q to quit. Now, we're ready to test that…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
What is kubeadm?2m 25s
-
(Locked)
Create the Kubernetes cluster VMs7m 37s
-
(Locked)
Download and install the Kubernetes binaries9m 13s
-
(Locked)
Download the container runtime components7m 31s
-
(Locked)
Install the container runtime components3m 49s
-
(Locked)
Configure the container runtime7m 10s
-
(Locked)
Start the container runtime2m 58s
-
(Locked)
Enable networking features7m 50s
-
(Locked)
Start the control plane on the primary node5m 15s
-
(Locked)
Join the worker node to the primary node1m 34s
-
(Locked)
Test the cluster with an example app1m 41s
-
(Locked)
kubeadm: Clean up1m 3s
-
-
-
-
-
-
-
-