000000-Dockers & Kubernetes
000000-Dockers & Kubernetes
• Welcome
• Motivation & Goals
• Before We Begin
• Parts
1. Intro to Dockers & Containers
2. Intro to Kubernetes (k8s)
• Wrap-up & Advanced Topics
• About Me
• Computer science background
• Physics / Geophysics / Applied Mathematics
• Involved with GPU/HPC/Cloud infrastructures and computing
• Today’s compute tasks are getting more complex and heavier than
before
• Me:
• Technical overview
• Live demonstrations
• You:
• Self paced tasks
• Increasing level of complexity
• For us:
• Contains all the necessary tools pre-installed
• As if running on a local computer
• Type in terminal:
# docker run -it ubuntu:20.04 /bin/bash
• A special cp sub-command
• Move files between local file-system and a running container
• Very easy to use
• Standardized service
• Provides image storage, versioning + tagging (and more)
• Use docker utility to connect
• Checkout: DockerHub and free pricing plan (implicit use till now)
Questions?
All rights reserved (c) 2021 09/12/2021
Part 2 – Intro to Kubernetes 41
POD
• Node = actual server with multiple CPUs 1 2 1 2
• Pod = a running container instance 3 4 3
Node A Node B
• Service = long-lived, managed software in a container
• Job = Short-lived, dedicated task software in a container
• Some may have heard on helm, but it’s outside the scope
• Optional
• Monitor jobs status
• Copy results from finished jobs to local environment
Questions?
All rights reserved (c) 2021 09/12/2021
Wrap-up & Advanced Topics 57
• Dockers • k8s
• Repeat tasks with a docker • Become familiar with resource
installation on your PC/Mac limits
• Consume and customize richer • Understand secrets
images • Experiment with minikube (local
• Pre-built with ML/AI etc. k8s server)
• Attach cloud storage to container
• Auto-scaling
• Node type filtering