Question:- What is Kubectl?
Answer:- Kubectl is a Kubernetes command-line tool that is used for deploying and managing applications on Kubernetes. Kubectl is especially useful for inspecting the cluster resources, and for creating, updating, and deleting the components.
Question:- What is GKE?
Answer:- GKE is Google Kubernetes Engine which is used for managing and orchestrating systems for Docker containers. GKE also lets us orchestrate container clusters within the Google Public Cloud.
Question:- What is kube-proxy?
Answer:- The kube-proxy runs on each of the nodes. It can do simple tasks such as TCP, UDP, forwarding, and so on. It shows the services in the Kubernetes API on each node.
Question:- What are the components of a Kubernetes Master?
Answer:- The components of the Kubernetes Master include the API server, the controller manager, the Scheduler, and the etcd components. The Kubernetes Master components are responsible for running and managing the Kubernetes cluster.
Question:- What is the use of kube-controller-manager?
Answer:- It is the Kubernetes Controller Manager. The kube-controller-manager is a daemon that embeds the core control loops which regulate the system state, and it is a non-terminating loop.
Question:- What is load balancing on Kubernetes?
Answer:- The process of load balancing will let us expose services. There are two types of load balancing when it comes to Kubernetes: • Internal load balancing: This is used for balancing the loads automatically and allocating the pods with the required configuration. • External load balancing: This directs the traffic from the external loads to the backend pods.
Question:- What does a kube-scheduler do?
Answer:- The kube-scheduler has the job of assigning the nodes to the newly created pods.
Question:- Where is the Kubernetes cluster data stored?
Answer:- The primary data store of Kubernetes is etcd, which is responsible for storing all Kubernetes cluster data.
Question:- How to set a static IP for Kubernetes load balancer?
Answer:- Kubernetes Master assigns a new IP address. We can set a static IP for Kubernetes load balancer by changing the DNS records whenever Kubernetes Master assigns a new IP address.
Question:- Explain the Kubernetes architecture.
Answer:- • Pods Pods are the smallest units that Kubernetes administers. It constitutes a set of containers. It shares a single IP address and all the resources, such as storage and memory, among every container within it. A pod can have a single container when the service or application is a single process. • Deployments Kubernetes deployments determine the scale at which one wants to run an application, such as how the pods need to be replicated on the Kubernetes nodes, the desired number of pod replicas to be run, and the desired update strategy for the deployment. • Services If a pod dies, Kubernetes replaces it to prevent any downtime. A service is the only interface that the application consumers deal with. When pods are changed, their internal names and IPs might change as well. A service exposes a single IP address or machine name linked to pods whose numbers and names are unreliable. It ensures that nothing appears changed to the outside network. • Nodes A Kubernetes node collects, runs, and manages pods that function together. • The Kubernetes Control Plane The Kubernetes control plane is the main entry point for users and administrators to handle the management of various nodes. HTTP calls or command-line scripts are used to assign operations to it. How Kubernetes interacts with applications is controlled by the control plane.
Question:- Explain the Kubernetes Components
Answer:- The control plane and the individual nodes consist of three main components each. Control plane • API Server The Kubernetes API server validates and configures data for API objects, including pods, replication controllers, services, etc. It serves REST operations and provides the frontend to the cluster’s shared state through which all other components communicate. • Scheduler The scheduler assigns work to the nodes, keeps track of the capacity of resources, and ensures that a worker node’s operation is within the right threshold. • Controller Manager The controller manager ensures that a cluster’s shared state is operating in the desired manner. It monitors various controllers, which respond to events. Worker Node Components: • Kubelet A kubelet keeps track of the state of a pod and ensures that every container is operating well. • Kube proxy The kube proxy is a network proxy that maintains network rules on nodes. It sends requests for work to the appropriate containers. • etcd This etcd component manages and holds the critical data that distributed systems require to operate. It is an open-source distributed key-value store that is used to share the state of a cluster. It helps with the setup of the overlay network for containers.
Question:- What do I need on-premises to run the Kubernetes architecture?
Answer:- Many on-premises environments are remodeled to enable Kubernetes integration. Integrating storage, servers, and networking into a smoothly running environment requires top skills. For Kubernetes, deciding the right storage and networking equipment is crucial as it facilitates interaction with resources for storage, load balancers, etc. A critical part of Kubernetes’ value proposition is the ability to automate storage and the networking components.
Question:- What is Jenkins?
Answer:- Jenkins can be thought of as a free and open-source automation tool that is used for continuous integration. It automates some of the software development processes, such as building, testing, and deployment. It can also be integrated with a large number of testing and deployment technologies.
Question:- What is Jenkins used for?
Answer:- Jenkins is used in the automation of some of the software development processes. With Jenkins, one can continuously test software projects so that developers can integrate the changes to them. Jenkins facilitates continuous integration and delivery through its built-in plugins.