# Networking Kubernetes (DevOps) > CNI (Calico, Cilium), NetworkPolicies, kube-proxy, CoreDNS, podstawy Service mesh, rozwiązywanie problemów z opóźnieniem DNS - 24 pytań z rozmów - Mid-Level - [Pytania z rozmów: DevOps](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne.md) ## 1. Czym jest CNI (Container Network Interface) w Kubernetes? **Odpowiedź** CNI to wtyczka, która implementuje interfejs sieciowy dla kontenerów w Kubernetes. Odpowiada za przydzielanie adresów IP do podów i konfigurację sieci umożliwiającej komunikację między podami. Każdy klaster Kubernetes wymaga CNI do działania, a wybór CNI wpływa na dostępne funkcje sieciowe, takie jak NetworkPolicies lub wydajność. ## 2. Jaka jest główna rola kube-proxy w klastrze Kubernetes? **Odpowiedź** kube-proxy utrzymuje reguły sieciowe na każdym węźle, aby umożliwić komunikację z Services Kubernetes. Implementuje koncepcję Service, konfigurując reguły iptables, IPVS lub nftables w celu kierowania ruchu do odpowiednich podów. Bez kube-proxy Services nie działałyby, a aplikacje nie mogłyby komunikować się przez stabilne adresy ClusterIP. ## 3. Jaka jest funkcja CoreDNS w Kubernetes? **Odpowiedź** CoreDNS zapewnia rozwiązywanie DNS w klastrze Kubernetes, umożliwiając podom odkrywanie Services po nazwie. Automatycznie rozwiązuje nazwy w formacie service.namespace.svc.cluster.local na odpowiadające adresy ClusterIP. CoreDNS jest niezbędny do komunikacji service-to-service i zastąpił kube-dns od Kubernetes 1.13. ## Jeszcze 21 dostępnych pytań - Który typ Service Kubernetes udostępnia port na każdym węźle klastra? - Jaka jest główna różnica między Calico a Flannel? Zarejestruj się za darmo: https://sharpskill.dev/pl/login ## Inne tematy rekrutacyjne DevOps - [Kontrola wersji & Git](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/version-control-git.md): 20 pytań, Junior - [Podstawy Linux](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/linux-fundamentals.md): 22 pytań, Junior - [Shell Scripting & Bash](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/shell-scripting-bash.md): 20 pytań, Mid-Level - [Podstawy sieci](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/networking-basics.md): 22 pytań, Junior - [Podstawy Dockera](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/docker-fundamentals.md): 24 pytań, Junior - [Podstawy CI/CD](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/ci-cd-fundamentals.md): 18 pytań, Junior - [GitHub Actions](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/github-actions.md): 22 pytań, Mid-Level - [GitLab CI/CD](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/gitlab-ci.md): 22 pytań, Mid-Level - [Jenkins](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/jenkins.md): 22 pytań, Mid-Level - [Podstawy Kubernetes](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/kubernetes-basics.md): 26 pytań, Mid-Level - [Kubernetes Zaawansowany](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/kubernetes-advanced.md): 24 pytań, Mid-Level - [Ingress & API Gateway](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/ingress-api-gateway.md): 20 pytań, Mid-Level - [Podstawy Terraform](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/terraform-basics.md): 22 pytań, Mid-Level - [Terraform Zaawansowany](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/terraform-advanced.md): 22 pytań, Mid-Level - [Ansible & Configuration Management](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/ansible-configuration.md): 20 pytań, Mid-Level - [Podstawy AWS](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/aws-essentials.md): 26 pytań, Mid-Level - [Podstawy Azure](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/azure-fundamentals.md): 22 pytań, Mid-Level - [Podstawy GCP](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/gcp-fundamentals.md): 22 pytań, Mid-Level - [Monitoring i Prometheus](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/monitoring-prometheus.md): 22 pytań, Mid-Level - [Logging & ELK Stack](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/logging-elk.md): 20 pytań, Mid-Level - [Alerting i Incident Response](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/alerting-incident-response.md): 20 pytań, Mid-Level - [Cloud Identity & Secrets](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/cloud-identity-secrets.md): 22 pytań, Mid-Level - [Bezpieczeństwo Pipeline'ów CI/CD](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/cicd-pipeline-security.md): 20 pytań, Mid-Level - [Helm & Kubernetes](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/helm-kubernetes.md): 20 pytań, Mid-Level - [Bezpieczeństwo Runtime i Cluster](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/runtime-cluster-security.md): 24 pytań, Senior - [Container Supply Chain Security](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/container-supply-chain.md): 22 pytań, Senior - [Service Mesh & Istio](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/service-mesh-istio.md): 24 pytań, Senior - [GitOps & ArgoCD](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/gitops-argocd.md): 22 pytań, Senior - [Progressive Delivery](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/progressive-delivery.md): 20 pytań, Senior - [Rozproszona obserwowalność](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/observability-distributed.md): 22 pytań, Senior - [Disaster Recovery & Backup](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/disaster-recovery.md): 20 pytań, Senior - [Optymalizacja wydajności](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/performance-optimization.md): 22 pytań, Senior - [Optymalizacja Kosztów Chmury](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/infrastructure-cost.md): 20 pytań, Senior - [Zasady SRE](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/sre-principles.md): 24 pytań, Senior - [Chaos Engineering](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/chaos-engineering.md): 20 pytań, Senior - [Platform Engineering](https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/platform-engineering.md): 22 pytań, Senior --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/pl/technologies/devops/pytania-rekrutacyjne/kubernetes-networking