Difference between revisions of "Kubernetes networking"
Jump to navigation
Jump to search
(16 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
The [[Container Network Interface (CNI)]] plugin is selected by passing <code>[[kubelet]]</code> the <code>[[--network-plugin]]=cni</code> | The [[Container Network Interface (CNI)]] plugin is selected by passing <code>[[kubelet]]</code> the <code>[[--network-plugin]]=cni</code> | ||
+ | * [[CoreDNS]] | ||
* [[Calico]] | * [[Calico]] | ||
− | * [[ | + | * [[Flannel]] |
+ | * [[Cilium]] | ||
+ | * [[Multus CNI]] | ||
+ | * [[Kubernetes ExternalDNS]]: <code>[[external-dns.alpha.kubernetes.io]]</code> [[annotation]] | ||
+ | |||
+ | * <code>[[kubectl proxy]]</code> | ||
+ | * <code>[[kubectl port-forward]]</code> | ||
== Activities == | == Activities == | ||
Line 12: | Line 19: | ||
* [[Know how to configure and use CoreDNS]] ([[CKA v1.23]], [[CKA v1.24]], [[CKA v1.25]]) | * [[Know how to configure and use CoreDNS]] ([[CKA v1.23]], [[CKA v1.24]], [[CKA v1.25]]) | ||
* [[CKA: Troubleshoot networking]] | * [[CKA: Troubleshoot networking]] | ||
+ | * [[CKA]]: [[Choose an appropriate container network interface plugin]] | ||
+ | * Read https://kubernetes.io/blog/2022/05/23/service-ip-dynamic-and-static-allocation/ | ||
+ | * [[Exposing an External IP Address to Access an Application in a Cluster]]: <code>[[kubectl expose deployment]]</code> | ||
== Related terms == | == Related terms == | ||
− | * [[ | + | * [[Network policies]] |
− | * [[ | + | * [[AWS EKS Addons]]: <code>[[vpc-cni]]</code> |
− | |||
− | |||
− | |||
* <code>[[kind: NetworkPolicy]]</code> | * <code>[[kind: NetworkPolicy]]</code> | ||
* [[Service mesh]] | * [[Service mesh]] | ||
+ | * [[Install CNI configuration and binaries reinstalled.]] | ||
== See also == | == See also == | ||
− | |||
− | |||
* {{Kubernetes networking}} | * {{Kubernetes networking}} | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 13:23, 5 August 2024
https://kubernetes.io/docs/concepts/cluster-administration/networking/
The Container Network Interface (CNI) plugin is selected by passing kubelet
the --network-plugin=cni
- CoreDNS
- Calico
- Flannel
- Cilium
- Multus CNI
- Kubernetes ExternalDNS:
external-dns.alpha.kubernetes.io
annotation
Activities[edit]
- Create a pod network:
kubeadm init --pod-network-cidr=10.244.0.0/16
- Understand host networking configuration on the cluster nodes (CKA v1.23, CKA v1.24, CKA v1.25)
- Understand connectivity between Pods (CKA v1.23, CKA v1.24, CKA v1.25)
- Know how to configure and use CoreDNS (CKA v1.23, CKA v1.24, CKA v1.25)
- CKA: Troubleshoot networking
- CKA: Choose an appropriate container network interface plugin
- Read https://kubernetes.io/blog/2022/05/23/service-ip-dynamic-and-static-allocation/
- Exposing an External IP Address to Access an Application in a Cluster:
kubectl expose deployment
Related terms[edit]
See also[edit]
- Kubernetes networking: network policies, Network Policy Providers, CNI, Calico, flannel, Service mesh, Istio,
kube-proxy, coredns, AWS VPC CNI: vpc-cni
, Kubernetes: Ingress controllers, IPVS, ServiceTypes:LoadBalancer, ClusterIP, NodePort, ExternalName
, Endpoints, EndpointSlices, Kubernetes DNS,svc.cluster.local
, Weave Net
Advertising: