R Programming
Exporting Data from R: How to Export Data from R to CSV, Excel
How to Export Data from R In this tutorial, we will learn how to export data from R environment to different...
Here are Kubernetes Interview Questions for fresher as well as experienced candidates to get the dream job.
1) What is Kubernetes?
Kubernetes is a container management system developed in the Google platform. The purpose of kubernetes is to manage a containerized application in various types of physical, virtual, and cloud environments. Google Kubernetes is a highly flexible container tool to deliver even complex applications, consistently. Applications run on clusters of hundreds to thousands of individual servers.
2) Define node in Kubernetes
A node the smallest unit of hardware. It defines a single machine in a cluster that can be a virtual machine from a cloud provider or physical machine in the data center. Every machine available in the Kubernetes cluster can substitute other machines.
3) What is the work of a kube-scheduler?
Kube-scheduler is the default scheduler for Kubernetes. It assigns nodes to newly created pods.
4) Define daemon sets
Daemon sets are a set of pods that runs on a host. They are used for host layers attributes like monitoring network or simple network.
5) Define Heapster in Kubernetes
A Heapster is a metrics collection and performance monitoring system for data that are collected by the Kublet.
6) What tasks are performed by Kubernetes?
Kubernetes is the Linux kernel which is used for distributed systems. It helps you to be abstract the underlying hardware of the nodes(servers) and offers a consistent interface for applications that consume the shared pool of resources.
7) Define Kubernetes controller manager
The controller manager is a daemon used for garbage collection, core control loops, and namespace creation. It enables the running of more than one process on the master node.
8) Why use namespace in Kubernetes?
Namespaces in Kubernetes are used for dividing cluster resources between users. It helps the environment where more than one user spread projects or teams and provides a scope of resources.
9) Why use Kubernetes?
Kubernetes is used because:
10) What are the features of Kubernetes?
The features of Kubernetes are:
11) Mention the types of controller managers
Types of controller managers are: 1) endpoints controller, 2) service accounts controller, 3) node controller, 4) namespace controller, 5) replication controller, 6) token controller.
12) Explain Kubernetes Architecture
13) List various services available in Kubernetes
Various services available in Kubernetes are 1) Cluster IP service, 2) Load Balancer service, 3) Node Port service, 4) External Name Creation service.
14) Define Cluster IP
The Cluster IP is a Kubernetes service that offers a service inside the cluster that other apps inside cluster can access.
15) Explain node port
The node port service is a fundamental way to get external traffic to your service. It opens a particular port on all nodes and forwards network traffic sent to this port.
16) Define kubelet
The kubelet is a service agent which controls and maintains group pf pods by checking pod specification using Kubernetes. The kubelet runs on each node and allows to communicate between a master node and a slave node.
17) What are the disadvantages of Kubernetes?
18) What is Kube-proxy?
Kube-proxy is an implementation of both a network proxy and a load balancer. It is used to support service abstraction used with other networking operations. It is responsible for directing traffic to the container depend on IP and the port number.
19)What is the difference between Kubernetes and Docker Swarm?
The difference between Kubernetes and Docker Swarm is:
Kubernetes | Docker Swarm |
Kubernetes Provides an auto-scaling feature. | Docker Swarm does not provide an auto-scaling feature. |
Manually configure your load balancing settings. | Does auto load balancing |
Installation is complicated & time-consuming. | Installation is easy & fast. |
GUI is available. | GUI not available. |
It provides a built-in load balancing technique. | Process scheduling is done to maintain services while updating. |
20) Define Ingress Network
Ingress network is defined as a collection of rules which allow permission for connections into the Kubernetes cluster.
21) What is Kubectl used for?
Kubectl is a software for controlling Kubernetes clusters. Ctl stands for control, which is a command-line interface to pass the command to the cluster and manage the Kubernetes component.
22) What is GKE?
GKE or Google Container Engine is a management platform that supports clusters and Docker containers that run within public cloud services of Google.
23) Why load balancer is needed?
A load balancer is needed because it gives a standard way to distribute network traffic among different services, which runs in the backend.
24) How to run Kubernetes locally?
Kubernetes can be run locally using the Minikube tool. It runs a single-node cluster in a VM (virtual machine) on the computer. Therefore, it offers the ideal way for users who have just started learning Kubernetes.
25) What are the tools that are used for container monitoring?
Tools that are used for container monitoring are:
26) List components of Kubernetes
There are three components of Kubernetes, they are:
27) Define headless service
Headless service is defined as a service that uses IP address, but instead of load balancing, it returns of associated pods.
28) What are the important components of node status?
The important component of node status are:
29) What is minikube?
Minikube is a software that helps the user to run Kubernetes. It runs on the single nodes that are inside VM on your computer. This tool is also used by programmers who are developing an application using Kubernetes.
30) Mention the uses of GKE
The uses of the GKE (Google Kubernetes Engine) are:
31) Define orchestration in Kubernetes
Orchestration in Kubernetes defines as an automatic method of scheduling the work of every container. It is used for applications that are based on microservices within clusters.
32) Explain Prometheus in Kubernetes
Prometheus is an application that is used for monitoring and alerting. It can be called out to your systems, grab real-time metrics, compress it, and stores properly in a database.
33) List tools for container orchestration
The tools for container orchestration are 1) Docker swarm, 2) Apache Mesos, and 3) Kubernetes.
34) Mention the list of objects of Kubernetes?
Objects that are used in Kubernetes are: 1) Pods, 2) Replication sets and controllers, 3) Jobs and cron jobs, 4) Daemon sets, 5) Distinctive identities, 6) Deployments, 7) and Stateful sets.
35) Define Stateful sets in Kubernetes
The stateful set is a workload API object that is used to manage the stateful application. It can also be used to manage the deployments and scaling the sets of pods. The state information and other data of stateful pods are store in the disk storage, which connects with stateful set.
36) Why use Daemon sets?
Daemon sets are used because:
37) Explain Replica set
A Replica set is used to keep replica pods stable. It enables us to specify the available number of identical pods. This can be considered a replacement for the replication .controller.
38) List out some important Kubectl commands:
The important Kubectl commands are:
39) Why uses Kube-apiserver?
Kube-apiserver is an API server of Kubernetes that is used to configure and validate API objects, which include services, controllers, etc. It provides the frontend to the cluster's shared region using which components interact with each other.
40) Explain the types of Kubernetes pods
There are two types of pods in Kubernetes:
41) What are the labels in Kubernetes?
Labels are a collection of keys that contain some values. The key values are connected to pods, replication controllers, and associated services. Generally, labels are added to some object during its creation time. They can be modified by the users at run time.
42) What are the objectives of the replication controller?
The objectives of the replication controller are:
43) What do you mean by persistent volume?
A persistent volume is a storage unit that is controlled by the administrator. It is used to manage an individual pod in a cluster.
44) What are Secrets in Kubernetes?
Secrets are sensitive information like login credentials of the user. They are objects in Kubernetes that stores sensitive information like username and password after performing encryption.
45) What is Sematext Docker Agent?
Sematext Docker agent is a log collection agent with events and metrics. It runs as a small container in each Docker host. These agents gather metrics, events, and logs for all cluster nodes and containers.
46) Define OpenShift
OpenShift is a public cloud application development and hosting platform developed by Red Hat. It offers automation for management so that developers can focus on writing the code.
47) Define K8s
K8s (K-eight characters-S) is a term for Kubernetes. It is an open-source orchestration framework for the containerized applications.
48) What are federated clusters?
Federated clusters multiple clusters that are managed as a single cluster.
49) Mention the difference between Docker volumes and Kubernetes Volumes
Kubernetes Volumes | Docker Volumes |
Volumes are not limited to any container. | Volumes are limited to a pod in the container. |
Kubernetes volumes support all containers deployed in a pod of Kubernetes. | Docker volumes do not support all containers deployed in Docker. |
50) What are the ways to provide API-Security on Kubernetes?
The ways to provide API-Security on Kubernetes are:
51) What is ContainerCreating pod?
A ContainerCreating pod is one that can be scheduled on a node but can’t start up properly.
52) What are the types of Kubernetes Volume?
The types of Kubernetes Volume are:
53) Explain PVC
The full form of PVC stands for Persistent Volume Claim. It is storage requested by Kubernetes for pods. The user does not require to know the underlying provisioning. This claim should be created in the same namespace where the pod is created.
54) What is the Kubernetes Network Policy?
Network Policy defines how the pods in the same namespace would communicate with each other and the network endpoint.
55) What is Kubernetes proxy service?
Kubernetes proxy service is a service which runs on the node and helps in making it available to an external host.
How to Export Data from R In this tutorial, we will learn how to export data from R environment to different...
An email app for iPhone enables you to configure email addresses to receive, read, compose, and...
What is ITSM? ITSM aims to align the delivery of IT services with the needs of the enterprise. The...
Anime websites are online collection of various animated movies, cartoons, and TV shows. You can...
Get 6 must-read books that will put your Testing career in overdrive!
Wireless Keyboard and Mouse enables you to eliminate wires to make your workstation clean and...