Skip to content

Latest commit

 

History

History
83 lines (57 loc) · 3.01 KB

README.md

File metadata and controls

83 lines (57 loc) · 3.01 KB

Pythoneers Kubernetes Workshop

This workshop is designed to give you a basic understanding of Kubernetes and how to deploy a simple python application using Kubernetes.

Table of Contents

Prerequisites

There are some prerequisites that you need to have installed on your machine before you can start with the workshop.

  1. The Kubernetes CLI (kubectl)
  2. A Kubernetes Cluster (Docker Desktop or Podman Desktop (Kind))

Kubernetes CLI

To install the Kubernetes CLI, follow the instructions on the official Kubernetes documentation: [https://kubernetes.io/docs/tasks/tools/#kubectl]

A Kubernetes Cluster

Choose one of the following options to create a Kubernetes cluster on your machine:

Create a Kubernetes cluster using Docker Desktop

Create a Kubernetes cluster using Podman Desktop (Kind)

Verify your setup

You should be able to run the following commands in your terminal:

kubectl version
docker version

or

podman version

Check if you have a running Kubernetes cluster running the following command:

kubectl get nodes

A node called docker-desktop or kind-control-plane should be listed or similar.

The exercises

The workshop is divided into three parts:

  • Part 1: Pods and Deployments
  • Part 2: Services and ConfigMaps & Secrets
  • Part 3: Statefulness and persistance