From the course: Ansible: From Basics to Guru by Pearson

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Preparing the Kubernetes setup

Preparing the Kubernetes setup

In this video, I want to give you an overview of what is the requirement for setting up the Kubernetes environment. So in a Kubernetes environment, you normally have a client. That is where the Kubernetes user is going to use the kubectl client utility. This client is reaching out to a control node where the control node is the main node in the Kubernetes environment. And from the control node, you can address different worker nodes. So W1 and W2 and W3, where the worker nodes are typically running the user pods. Now I'm going to show you how to create a simplified Kubernetes cluster with Ansible. And in order to do so, we make the control node an Ansible AIO. So what is AIO? AIO stands for All-in-One, and that means that we are not going to need any of these worker nodes. We can just focus on setting up the control node. The thing is that, of course, it is possible to bring in additional nodes. But if you want to bring in additional nodes, then the procedure becomes even lengthier…

Contents