(reference: https://www.youtube.com/watch?v=Krpb44XR0bk&feature=youtu.be)
Master: the node responsible for the workload orchestration Minion: the node that will run a workload A node can have both roles.
A machine (physical or virtual) will be a master/minion.
A single unit of work. It can have one or more containers.
Runs inside a node. Exposes ports internally and/or externally. It is also a load balancer.
Receives requests and forwards them to services.
“Environment variables” that you attach to a pod.
Sensitive “environment variables”, like passwords, api keys, certificates.
“External hard drives” to the cluster. k8s does not manage volumes, just attaches itself to them.
In practice, is what you work with. With a deployment you specify app replicas, scale apps up and down, etc…. Apps like DBs cannot be replicated using deployments, since they are more sensitive to simultaneous writes.
Replication/deployments for apps like DBs. It makes sure reads and writes are synchonized.