From 01f791ee68194d0da79e314b6ba11a22fd7d0dac Mon Sep 17 00:00:00 2001 From: Jason Lu Date: Wed, 18 Dec 2024 14:05:28 +0800 Subject: [PATCH] add notes for k8s cluster --- kubernetes cluster.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 kubernetes cluster.md diff --git a/kubernetes cluster.md b/kubernetes cluster.md new file mode 100644 index 0000000..5e7e0e5 --- /dev/null +++ b/kubernetes cluster.md @@ -0,0 +1,23 @@ +kubernetes cluster + +### Control Plane Components + +- control plane : manage the overall state of the cluster + kube-api server: The core component server that exposes kubernetes HTTP API + etcd: Consistent and highly-avaliable key value store for all API server data + kube-scheduler: looks for pods not yet bound to a node, and assigns each pod to a suitable node. +- kube-controller-manager: Runs controllers to implement kubernetes API behavior. + cloud-controller-manager: integrates with underlying cloud providers. (optional) + +### Node Components + +- kubelet: Ensures that pods are running, including their containers. +- kube-proxy: Mantains network rules on nodes to implement services. (optional) +- container runtime: Software responsible for running containers. + +### Add Ons + +- DNS: For cluster wide DNS resolution +- web UI(dashboard): For cluster management via web interface. +- Container resource monitoring: For collecting and storing container metrics. +- cluster-level logging: For saving container logs to a central log store. \ No newline at end of file