/from-docker-to-kubernetes

A self-paced workshop from Docker basics to Kubernetes

Primary LanguageHTMLCreative Commons Zero v1.0 UniversalCC0-1.0

From Docker to Kubernetes: A Workshop

What This Is

This is a workshop which introduces basic Docker and Kubernetes concepts - how to use it, why it's important, and where to get more information afterwards. This workshop is designed to be self-running, and contains practical and conceptual information inside the repository.

This workshop aims to for the comprehension and application of Docker knowledge.

Prerequisites (Docker)

Before beginning this workshop, you must:

docker login

Prerequisites (Kubernetes)

The Really Easy Way (Using Google Kubernetes Engine)

We can run the workshop with GKE (Google Kubernetes Engine), as part of Google Cloud. Google Cloud is one of the big three platform providers (along with AWS and Azure) that serve a lot of the industry - and signup is simple. It's also free, as long as we clean up later.

Instructions are in this link. This is the best way to go!

Use this option if you are less familiar with the command line and want to experiment with Google Cloud.

The Not-so-easy Way (Using Minikube)

If you want to install a single-node Kubernetes cluster on your machine to play with, you can install with Minikube. With this way, you'll be able to see your deployments with your browser.

If you are using a Windows computer, use the instructions here.

Otherwise, if you are using a Mac, use the instructions here.

Use this option if you're more familiar with with the command line. Keep in mind minikube is used for testing from your local machine and could be useful for your kubernetes usecase.

Prerequisites (Git)

Setting up git

You'll need to create a Personal Access Token and use that token on the command line.

After you've setup an environment with Docker and Kubernetes, you're going to need some files from this repository for parts of this workshop.

If you're running the workshop on your computer, you'll need the files there.

If you're using Google Kubernetes Engine, you'll also need the files there.

git clone https://github.com/DevOps-Represent/from-docker-to-kubernetes.git

The Workshop

Docker

The Docker workshop has three components:

Kubernetes