What all components is the Master server in Kubernetes made up of

0 votes
List out the Master Server components of Kubernetes.
Jul 11, 2019 in Kubernetes by Sona
1,412 views

1 answer to this question.

0 votes

Kubernetes is a combination of multiple parts working together to get the container job done and the most vital part of it is Master node . The node acts as brain to the cluster and manages the whole ecosystem .

Master connects to etcd via HTTP or HTTPS to store the data and also connects flannel to access the container application.

Worker nodes engage with master via HTTP or HTTPS to get a command and report the status.

Overlay network makes connections of their container applications. All of it will be discussed below for more in-depth

Below are the mentioned components :

etcd

  • The heart of any Kubernetes cluster that implements a distributed key value store where all of the objects in a kubernetes cluster are persisted . 

  • It works on a algorithm which has replication techniques across servers to maintain the data stored in etcd . 

  • Optimistic concurrency is also used to compare-and-swap data across etcd server , when a user reads and update a value , the system checks that no other component in the system has updated the same value . This technique removes the locking mechanism that increases the server throughput .

  • Another technique known as watch protocol , which accounts for changes made in key value pair in etcd directory . Its improves efficiency to the client as it wait for the changes and then react to the change without continuous polling to the server .

kube-apiserver

As the name connects , its a server that provides an HTTP- or HTTPS-based RESTful API that is allowed to have direct access to the Kubernetes cluster .

  • Its a connector between all the kubernetes components and mediates all interactions between clients and the API objects stored in etcd .

  • Api server database is external to it , so it is a stateless server which is replicated 3 times to implement fault-tolerance

  • The APIs are exposed and managed by the server , the characteristics of those API requests must be described so that the client and server know how to communicate .

  • Define API pattern where the request is defined like api paths or groups.

  • Internal loops are responsible for background operations like CRD (Custom Resource Definitions) which inherently creates new paths for API requests

kube-controller-manager

The controller manager is a general service that has many responsibilities. 

  • Controller manager is a collection of control loops rolled up into one binary

  • Manages Kubernetes nodes

  • The control loops needed to implement the functionality like replica sets and deployments are run by Manager

  • Creates and updates the Kubernetes internal information

  • changes the current status to the desired status 

kube-scheduler

  • It is a simple algorithm that defines the priority to dispatch and is responsible for scheduling pods into nodes .

  • is continuously scanning the API server (with watch protocol) for Pods which don’t have a nodeName and are eligible for scheduling

  • Node affinity provide a simple way to guarantee that a Pod lands on a particular node

  • Predicates is a concept that helps in making correct resource requirements for the pods

  • Data locality

answered Jul 11, 2019 by Sirajul
• 59,230 points

Related Questions In Kubernetes

0 votes
1 answer

What is unknown user client in kubernetes?

I think your Legacy Authorisation has been ...READ MORE

answered Sep 12, 2018 in Kubernetes by DareDev
• 6,890 points
797 views
0 votes
2 answers
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
15,559 views
+1 vote
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,055 views
0 votes
1 answer

What is a service role in kubernetes components?

A service is an abstraction for pods. ...READ MORE

answered Jul 16, 2019 in Kubernetes by Sirajul
• 59,230 points
796 views
0 votes
1 answer

What is the difference between config map and secret in kubernetes?

Config maps ideally stores application configuration in ...READ MORE

answered Jul 17, 2019 in Kubernetes by Sirajul
• 59,230 points
3,740 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP