Study-journal

I will be uploading my notes and progress to this instead of a blog until I make one

View on GitHub

kubernetes crash course

Code: Yes Created: Mar 21, 2021 3:52 PM Importance: very important Materials: https://www.youtube.com/watch?v=X48VuDVv0do Reviewed: No context: DevOps, kubernetes source: YT

intro

orchestration tool for containers

cons

k8s components

pod

service

external service

internal service

ingress

forward requests to services

configmap:

secret:

volumes

we can attach either local or remote (outside k8s cluster)

k8s doesn’t manage data persistence you have to manage it explicitly using volumes

replica

Deployment:

stateless

statefulSet:

we need DB replica too but we can’t do this using Deployment becuase it has a state (its data)

DB are often hosted outside of K8S cluster

K8S Architecture

worker machine

3 processes must be installed on each node

kubelet

container runtime

kubeproxy

how to interact with cluster

master node

master processes

1 - api server

2 - scheduler

3 - controller manager

4 - etcd(cluster brain)

application data not stored in etcd

we can multiple master nodes

example cluster