4. Who am I ?
● INOH, Akihito / atoato88
○ OpenStack コミュニティ
■ OpenStack Summit Sydney で Kubernetes の LT してきました。
“Which is the best way to install Kubernetes on OpenStack”
Motohiro Otsuka, Akihito Inoh
○ 言語
■ Python (2014 - )
■ Go (2017 - )
○ 趣味(?)
■ I’m interested in deployment for k8s cluster with arm SoC, now.
自宅用のk8s環境を現在構築中。 できるといいな。
master: Raspberry Pi 3 3台
worker: ROCK64 MEDIA BOARD COMPUTER 3台
12. What is Self-Hosting?
“Self-hosted” refers to the ability of a system to be expressed in terms of
itself.
● For a compiler, this means building the compiler from source using the
compiler itself.
● For an operating system, self-hosting implies that the install tools and
upgrade facilities use that operating system running on that machine to
implement their functions – that the system does not require a
supervisory host to bootstrap it into life.
This "hosted" model is seen in historical systems, in many systems during
their early development, and in minimalist embedded systems to this day.
Self-hosting solves chicken-and-egg problems in software.
https://coreos.com/blog/self-hosted-
kubernetes.html
18. Working PC
the Tool
Master Master Master Worker Worker Worker
凡例
Systemd Unit
Static Pod
DaemonSet
Deployment
Pod,Container
19. Working PC
the Tool
Manifest
Manifest
Manifest
Master Master Master Worker Worker Worker
Manifest
Manifest
Systemd
Unit
凡例
Systemd Unit
Static Pod
DaemonSet
Deployment
Certs
Certs
Certs
Kubernetes 構築に必
要な asset を生成
Pod,Container
20. Working PC
the Tool
Manifest
Manifest
Manifest
Master Master Master Worker Worker Worker
kubelet kubelet kubelet kubelet kubelet kubelet
Systemd
Unit
凡例
Systemd Unit
Static Pod
DaemonSet
Deployment
Certs
Certs
Certs
Systemd
Unit
Systemd
Unit
Systemd
Unit
Systemd
Unit
Systemd
Unit
kubelet を各ノードで
systemd unit として起動
Pod,Container
21. Certs CertsCerts
Working PC
the Tool
Manifest
Manifest
Manifest
Master Master Master Worker Worker Worker
kubelet kubelet kubelet kubelet kubelet kubelet
etcd etcd etcd
凡例
Systemd Unit
Static Pod
DaemonSet
Deployment
Certs
Certs
Certs
Master Master Master
kubelet kubelet kubelet
Certs
Certs
Certs
etcd
Manifest
etcd
Manifest
etcd
Manifest
Master 各ノードで
etcd を Static Pod として起動
Pod,Container
22. Working PC
the Tool
Manifest
Manifest
Manifest
Master Master Master Worker Worker Worker
kubelet kubelet kubelet kubelet kubelet kubelet
etcd etcd etcd
bootstrap
kube-apiserver
bootstrap
kube-cm
bootstrap
kube-scheduler
凡例
Systemd Unit
Static Pod
DaemonSet
Deployment
Certsbootst
rap
Manifest
bootstrap で利用する、完全に動
作する Kubernetes Control
Plane を 1 ノードで起動
Pod,Container