0%

Kubernetes Networking is an essential guide for anyone who wants to deploy, manage, or troubleshoot a production-scale Kubernetes network.

Understanding Kubernetes clusters isn't enough to operate Kubernetes at scale. Every layer of the stack--the network, operating system, and Kubernetes--depends on the layer below. Successful administrators need to understand each layer and how it works across deployments on-premises, in the cloud, and with managed services. Kubernetes Networking clearly guides administrators through the layers of complexity and abstraction that come with running a Kubernetes network. It covers:

  • The Kubernetes networking model
  • The CNCF Container Network Interface Project and how to choose the best interface for your clusters
  • The networking and Linux primitives that power Kubernetes
  • How to quickly troubleshoot networking issues and prevent downtime
  • Cloud networking and Kubernetes with the three major providers: AWS, GCP, and Azure
  • The pros and cons of various network tools--and how to select the best ones for your stack

Table of Contents

  1. Preface
    1. Just Another Packet
    2. Who this book is for
    3. What you will learn
    4. Conventions Used in This Book
    5. Using Code Examples
    6. O’Reilly Online Learning
    7. How to Contact Us
    8. Acknowledgments
  2. 1. Networking Introduction
    1. Networking History
    2. OSI model
    3. TCP/IP
    4. Application
    5. Transport
    6. Network
    7. Internet Protocol
    8. Link Layer
    9. Revisiting our Web Server
    10. Conclusion
  3. 2. Linux Networking
    1. Basics
    2. The Network Interface
    3. The Bridge Interface
    4. Packet Handling in the Kernel
    5. Netfilter
    6. Conntrack
    7. Routing
    8. High Level Routing
    9. iptables
    10. IPVS
    11. eBPF
    12. Network Troubleshooting Tools
    13. Security Warning
    14. Ping
    15. Traceroute
    16. Dig
    17. Telnet
    18. Nmap
    19. Netstat
    20. Netcat
    21. openssl
    22. Curl
    23. Closing
  4. 3. Container Networking Basics
    1. Introduction to Containers
    2. Application
    3. Hypervisor
    4. Containers
    5. Container Primitives
    6. Control Groups
    7. Namespaces
    8. Setting up Namespaces
    9. Container Network Basics
    10. Docker Networking Model
    11. Overlay Networking
    12. Container Network Interface
    13. Container connectivity
    14. Container to Container
    15. Container to Container Separate Hosts
    16. Conclusion
  5. 4. Kubernetes Networking Introduction
    1. The Kubernetes Networking Model
    2. Node And Pod Network Layout
    3. Isolated Networks
    4. Flat Networks
    5. Island Networks
    6. kube-controller-manager Configuration
    7. The Kubelet
    8. Pod Readiness and Probes
    9. The CNI Specification
    10. CNI Plugins
    11. The IPAM Interface
    12. Popular CNI Plugins
    13. kube-proxy
    14. Userspace Mode
    15. Iptables Mode
    16. IPVS Mode
    17. kernelspace Mode
    18. NetworkPolicy
    19. Network Policy Example with Cilium
    20. Selecting Pods
    21. Rules
    22. DNS
    23. IPv4/IPv6 Dual-Stack
    24. Conclusion
  6. 5. Kubernetes Networking Abstractions
    1. StatefulSets
    2. Endpoints
    3. Endpoint Slices
    4. Kubernetes Services
    5. NodePort
    6. ClusterIP
    7. Headless
    8. ExternalName Service
    9. LoadBalancer
    10. Services Conclusion
    11. Ingress
    12. Ingress Controllers and Rules
    13. Service Meshes
    14. Conclusion
  7. 6. Kubernetes and Cloud Networking
    1. Amazon Web Services
    2. AWS Network Services
    3. Amazon Elastic Kubernetes Service (Amazon EKS)
    4. Deploying an Application on AWS EKS Cluster
    5. Google Compute Cloud (GCP)
    6. GCP Network Services
    7. GKE
    8. Azure
    9. Azure Networking Services
    10. Azure Kubernetes Service
    11. Deploying an Application to Azure Kubernetes Service
    12. Conclusion
  8. Index
3.133.144.217