Course #:GL355

Docker with Kubernetes Administration Training

This course combines the GL340 Docker and KBS101 Kubernetes Administration courses.

Participants will first understand the core features of Docker including: container creation and management, interacting with Docker hub, using Dockerfile to create and manage custom images, advanced Docker networking (how to safely expose container services to the world, and link containers), the use of Docker volumes to manage persistent data, and Docker Compose to build multi-container applications. Emphasis is placed on best practices and how to secure Docker installations and containers.

The second part of the course introduces participants to the basic concepts and architecture of Kubernetes, its initial install & setup, Kubernetes Pods, deployments and services, persistent storage, networking, automating deployment, scaling & management of containerized applications, the Kubernetes Helm Package Manager and finally it's logging and monitoring facilities.

This course doesn’t only prepare delegates for the daily administration of Docker & Kubernetes systems but also for the official Certified Kubernetes Administrator (CKA) exam of the Cloud Native Computing Foundation (CNCF).

Audience

System administrators and Devops professionals who want to understand and use Docker and Kubernetes in enterprise and cloud environments.

Prerequisites

  • Proficiency with the Linux CLI (GL120 "Linux Fundamentals).
  • A broad understanding of Linux system administration (GL250 "Enterprise Linux Systems Administration")

Duration

Five days

Outline of Docker with Kubernetes Administration Training

Chaper 1. Container Technology Overview

  • Application Management Landscape
  • Application Isolation
  • Resource Measurement and Control
  • Container Security
  • Container Security
  • Open Container Initiative
  • Docker Ecosystem

 Lab Tasks

  • Container Concepts runC
  • Container Concepts Systemd

Chapter 2. Installing Docker

  • Installing Docker
  • Docker Architecture
  • Starting the Docker Daemon
  • Docker Daemon Configuration
  • Docker Control Socket
  • Enabling TLS for Docker
  • Validating Docker Install

 Lab Tasks

  • Installing Docker
  • Install Docker via Docker Machine
  • Protecting Docker with TLS

Chapter 3. Managing Containers

  • Creating a New Container
  • Listing Containers
  • Viewing Container Operational Details
  • Running Commands in an Existing Container
  • Interacting with a Running Container
  • Stopping, Starting, and Removing Containers
  • Copying files in/out of Containers
  • Inspecting and Updating Containers

 Lab Tasks

  • Managing Containers
  • Configure a docker container to start at boot.

Chapter 4. Managing Images

  • Docker Images
  • Listing and Removing Images
  • Searching for Images
  • Downloading Images
  • Committing Changes
  • Uploading Images
  • Export/Import Images
  • Save/Load Images

 Lab Tasks

  • Docker Images
  • Docker Platform Images

Chapter 5. Creating Images with Dockerfile

  • Dockerfile
  • Caching
  • docker image build
  • Dockerfile Instructions
  • ENV and WORKDIR
  • Running Commands
  • Getting Files into the Image
  • Defining Container Executable
  • Best Practices

 Lab Tasks

  • Dockerfile Fundamentals

 

Chapter 6. Docker Volumes

  • Volume Concepts
  • Creating and Using Internal Volumes
  • Managing Volumes
  • Changing Data in Volumes
  • Removing Volumes
  • Backing up Volumes
  • SELinux Considerations
  • Mapping Devices

 Lab Tasks

  • Docker Volumes

Chapter 7. Docker Compose/Swarm

  • Concepts
  • Compose CLI
  • Defining a Service Set
  • Docker Swarm Proxy (Legacy)
  • Docker Engine Swarm Mode (Modern)
  • Creating a Swarm
  • Creating Services

 Lab Tasks

  • Docker Compose
  • Docker Swarm Proxy
  • Docker Engine Swarm Mode

Chapter 8. Docker Networking

  • Overview
  • Data-Link Layer Details
  • Network Layer Details
  • Hostnames and DNS
  • Service Reachability
  • Container to Container Communication
  • Container to Container: Links
  • Container to Container: Private Network
  • Managing Private Networks
  • Remote Host to Container
  • Multi-host Networks with Overlay Driver

 Lab Tasks

  • Docker Networking
  • Exposing Ports
  • Docker Links
  • Docker Networking
  • Multi-host Networks

Chapter 9. Docker Registry

  • Docker Registry
  • Docker Registry (secured)
  • Docker Content Trust

Chapter 10. Kubernetes Intro and Concepts

  • Cloud Computing in General
  • Cloud Types
  • Cloud Native Computing
  • Application Containers
  • Containers on Linux
  • Container Runtime
  • Container Orchestration
  • Kubernetes
  • Concepts, Objects Categories, and Architecture
  • Kubernetes Master
  • Kubernetes Note

 Lab Tasks

  • Health Check
  • Understanding Linux Namespaces
  • Basic Docker Functionalities

Chapter 11. Installing Kubernetes

  • Picking the Right Solution
  • One Node Kubernetes Install
  • Kubernetes Universal Installer
  • Install Using kubeadm
  • Kubernetes Networking

 Lab Tasks

  • Check Kubernetes Status
  • Run the First Pod

Chapter 12. Accessing Kubernetes

  • Accessing the Kubernetes Cluster
  • Controlling Access to the API
  • Authorization
  • Role Based Access Control
  • Roles and ClusterRoles
  • Role Bindings

 Lab Tasks

  • Browse the Kubernetes API
  • Use RBAC to Control Access to the API

Chapter 13. Kubernetes Workloads

  • The Pod
  • RestartPolicy Examples
  • InitContainers
  • Operations on Pods
  • Replication Controller
  • Working with Replication Controller
  • Deployments
  • Working with Deployments
  • Jobs, CronJobs
  • Jobs Example
  • CronJobs Example
  • DaemonSets

 Lab Tasks

  • Pods Operations
  • Replication Controller Operations
  • Working with Deployments
  • Using Jobs
  • Using DaemonSets

Chapter 14. Scheduling and Node Management

  • The Kubernetes Scheduler
  • Assigning Pods to Nodes
  • Assigning Pods to Nodes – Node Affinities
  • Assigning Pods to Nodes – Pod Affinities
  • Taints and Tolerations
  • Managing Nodes

 Lab Tasks

  • Scheduling Pods to Nodes
  • Using Affinities

Chapter 15. Accessing the Applications

  • Services
  • Service Types
  • Working with Services
  • Ingress
  • Ingress Definition
  • Working with Ingress
  • Network Policies
  • Network Policy Example

 Lab Tasks

  • Working with Services
  • Working with Ingress

Chapter 16. Persistent Storage in Kubernetes

  • Volumes
  • Volume Example
  • Volume Types
  • Persistent Volumes
  • Persistent Volume Example
  • Secrets
  • Using Secrets as Environmental Variables
  • Using Secrets as Volumes
  • ConfigMaps

 Lab Tasks

  • Share a Volume in Two Containers
  • Set the Root Password for a Mysql Pod Using Secrets
  • Use ConfigMap to Pass a File to a Pod

Chapter 17. Logging, Monitoring, and Troubleshooting

  • Logging Architecture
  • Monitoring
  • Troubleshooting

 Lab Tasks

  • Investigate the Logging in Kubernetes
  • Monitoring Kubernetes
  • Upgrading Kubernetes
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.