Please enable JavaScript.
Coggle requires JavaScript to display documents.
Kubernetes - Coggle Diagram
Kubernetes
Core Concepts
KUBERNETES ARCHITECTURE
kubernetes의 목적 : 자동화된 방식으로 컨테이너의 형태로 응용프로그램을 호스팅하는 것
Master : Manage, Plan, Schedule, Monitor Nodes
kube-apiserver
ETCD CLUSTER
kube Controller-Manager
Node-Controller
Replication-Controller
kube-scheduler
Worker Nodes : Host Application as Containers
kubelet
kube-proxy
Container Runtime Engine
ETCD FOR BIGINNERS
ETCD is a distributed reliable key value store that is Simple Secure & Fast
Install ETCD
Download Binaries
Extract
Run ETCD Service
ETCD in kubernetes
Nodes / PODs / Configs / Secrets / Accounts / Roles / Bindings / Others
Setup Manual
wget -q -https-only "
https://github.com/coreos/etcd/releases/download/v3.3.9/etcd-v3.3.9-linux-amd64.tar.gz
"
etcd.service
--advertise-client-urls
https://${INTERNAL_IP}:2379
Setup kubeadm
kubectl get pods -n kube-system
kubectl exec etcd-kubemaster -n kube-system etcdctl get / --prefic -keys-only
ETCD in HA
etcd.service
--initial-cluster controller-0=
https://${CONTROLLER0_IP}:2380,controller-1=https://${CONTROLLER1_IP}:2380
kube-apiserver
Authentication User
Validate Request
Retrieve data
Update ETCD
Scheduler
Kubelet