1
KUBERNETES FOR
BEGINNERS
2
3
DCA
4
5
6
7
8
9
disk
networking isolation
leveraging the
host’s freeBSD kernel
resource
management
process separation
Leverages single linux
kernel resource
allocation
namespace isolation
default runtime
10
11
12
13
Compute Instance
ETCD ServiceKube SchedulerKube Controller
Manager
Kube API Server
admin.kubeconfig
API Cert
controller.kubeconfig schedule.kubeconfig encryption.yaml
ETCD Cert
14
Compute Instance
resolvKube Proxykubeletcontainerd
config.toml
API Cert
worker.kubeconfig
kube-proxy
.kubeconfig
resolv.conf
pod
15
Control Plane
N+
API Server
Controller Manager
Scheduler
ETCD
K8s Worker - Node
API Server
Kubelet
Kube-Proxy
Resolv
K8s Worker - Node
API Server
Kubelet
Kube-Proxy
Resolv
16
17
18
19
20
~ kubectl run ngnix --image=nginx --replicas=2
~ kubectl apply -f ./myapp.yaml
~ kubectl get {pods, deployments, nodes, services, namespaces..}
~ kubectl config current-context
21
~ kubectl exec -it /bin/sh
~ kubectl port-forward deployment/myappdeployment 1443:443
~ kubectl top node node1
~ kubectl log deployment/myappdeployment
22
23
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: prometheus-deployment
namespace: monitoring
spec:
replicas: 3
24
25
pod
application container
sidecar service
logging
backend
26
27
28
29
30
31
32
Jetstack
33
Nebulaworks
Github: Kubernetes the Hard Way
The Children's Illustrated Guide to Kubernetes
Tutorials
34
35
36
●
●
●
●
37
●
●
●
●
Less work managing the cluster
38
39
40

Kubernetes for Beginners