Kubernetes Concept This is a platform for change current state to desired state.
Note Desired State → Kubernetes → Current State ≠ Desired State → Current State ⇒ Desired State Kubernetes Concept Source
https://ooeunz.tistory.com/118
Kubernetes Structure Note Here’s explanation of Kubernetes structure that I understand.
So, it could be wrong.
I just record for memory. Cluster A computing set they have a same purpose.
In Kubernetes, there are Master and Node.
Master A controller for managing the Cluster.
Node This is a physical machine that is for deploying containers.
POD The POD is a deployment unit in Kubernetes.
A POD has multiple containers.
The Kubernetes is managing this unit.
What is mean of Method? The Method means a function of a class in OOP.
Value vs Pointer receiver There are two ways to receive the structure.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 package main type Rect struct { width, height int } // Value receiver func (r Rect) areaWithValue() int { r.
Go package manager Initialize Go init
1 go init mod [Package Name] This command generate a go.mod file.
Generate requirements Go requirements
1 go mod tidy This command add requirements to go.mod and generate go.sum.