Module 2 › Networking › Flashcards
Flashcards · optional
Flashcards: Networking
0/16 known
6. NetworkingCNI
Click or press Space to flip CNIContainer Network Interface: the plugin standard the runtime calls to attach Pods to the network and assign their IPs.
Card 1 of 16
- CNI
- Container Network Interface: the plugin standard the runtime calls to attach Pods to the network and assign their IPs.
- Pod network model
- Each Pod has a unique IP and can reach every other Pod without NAT; containers in a Pod share one network namespace.
- Service
- Stable virtual IP and DNS name that load-balances to a set of Pods chosen by a label selector.
- ClusterIP
- Default Service type: a virtual IP reachable only from inside the cluster.
- NodePort
- Service type that opens the same port (default range 30000-32767) on every node.
- LoadBalancer
- Service type that provisions an external load balancer, usually via the cloud-controller-manager.
- ExternalName
- Service type that returns a DNS CNAME to an external hostname; no proxying or selector.
- Headless Service
- Service with clusterIP: None; DNS returns the IPs of the individual Pods. Used by StatefulSets.
- EndpointSlice
- Object listing the IPs, ports and readiness of the backends of a Service; replaces the older Endpoints object.
- targetPort
- The container port a Service forwards traffic to (number or named port).
- kube-proxy
- Per-node component that programs iptables, IPVS or nftables rules implementing Service virtual IPs.
- CoreDNS
- CNCF graduated DNS server used as the cluster DNS; resolves service.namespace.svc.cluster.local.
- Ingress
- API object with HTTP(S) host/path routing and TLS rules, implemented by an ingress controller.
- Gateway API
- Role-oriented successor to Ingress: GatewayClass, Gateway and Route resources (HTTPRoute, GRPCRoute…).
- NetworkPolicy
- Namespaced object that restricts Pod ingress/egress by labels, namespaces, IP blocks and ports; enforced by the CNI.
- Service mesh
- Infrastructure layer of proxies (sidecar or sidecarless) adding mTLS, traffic management and telemetry to service-to-service calls.