LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > Tantra Yantra Swatantrya
User Name
Password

Notices


This blog is all about freedom of technology and machines.
Tantra means technology.
Yantra means machine.
Swatantrya means freedom.
Rate this Entry

Kubernetes: 5 Ws and 1H answered

Posted 05-01-2016 at 04:58 AM by Mr. ameya sathe

Ques. What is Kubernetes?
Ans. A software to create,manage,destroy containers.

Ques. When to use Kubernetes?
Ans. To do parallel or serial actions on set(s) of logically grouped containers.

Ques. How does Kubernetes implement it?
Ans. The software is structured into form of a Kubernetes master & kubernetes node.

Ques. What is kubernetes node?
Ans. Kubernetes node is a VM/physical machine having a kubernetes component known as kubelet installed in it.
Logically grouped containers are deployed in an software entity called as 'Pod'.
Such pod(s) are created inside the kubernetes node.
Thus; a single container or multiple logically grouped containers are created inside a pod.
Single or multiple pods are created inside the kubernetes node.
Single or multiple kubernetes nodes can exist.

Ques. What is kubernetes master?
Ans. A kubernetes master is a VM/physical machine.
The master is used to control resource allocation,management of the kubernetes nodes as well it does synchronization between kubernetes nodes.

Ques. How does kubernetes master do it?
Ans. The kubernetes master is structured further into
a. For controlling: controller-manager
b. For storing the state and data related to kubernetes nodes: etcd-manager


Ques. How does the kubernetes nodes & kubernetes master exchange the state & the data?
Ans. The kubernetes master houses an api-server using REST for its communication.
In addition; the api-server provides authentication as well as scheduler.


Ques. How does the kubernetes deploy the containers?
Ans. Containers are grouped logically together to provide a service. Thus; one needs to provide a defination of the service and the containers within them to the kubernetes master. Additionally; one needs to define the total number of live instances of these services.
Kubernetes master talks with the kubelet to implement your definations. Kubelet in turn create pod(s) based on the definations. The containers are created by the docker software installed on these nodes.

Ques. How does the end-user access the services on these containers?
Ans. Even; the containers located in different services can't talk with each other, although they are on the same kubernetes node. The reason is allocation of private IP addresses.
Hence; a service called as kube-proxy is deployed on each of the kubernetes nodes to enable traffic flow between these services and the end-user.


Ques. Where can I learn more about the kubernetes?
Ans. http://kubernetes.io/docs/
Posted in Uncategorized
Views 936 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration