Docker with Kuberneters Administration - GL355 Course Outline

(5 Days)

Overview

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 Profile

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

    )

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

  1. 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

  1. 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.

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. DOCKER REGISTRY
    1. Docker Registry
    2. Docker Registry (secured)
    3. Docker Content Trust

  2. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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