![Page 1: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/1.jpg)
Demystifying Kubernetes: An introduction for Sysadmins & co.
Federica Teodori
Project Manager
Miquel Sabaté
Software Engineer
![Page 2: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/2.jpg)
2
In the beginning, there was ...
● A developer● An application● Many problems
![Page 3: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/3.jpg)
3
/ˌpanəˈsiːə/nouna solution or remedy for all difficulties or diseases.
![Page 4: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/4.jpg)
4
Live long and prosper!
![Page 5: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/5.jpg)
5
Reality check:
![Page 6: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/6.jpg)
6
The “orchestration” problem
● Isn't really anything new ● Not “containers only” problems● Distributed DC. Highly Available applications, load balancers ...● Do we really need to reinvent the wheel yet another time?
![Page 7: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/7.jpg)
7
Orchestrate!
![Page 8: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/8.jpg)
8
Kubernetes facts:
● Container orchestrator● Open source● Based on rock solid papers● Opinionated solution: has an answer to most questions● Created by Google, now part of the CNCF● Big and active community● Battle-tested with real-world production scenarios
![Page 9: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/9.jpg)
9
Concepts: container
● Contains an application and its required environment● Isolated, so load balancing, connectivity, storage, etc. becomes a challenge● The most basic unit from the Kubernetes point of view
![Page 10: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/10.jpg)
10
Concepts: pod
● A runnable unit of work● It can be just one container, or multiple related containers● Kubernetes connects pods to the network and the cluster environment.
![Page 11: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/11.jpg)
11
Concepts: replication controller
● Manages pods● Makes sure that a specific number of “replicas” are running at the same time
![Page 12: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/12.jpg)
12
Concepts: service
● An abstraction that tells to Kubernetes what is your application providing
• This information is also given to all pods and replication controllers.● The IP and port of a service always stays the same
• Managed by Kubernetes
• Integrated service discovery
![Page 13: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/13.jpg)
13
Concepts: volume
● A location where containers can access and store data● There are lots of storage backends: local storage, Ceph, etc.
![Page 14: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/14.jpg)
14
Concepts: label
● A way to identify anything● Open-ended: the meaning of a label is up to the administrator
![Page 15: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/15.jpg)
15
Concepts: namespace
● Grouping mechanism● A degree of isolation for the different parts of your cluster
![Page 16: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/16.jpg)
16
Architecture
![Page 17: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/17.jpg)
17
Cool, how do I deploy it?
![Page 18: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/18.jpg)
18
You simply need to...
● Install certificates on each node.● Install, configure and make sure that the following work together on
multiple nodes:● etcd● All the Kubernetes binaries: kube-proxy, kubelet, kube-controller-manager,
kube-scheduler, kube-apiserver.● flannel● Docker
● That’s a total of 5 extra configuration files for each master, plus 4 for each minion, and another one for etcd.
● Read for quite some hours “Getting started” guides.
![Page 19: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/19.jpg)
19
What are we doing?
![Page 20: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/20.jpg)
20
SUSE & Kubernetes:
● Main focus: Reduce administration overhead
- SUSE OpenStack Cloud 7 and Magnum
- SUSE Containers as a Service Platform
![Page 21: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/21.jpg)
21
Questions ?
![Page 22: Demystifying Kubernetes: An introduction for …...Demystifying Kubernetes: An introduction for Sysadmins & co. Federica Teodori Project Manager fteodori@suse.com Miquel Sabaté Software](https://reader034.vdocuments.site/reader034/viewer/2022042223/5ec9907a9e8dd935cd3e5759/html5/thumbnails/22.jpg)