Kubernetes Advanced - 2 Days

(c) CC0 Public Domain / Pixabay.com

 

Course Description:

This course covers some advanced topics that become relevant when using Kubernetes to orchestrate application at scale, in the data center or in the cloud.

The course continues the Basic Kubernetes course with presenting some more advanced Kubernetes resources like Job, CronJob, Daemoset, ConfigMap and Secrets. It also covers the Ingress Resources alongside with the Ingress Controller. Helm is a widely use package manager for installing, upgrading and managing Kubernetes application and the students will have the chance to understand the concepts and use it. Next, the course covers the basic concepts of Kubernetes Security and RBAC mechanism. In the end, the course covers 2 major topics that should be part of every Kubernetes cluster: Centralized Logging and Monitoring. The students will be able to see how can centralized logging be achieved by using ELK stack and also monitoring by using Prometheus and Grafana dashboards.

Note: Every student has assigned to him his own virtual lab environment setup.

What will you learn:

After completing this course, the students will have a firm understanding on more advanced Kubernetes Resources, how can a Kubernetes cluster be monitored and also how the logs are stored in a centralized manner.

Target audience:

  • DevOps engineers
  • Linux system administrators
  • Systems design engineers
  • Architects

Prerequisites:

  • Participants must have a basic knowledge of Kubernetes:
    • Kubernetes terminology (nodes, pods, resources)
    • Interacting with a Kubernetes cluster via the command line (kubectl)
    • Resource primitives (nodes, pods, replicasets, deployments, etc)
  • Recommended training: Kubernetes Basic.

 

Curriculum:

Module 1. Daemon Sets. CronJobs. Secrets. ConfigMaps

  • CronJobs – running tasks periodically
  • ConfigMaps – deploying reusable applications
  • Secrets – passing around sensitive information
  • DaemonSets – pods on every node

              Hands-on Lab: DaemonSets. CronJobs. ConfigMaps

Module 2. Ingresses. The Nginx Ingress Controller

  • Ingress Controller
  • Ingress Operation
  • Deploying the ingress Controller
  • Ingress Resource
  • Path Manipulation

              Hands-on Lab: Ingress

Module 3. The Kubernetes Dashboard. Helm - The Kubernetes Package Manager

  • Installing the Kubernetes Dashboad
  • Connecting to the dashboard using Kubectl proxy, NodePort and External auth proxy
  • Dashboard User
  • Helm Overview
  • Helm Components
  • Installing Helm
  • Helm commands and usage examples

              Hands-on Lab: Kubernetes Dashboard. Helm

Module 4. Security. Role-Based Access Control

  • Identity and Access Management
  • Service Accounts
  • User Management
  • RBAC Terminology Explained
  • Role Scoping

              Hands-on Lab: Security. RBAC

Module 5. Working with Logs. Centralized Logging - Elastic Stack

  • Kubernetes Logging
  • Centralized logging with Elastic Stack

              Hands-on Lab: Logging

Module 6. Monitoring. Prometheus/Grafana

  • Kubernetes metrics
  • Metrics Terminology
  • Collecting metrics
  • Using Prometheus for monitoring
  • Deploying Prometheus
  • Using Grafana for time series analytics
  • Grafana + Prometheus
  • Using Elastic Stack for monitoring

              Hands-on Lab: Monitoring

              Module 7. Advanced Pod Scheduling

  • nodeName and nodeSelector
  • Affinity and Anti-Affinity
  • Terms and Expressions
  • Node Affinity Operations
  • Taints and Tolerations
  • Cordon and Drain
  • Resource Control
  • Requests and Limits

              Hands-on Lab: Advanced Pod Scheduling

 

Additional details:

To attend this course, you need to have:

  • PC/Laptop with internet access
  • Updated web browser

 


Kubernauts Worldwide Meetup

Join our online sessions at Kubernauts Worldwide Meetup and enjoy free trainings and great presentations from the kommunity!

meet us

Learn about Kubernautic

Kubrnautic is a Platform ready to build Cloud Agnostic Kubernetes Platforms!

Learn more +