DevOps

Kubernetes Networking

CNI (Calico, Cilium), NetworkPolicies, kube-proxy, CoreDNS, Service mesh basics, troubleshooting DNS latency

24 питань зі співбесід·
Mid-Level
1

What is a CNI (Container Network Interface) in Kubernetes?

Відповідь

A CNI is a plugin that implements the network interface for containers in Kubernetes. It is responsible for allocating IP addresses to pods and configuring networking to enable pod-to-pod communication. Every Kubernetes cluster requires a CNI to function, and the choice of CNI impacts available network features like NetworkPolicies or performance characteristics.

2

What is the main role of kube-proxy in a Kubernetes cluster?

Відповідь

kube-proxy maintains network rules on each node to enable communication to Kubernetes Services. It implements the Service concept by configuring iptables, IPVS, or nftables rules to route traffic to corresponding pods. Without kube-proxy, Services would not function and applications could not communicate via stable ClusterIP addresses.

3

What is the function of CoreDNS in Kubernetes?

Відповідь

CoreDNS provides DNS resolution within the Kubernetes cluster, enabling pods to discover Services by name. It automatically resolves names in the format service.namespace.svc.cluster.local to corresponding ClusterIP addresses. CoreDNS is essential for service-to-service communication and has replaced kube-dns since Kubernetes 1.13.

4

Which type of Kubernetes Service exposes a port on each node of the cluster?

5

What is the main difference between Calico and Flannel?

+21 питань зі співбесід

Інші теми співбесід DevOps

Version Control & Git

Junior
20 запитань

Linux Fundamentals

Junior
22 запитань

Shell Scripting & Bash

Mid-Level
20 запитань

Networking Basics

Junior
22 запитань

Docker Fundamentals

Junior
24 запитань

CI/CD Fundamentals

Junior
18 запитань

GitHub Actions

Mid-Level
22 запитань

GitLab CI/CD

Mid-Level
22 запитань

Jenkins

Mid-Level
22 запитань

Kubernetes Basics

Mid-Level
26 запитань

Kubernetes Advanced

Mid-Level
24 запитань

Ingress & API Gateway

Mid-Level
20 запитань

Terraform Basics

Mid-Level
22 запитань

Terraform Advanced

Mid-Level
22 запитань

Ansible & Configuration Management

Mid-Level
20 запитань

AWS Essentials

Mid-Level
26 запитань

Azure Fundamentals

Mid-Level
22 запитань

GCP Fundamentals

Mid-Level
22 запитань

Monitoring & Prometheus

Mid-Level
22 запитань

Logging & ELK Stack

Mid-Level
20 запитань

Alerting & Incident Response

Mid-Level
20 запитань

Cloud Identity & Secrets

Mid-Level
22 запитань

CI/CD Pipeline Security

Mid-Level
20 запитань

Helm & Kubernetes

Mid-Level
20 запитань

Runtime & Cluster Security

Senior
24 запитань

Container Supply Chain Security

Senior
22 запитань

Service Mesh & Istio

Senior
24 запитань

GitOps & ArgoCD

Senior
22 запитань

Progressive Delivery

Senior
20 запитань

Distributed Observability

Senior
22 запитань

Disaster Recovery & Backup

Senior
20 запитань

Performance Optimization

Senior
22 запитань

Cloud Cost Optimization

Senior
20 запитань

SRE Principles

Senior
24 запитань

Chaos Engineering

Senior
20 запитань

Platform Engineering

Senior
22 запитань

Опануй DevOps для наступної співбесіди

Отримай доступ до всіх питань, flashcards, технічних тестів, вправ code review та симуляторів співбесід.

Почни безкоштовно