Skip to main content

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​

  1. Chapter 4.1 - Introduction to Services
  2. Chapter 4.2 - Types of Services
  3. Chapter 4.3 - Service Discovery

Part 2: Networking​

  1. Chapter 4.4 - Kubernetes Networking
  2. Chapter 4.5 - Network Policies
  3. Chapter 4.6 - Endpoints and EndpointSlices

Hands-on Labs​

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