Services and Networking
Introduction
Table of Contents
Kubernetes Networking Model
Networking Principles
CNI Plugins
Service Types and Use Cases
Service Type Decision Tree
ClusterIP Services
Basic ClusterIP Service
Session Affinity
Multi-Port Services
Named Ports
NodePort Services
NodePort Service Example
NodePort with Custom Range
NodePort Best Practices
LoadBalancer Services
LoadBalancer Service Example
AWS Load Balancer Controller
MetalLB for Bare Metal
ExternalName Services
ExternalName Example
External Service with Endpoints
Headless Services
Headless Service Example
Ingress Controllers
Ingress Architecture
Installing NGINX Ingress Controller
Alternative Ingress Controllers
Ingress Resources
Basic Ingress
Advanced Ingress with Multiple Hosts
Path-Based Routing
TLS/SSL Configuration
Rate Limiting and Auth
DNS and Service Discovery
DNS Records
CoreDNS Configuration
Testing DNS Resolution
Custom DNS Configuration
Network Policies
Default Deny All Traffic
Allow Specific Traffic
Database Network Policy
IP Block Rules
Troubleshooting Network Issues
Debugging Network Connectivity
Check Service Endpoints
Verify Network Policies
CNI Plugin Issues
Service Communication Test Script
What I Learned
Last updated