Kubernetes

Production grade container orchestration

24 May 2019

Mauri de Souza Meneguzzo

Kubernetes aka k8s aka kube

2

What is kubernetes?

3

Features of Kubernetes

4

Kubernetes cluster

Nodes

Network

5

Cluster Architecture

Kubernetes Master

6

Kubernetes Node - Minion

7

Cluster Architecture

8

Namespaces

kubectl run nginx --image=nginx
kubectl describe deployment nginx
kubectl delete deployment nginx
kubectl run nginx --image=nginx --namespace=my-namespace
kubectl describe deployment nginx
9

Pods, Kubernetes Work Units

10

Jobs

Run one or more pods and tracks its progress. Kubernetes ensures that the specified number of pods are completed successfully.

Scheduled Job

11

Service

Types of Services

12

Labels & Selectors

Labels

Selectors

kubectl get pods -l "app=myWebServer"
13

Replication Controller

14

Replica Sets

15

Deployments

kubectl run nginx --image=nginx
kubectl get deployments
kubectl set image deployment/nginx nginx=nginx:1.9.1
kubectl rollout status deployment nginx
kubectl rollout history deployment nginx
kubectl rollout history deployment nginx --revision=1
kubectl rollout undo deployment nginx
16

Volumes

Types of Volumes

17

Persistent Volume and Volume Claim

Persistent Volume

Persistent Volume Claim

18

Secrets

Using Secrets

19

Ingress

20

Useful links

k8s.io.

My talks are written with golang.org/x/tools/present

Find this talk at talks.mauri870.com

21

Thank you

24 May 2019

Mauri de Souza Meneguzzo

Use the left and right arrow keys or click the left and right edges of the page to navigate between slides.
(Press 'H' or navigate to hide this message.)