/k101

Kubernetes introduction workshop

Primary LanguageShell

Kubernetes introduction workshop

Before we begin, please prepare your workstation:

  1. Open https://github.com/cbalan/k101
  2. Open https://www.katacoda.com/courses/kubernetes/playground and click "Start Scenario".
  3. On the master node, clone this repository. All code samples paths are relative to this repository root.
git clone https://github.com/cbalan/k101 && cd k101
  1. Confirm that the cluster is ready using the following command:
kubectl cluster-info

At any moment during the workshop, if you have any questions, please let the organizers know.

Agenda

Workstation setup

All samples assume that the audience already has access to a kubernetes cluster.

To keep things simple, the following browser based Katacoda playground can be used: https://www.katacoda.com/courses/kubernetes/playground

Alternatively, the following tools can be used:

Terminology

Some of these may or may not be obvious:

  • manifests - All Kubernetes api objects are defined via YAML format
  • k8s, kube - shortcuts, references to the Kubernetes project
  • kube control, kube C T L, "kube cuddle" - reference to kubectl command line
  • SIG - Special Interest Group. Kubernetes SIG list available here: https://github.com/kubernetes/community/blob/master/sig-list.md

I'm done! What's next?

This workshop is barely scratching the surface. Please refer to https://kubernetes.io/docs/concepts/ for advanced topics like security, storage, networking and cluster administration.

Check out how other projects are deployed on Kubernetes via helm charts. https://github.com/helm/charts/tree/master/stable/

Probably check out first what helm is at https://helm.sh/

Check out https://landscape.cncf.io/

Check out https://operatorhub.io/

Learn how to use managed Kubernetes powered by a cloud provider:

Or build a Kubernetes cluster from scratch: https://github.com/kelseyhightower/kubernetes-the-hard-way

Resources