MODULE 4 - Services and Networking
Overview
This module teaches you how to expose your applications in Kubernetes. You will discover Services, the different types of Services, service discovery, and Kubernetes networking.
Learning Objectives
By the end of this module, you will be able to:
- Understand Services and their role
- Use the different types of Services
- Understand service discovery
- Configure Kubernetes networking
- Use Network Policies
Estimated Duration
Theory: 4-5 hours
Practice: 3-4 hours
Total: 7-9 hours
Table of Contents
Part 1: Services
- Chapter 4.1 - Introduction to Services
- Chapter 4.2 - Types of Services
- Chapter 4.3 - Service Discovery
Part 2: Networking
- Chapter 4.4 - Kubernetes Networking
- Chapter 4.5 - Network Policies
- Chapter 4.6 - Endpoints and EndpointSlices
Hands-on Labs
- Lab 4.1 - ClusterIP and NodePort Services
- Lab 4.2 - Service Discovery with DNS
- Lab 4.3 - Network Policies
- Lab 4.4 - LoadBalancer and Cloud Integration
Validation
Key Concepts
Services
Services expose a set of Pods as a network service with a stable IP.
Types of Services
- ClusterIP: Internal cluster access
- NodePort: Exposes on a port of each node
- LoadBalancer: Exposes via a cloud load balancer
- ExternalName: Alias to an external service
Next Steps
Start by understanding Services:
Chapter 4.1: Introduction to Services
Lab 4.1: ClusterIP and NodePort Services
Module created: December 2024