Preface

Welcome

Welcome to the Mirantis Accelarated Kubernetes and Docker Bootcamp (KD250). This course covers the critical skills needed to install Docker and Kubernetes, as well as deploy, run, and manage containerized applications on a Kubernetes cluster. Our objective is to prepare you for the Certified Kubernetes Administrator (CKA) exam, so Kubernetes will be our main focus, but we also cover any required Docker fundamentals needed to understand Kubernetes.

Course Objectives

After completing this course you will understand:

  • How to install Docker
  • How to use Docker to run and manage containers
  • How to build Docker images
  • How to install a Kubernetes cluster
  • How to create Kubernetes pods, deployments, and services
  • Hands-on experience with Kubernetes building blocks
  • Hands-on experience with Kubernetes best practices for developing, deploying and managing containerized applications
  • Understanding of Kubernetes architecture

This Guide Structure

This guide is designed to complement instructor-led presentations by providing step-by-step instructions for hands-on exercises.

Every chapter of this guide starts with Chapter Details and finishes with Checkpoint.

Chapter Details

Each chapter opens with a short description of the chapter’s goals and objectives, and an outline of the included sections.

Checkpoint

Each chapter ends with a summary of what was covered in the section. You can use Checkpoints to verify your understanding of the topic.

There are a number of notations that are used throughout the guide. They are here to provide you with extra information on the task at hand. Do not execute the steps listed in the notations.

Notes

Notes are tips, shortcuts or alternative approaches for the task at hand.

Reference

References are links to external documentation relevant to a subject.

Important

Important boxes indicate a warning or caution. They detail things that are easily missed and should not be overlooked. This is information that you must be aware of before proceeding.

Code blocks:

Commands to be executed in a terminal window
and an example of the output

Commands need to be executed exactly as they are written with the exception of the command prompt and the parts enclosed in < >, which need to be substituted with your data (typically either the lab environment IP address or ID of a previously created entity).

Example of the code block:

stack@master:~$ ping -c 5 <ip-address>
PING <ip-address> (<ip-address>) 56(84) bytes of data.
64 bytes from 192.168.224.2: icmp_seq=1 ttl=64 time=0.053 ms
64 bytes from 192.168.224.2: icmp_seq=2 ttl=64 time=0.052 ms
...

--- 192.168.224.2 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3996ms
rtt min/avg/max/mdev = 0.045/0.051/0.053/0.005 ms

Here stack@master:~$ is the command prompt and you are expected to execute the command ping -c 5 <ip-address> where you should substitute <ip-address> by the actual IP address given in the context of that step. The actual output may be different from the ones shown in the examples. For longer outputs, the non-important part is excluded and is typically substituted with “...”.

In most cases, we will omit the whole command prompt and will use only $ instead:

$ ping -c 5 <ip-address>
...

Contents