Duration:
5 Days
Audience:
Employees of federal, state and local governments; and businesses working with the government.
Course Description:
This course combines the GL340 Docker and GL360 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, and finally it’s logging and monitoring facilities.
Structure: 50% theory 50% hands on lab exercises
Target audience: System administrators and Devops professionals who want to understand and use Docker and Kubernetes in enterprise and cloud environments.
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, and finally it’s logging and monitoring facilities.
Structure: 50% theory 50% hands on lab exercises
Target 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”).
-
Supported Distributions:
Red Hat Enterprise Linux 7
-
Course Outline:
- CONTAINER TECHNOLOGY OVERVIEW
- Instructor – Docker Demo
- Application Management Landscape
- Application Isolation
- Resource Measurement and Control
- Container Security
- OverlayFS Overview
- Container Security
- Open Container Initiative
- Docker Alternatives
- Docker Ecosystem
- Docker Ecosystem (cont.)
LAB TASKS
- Container Concepts runC
- Container Concepts Systemd
- 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
- Protecting Docker with TLS
- MANAGING CONTAINERS
- Creating a New Container
- Listing Containers
- Managing Container Resources
- 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
- Docker Output Filtering & Formatting
LAB TASKS
- Managing Containers
- Configure a docker container to start at boot.
- MANAGING IMAGES
- Docker Images
- Listing and Removing Images
- Searching for Images
- Downloading Images
- Uploading Images
- Export/Import Images
- Save/Load Images
- Committing Changes
LAB TASKS
- Docker Images
- Docker Platform Images
- CREATING IMAGES WITH DOCKERFILE
- Dockerfile
- Caching
- docker image build
- Dockerfile Instructions
- ENV and WORKDIR
- Running Commands
- Getting Files into the Image
- Defining Container Executable
- HEALTHCHECK
- Best Practices
- Multi-Stage builds with Dockerfile
LAB TASKS
- Dockerfile Fundamentals
- Optimizing Image Build Size
- Image Builds and Caching
- DOCKER VOLUMES
- Volume Concepts
- The docker volume Command
- Creating and Using Internal Volumes
- Internal Volume Drivers
- Removing Volumes
- Creating and Using External Volumes
- SELinux Considerations
- Mapping Devices
LAB TASKS
- Docker Internal Volumes
- Docker External Volumes
- DOCKER COMPOSE/SWARM
- Writing YAML Files
- Concepts
- Compose CLI
- Defining a Service Set
- Compose Versions
- Docker Engine Swarm Mode
- Docker Swarm Terms
- Docker Swarm Command Overview
- Creating a Swarm
- Creating Services
- Creating Secrets
- Stack Files
- Stack Command
- Swarm Placements
- Swarm Resource Limits & Reservations
- Swarm Networking
- Swarm Networking Troubleshooting
LAB TASKS
- Docker Compose
- Docker Engine Swarm Mode
- DOCKER NETWORKING
- Overview
- Data-Link Layer Details
- Network Layer Details
- Hostnames and DNS
- Service Reachability
- Container to Container Communication
- Container to Container: Links (deprecated)
- Container to Container: Private Network
- Managing Private Networks
- Remote Host to Container
LAB TASKS
- Docker Networking
- Exposing Ports
- Docker Networking
- DOCKER LOGGING
- Docker Logging
- Docker Logging with json-file and journald
- Docker Logging with syslog
- Docker Logging with Graylog or Logstash
- Docker Logging with Fluentd
- Docker Logging with Amazon or Google
- Docker Logging with Splunk
LAB TASKS
- Logging to syslog
- KUBERNETES CORE CONCEPTS
- CKA Objectives Covered
- Kubernetes Architecture
- Cluster Communication
- Objects
- Object Properties
- Labels & Selectors
- Annotations
- Object Management
- Object Management (cont.)
- Image Fundamentals
- Container Fundamentals
- Pod Fundamentals
- Working with Pods
LAB TASKS
- Container and Pod Fundamentals
- Single Node Install
- Pod Fundamentals
- INSTALLATION
- CKA Objectives Covered
- Installing HA Control Plane (DEMO)
LAB TASKS
- Kubernetes HA Masters Install
- Kubernetes Install
- Joining Worker Nodes
- APPLICATION LIFECYCLE MANAGEMENT
- CKA Objectives Covered
- Pod Lifecycle
- Container Lifecycle
- Init Containers
- Container: command and args
- Container: Defining Environment
- ReplicaSet
- Deployments
- Working with Deployments
- Deployment Rollouts
LAB TASKS
- Pod Lifecycle
- Init Containers
- Deployments
- NETWORKING
- CKA Objectives Covered
- Network Overview
- Service Discovery & CoreDNS
- Container Network Interface (CNI)
- Services
- Ingress Objects
LAB TASKS
- Ingress Controller
- Port-Forwarding
- Services
- Ingress
- STORAGE
- CKA Objectives Covered
- Storage
- Volume Types
- Volume Types
- Static Volumes (DEMO)
- ConfigMaps
- ConfigMaps
- Secrets
LAB TASKS
- (DEMO) Static Volumes
- (DEMO) ConfigMaps & Secrets
- Static Volume Provisioning
- ConfigMaps and Secrets
- SCHEDULING
- CKA Objectives Covered
- Controlling and Tracking Resources
- Scheduler Operation
- DaemonSet
- Node Affinity & Anti-affinity
- Pod Affinity & Anti-affinity
- Taints & Tolerations
LAB TASKS
- (DEMO) Affinity and Taints
- Pod Resources and Scheduling
- Static Scheduling and Daemonsets
- Pod and Node Affinities
- DOCKER REGISTRY LAB TASKS
- Docker Registry
- Docker Registry (secured)
- Docker Content Trust
- JOBS AND CRONJOBS
- Jobs
- CronJobs
LAB TASKS
- Jobs
- CronJobs
- LINUX CONTAINERS
- Application Management Landscape
- Application Isolation
- Resource Measurement and Control
- Container Security
- OverlayFS Overview
- Container Security
- Open Container Initiative
LAB TASKS
- Container Concepts runC