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

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…

Contents