An Ultimate Kubernetes Hands-on Labs
Pre-requisite:
Preparing 5-Node Kubernetes Cluster
PWK:
GKE
Docker Desktop for Mac
Ubuntu
Using Kubectl
Pods101
- Viewing Your Pod
- Where is your Pod running on?
- Pod Output in JSON
- Executing Commands against Pod
- Terminating a Pod
- Adding a 2nd container to a Pod
ReplicaSet101
- Removing a Pod from ReplicaSet
- Scaling & Autoscaling a ReplicaSet
- Best Practices
- Deleting ReplicaSets
Deployment101
- Introductory Slides
- Creating Your First Deployment
- Checking the list of application deployment
- Scale up/down application deployment
- Scaling the service to 2 Replicas
- Perform rolling updates to application deployment
- Rollback updates to application deployment
- Cleaning Up
Scheduler101
Services101
- Introductory Slides
- Deploy a Kubernetes Service?
- Service Exposing More Than One Port
- Kubernetes Service Without Pods?
- Service Discovery
- Connectivity Methods
- Headless Service In Kubernetes?
StatefulSets101
- The difference between a Statefulset and a Deployment
- Deploying a Stateful Application Using Kubernetes Statefulset?
- Deploying NFS Server
- Deploying PV
- Deploying PVC
- Using Volume
- Recreate Pod
DaemonSet101
Jobs101
Ingress101
RBAC101
Service Catalog101
- What is Kubernetes Service Catalog?
- The Kubernetes Service
- Catalog Resources
- Catalog components
- Creating a sample Service Catalog
- Installing Service Catalog Helm Chart
- Installing minibroker
- Viewing the classes and plans for the Service Broker
- Using the Service Broker services
- Using the Service Broker services
- Creating the ServiceBinding
- Using the Service Catalog Service
- Cleaning up
Cluster Networking101
- Introductory Slides (Pending)
- What Is Cluster Networking In Kubernetes Sense?
- Kubernetes Networking Rules
- Types of Networks
- What is a Container Network Interface (CNI)?
- LAB- Weave Net Implementation
Network Policies101
- Introductory Slides (Pending)
- What is a Kubernetes Network Policy?
- Creating Your First NetworkPolicy Definition
- How can we fine-tune Network Policy using selectors?
- Deny Ingress Traffic That Has No Rules
- Deny Egress Traffic That Has No Rules
- Allow All Ingress Traffic Exclusively
- Allow All Egress Traffic Exclusively
Monitoring101
- Introductory Slides (Pending)
- Monitoring in Kubernetes
- Core Monitoring Pipeline
- Services Monitoring Pipeline
- What should you consider in Kubernetes Services Pipeline?
- What about Metrics Visualization?
- Changes To Watch For
Contributors
- Ajeet Singh Raina
- Sangam Biradar
- Rachit Mehrotra
- Saiyam Pathak
- Divyajeet Singh
- Apurva Bhandari
Kubernetes for Beginners
Installation & Getting Started
Bare Metal:
Demo Environment
Cloud Environment
IoT Platform
Kubernetes Workshop
- Lab #00: Running Nginx Pod
- Lab #01: Creating Nginx Pod
- Lab #02: Deleting Nginx Pod
- Lab #03: Creating a Deployment with 3 replicas of NGINX service
- Lab #04: Scaling the Deployment
K3s on Bare Metal
Helm
- Instaling WordPress Application on GKE using Helm
- Installing Helm to deploy Kubernetes Applications on Docker Enterprise 2.0 Made Easy
- Building Helm Chart for Kubernetes Cluster running on Docker Enterprise 2.0 using Docker-app 0.6.0
- Kubernetes Hands-on Lab #4 – Deploy Prometheus Stack using Helm on Play with Kubernetes Platform
- Installing Helm to deploy Kubernetes Applications on Docker Enterprise 2.0 Made Easy
Prometheus
- How To Setup Prometheus Monitoring On Kubernetes Cluster
- Setting up Alert Manager on Kubernetes
- Prometheus Self Discovery on Kubernetes