Difficulty: advanced
Estimated Time: 10 minutes

Welcome to Kubernetes The Hard Way!

This scenario is based on Kelsey Hightower's Kubernetes The Hard Way, but tailored for Katacoda's platform.

Congratulations for completing Kubernetes The Hard Way on Katacoda!

Kubernetes The Hard Way

Environment Setup

Let's set up our environment we will be working in.

Installing Utilities

Base Tools

sudo apt-get update && sudo apt-get install -y bash-completion curl tmux

Verification: tmux -V

PKI

The cfssl and cfssljson command line utilities will be used to provision a PKI Infrastructure and generate TLS certificates.

sudo curl -Lo /usr/local/bin/cfssl https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 && sudo curl -Lo /usr/local/bin/cfssljson https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 && sudo chmod +x /usr/local/bin/cfssl /usr/local/bin/cfssljson

Verification: cfssl version

kubectl

The kubectl command line utility is used to interact with the Kubernetes API Server.

sudo curl -Lo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.12.0/bin/linux/amd64/kubectl && sudo chmod +x /usr/local/bin/kubectl

Verification: kubectl version --client