Interview Questions on Kubernetes
1. What are the basic terminologies in kubernetes ? Ans: a. container: runtime image of an image b. nodes: physical or virtual machines in a cluster c. pods: simple deployable unit in a kubernetes system, which runs containers and deployed inside nodes. d. cluster: collection of nodes acting as a single unit. e. master: node that manages worker nodes. f. workers: nodes that provide the place to run pods. 2. In kubernetes, how to maintain replicas and maintain the desired state at any point in time ? Ans: Deployment internally uses replicaset to maintain replicas and maintain the desired state at any point in time. 3. How to run one pod per node ? Ans: Daemonsets are used to run one pod per node. 4. How to run stateful applications ? Ans: Statefulsets are used to run stateful applications. 5. What is the use of ingress ? Ans: Ingress in kubernetes can be used as a wrapper for services. Click on below link for Devops Interview QA ...