The Second Report Of My Challenge | Answered Two Questions
2 more questions are covered now.
After the release of the first report, I got many answers. Now the first report answered is released. It's time for the second report in which I am going to answer 2 more questions.
I recorded a video about the same topic also that you can watch and it will help you better understand it.
The first question is:
What is Nodepool and what are the types of it?
A node pool is a group of nodes with the same configuration within a cluster. Each node in the pool has a Kubernetes node label.
All the worker nodes within a node pool have identical resources, but each node pool can have a different worker configuration.
This lets you have different services on different node pools, where each pool has the RAM, CPU, and attached storage resources the service requires.
Types of Nodepool
There are two types of Nodepool
System Nodepool
User Nodepool
System Nodepool:
It is used to deploy system pods. Kubernetes could have multiple system nodepool but there is at least one nodepool required with at least one single node.
A system nodepool can only run on windows nodes, not on Linux.
User Nodepool:
It is used to deploy application pods. Kubernetes could have multiple user nodepools or none. All user nodepools could scale down to zero nodes.
A user nodepool could run on windows or Linux nodes.
What is Kubernetes Volume?
A Kubernetes volume is a directory containing data, which can be accessed by containers in a Kubernetes pod.
The concept of volume was present with the Docker, however, the only issue was that the volume was very much limited to a particular pod. As soon as the life of a pod ended, the volume was also lost.
On the other hand, the volumes that are created through Kubernetes are not limited to any container. It supports any or all the containers deployed inside the pod of Kubernetes. A key advantage of Kubernetes volume is, it supports different kinds of storage wherein the pod can use multiple of them at the same time.
Types of Kubernetes Volumes
Persistent Volumes
Ephemeral Volumes
EmptyDir Volumes
Kubernetes hostPath Volumes
Kubernetes Volumes ConfigMap
You can check out the details of these types from the following resources.
Resources
YouTube video explaining node pool.
Digital Ocean explaining node pool.
NetApp explaining Kubernetes Volumes.
DoK Community 2022 report discusses these concepts.
Join the slack channel of the DoK Community.
Next Step
The next step is to solve two more questions that I have added here. You can check them out.
That's it for now. Did you like this blog? Please let me know.
You can Buy Me a Coffee if you want to and don't forget to follow me on YouTube, Twitter, and LinkedIn also.
Happy Learning!