Docker with Kubernetes Administration

Overview

This course combines the Docker and 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.

Structure

50% theory 50% hands on lab exercises

Prerequisites

Proficiency with the Linux CLI
A broad understanding of Linux system administration

Course duration

5 days

Supported Distributions:

Red Hat Enterprise Linux 7

Course outline

  1. Container Technology Overview
    1. Application Management Landscape
    2. Application Isolation
    3. Resource Measurement and Control
    4. Container Security
    5. Container Security
    6. Open Container Initiative
    7. Docker Ecosystem
    Lab Tasks
    1. Container Concepts runC
    2. Container Concepts Systemd
  2. Installing Docker
    1. Installing Docker
    2. Docker Architecture
    3. Starting the Docker Daemon
    4. Docker Daemon Configuration
    5. Docker Control Socket
    6. Enabling TLS for Docker
    7. Validating Docker Install
    Lab Tasks
    1. Installing Docker
    2. Install Docker via Docker Machine
    3. Protecting Docker with TLS
  3. Managing Containers
    1. Creating a New Container
    2. Listing Containers
    3. Viewing Container Operational Details
    4. Running Commands in an Existing Container
    5. Interacting with a Running Container
    6. Stopping, Starting, and Removing Containers
    7. Copying files in/out of Containers
    8. Inspecting and Updating Containers
    Lab Tasks
    1. Managing Containers
    2. Configure a docker container to start at boot.
  4. Managing Images
    1. Docker Images
    2. Listing and Removing Images
    3. Searching for Images
    4. Downloading Images
    5. Committing Changes
    6. Uploading Images
    7. Export/Import Images
    8. Save/Load Images
    Lab Tasks
    1. Docker Images
    2. Docker Platform Images
  5. Creating Images with Dockerfile
    1. Dockerfile
    2. Caching
    3. docker image build
    4. Dockerfile Instructions
    5. ENV and WORKDIR
    6. Running Commands
    7. Getting Files into the Image
    8. Defining Container Executable
    9. Best Practices
    Lab Tasks
    1. Dockerfile Fundamentals
  6. Docker Volumes
    1. Volume Concepts
    2. Creating and Using Internal Volumes
    3. Managing Volumes
    4. Changing Data in Volumes
    5. Removing Volumes
    6. Backing up Volumes
    7. SELinux Considerations
    8. Mapping Devices
    Lab Tasks
    1. Docker Volumes
  7. Docker Compose/Swarm
    1. Concepts
    2. Compose CLI
    3. Defining a Service Set
    4. Docker Swarm Proxy (Legacy)
    5. Docker Engine Swarm Mode (Modern)
    6. Creating a Swarm
    7. Creating Services
    Lab Tasks
    1. Docker Compose
    2. Docker Swarm Proxy
    3. Docker Engine Swarm Mode
  8. Docker Networking
    1. Overview
    2. Data-Link Layer Details
    3. Network Layer Details
    4. Hostnames and DNS
    5. Service Reachability
    6. Container to Container Communication
    7. Container to Container: Links
    8. Container to Container: Private Network
    9. Managing Private Networks
    10. Remote Host to Container
    11. Multi-host Networks with Overlay Driver
    Lab Tasks
    1. Docker Networking
    2. Exposing Ports
    3. Docker Links
    4. Docker Networking
    5. Multi-host Networks
  9. Docker Registry
    1. Docker Registry
    2. Docker Registry (secured)
    3. Docker Content Trust
  10. Kubernetes Intro and Concepts
    1. Cloud Computing in General
    2. Cloud Types
    3. Cloud Native Computing
    4. Application Containers
    5. Containers on Linux
    6. Container Runtime
    7. Container Orchestration
    8. Kubernetes
    9. Concepts, Objects Categories, and Architecture
    10. Kubernetes Master
    11. Kubernetes Note
    Lab Tasks
    1. Health Check
    2. Understanding Linux Namespaces
    3. Basic Docker Functionalities
  11. Installing Kubernetes
    1. Picking the Right Solution
    2. One Node Kubernetes Install
    3. Kubernetes Universal Installer
    4. Install Using kubeadm
    5. Kubernetes Networking
    Lab Tasks
    1. Check Kubernetes Status
    2. Run the First Pod
  12. Accessing Kubernetes
    1. Accessing the Kubernetes Cluster
    2. Controlling Access to the API
    3. Authorization
    4. Role Based Access Control
    5. Roles and ClusterRoles
    6. Role Bindings
    Lab Tasks
    1. Browse the Kubernetes API
    2. Use RBAC to Control Access to the API
  13. Kubernetes Workloads
    1. The Pod
    2. RestartPolicy Examples
    3. InitContainers
    4. Operations on Pods
    5. Replication Controller
    6. Working with Replication Controller
    7. Deployments
    8. Working with Deployments
    9. Jobs, CronJobs
    10. Jobs Example
    11. CronJobs Example
    12. DaemonSets
    Lab Tasks
    1. Pods Operations
    2. Replication Controller Operations
    3. Working with Deployments
    4. Using Jobs
    5. Using DaemonSets
  14. Scheduling and Node Management
    1. The Kubernetes Scheduler
    2. Assigning Pods to Nodes
    3. Assigning Pods to Nodes – Node Affinities
    4. Assigning Pods to Nodes – Pod Affinities
    5. Taints and Tolerations
    6. Managing Nodes
    Lab Tasks
    1. Scheduling Pods to Nodes
    2. Using Affinities
  15. Accessing the Applications
    1. Services
    2. Service Types
    3. Working with Services
    4. Ingress
    5. Ingress Definition
    6. Working with Ingress
    7. Network Policies
    8. Network Policy Example
    Lab Tasks
    1. Working with Services
    2. Working with Ingress
  16. Persistent Storage in Kubernetes
    1. Volumes
    2. Volume Example
    3. Volume Types
    4. Persistent Volumes
    5. Persistent Volume Example
    6. Secrets
    7. Using Secrets as Environmental Variables
    8. Using Secrets as Volumes
    9. ConfigMaps
    Lab Tasks
    1. Share a Volume in Two Containers
    2. Set the Root Password for a Mysql Pod Using Secrets
    3. Use ConfigMap to Pass a File to a Pod
  17. Logging, Monitoring, and Troubleshooting
    1. Logging Architecture
    2. Monitoring
    3. Troubleshooting
    Lab Tasks
    1. Investigate the Logging in Kubernetes
    2. Monitoring Kubernetes
    3. Upgrading Kubernetes



Wintrac Inc.
16523 SW McGwire Ct.
Beaverton OR 97007
© Wintrac, Inc. All rights reserved.                                                                               Site Map   |   Terms of Use   |   Privacy Policy