Learn Kubernetes in 1 Hour - K8s新手速通 - 进阶笔记敬请期待

Learn Kubernetes in 1 Hour

Welcome to learn k8s with me!!! Kubernetes Crash Course for Absolute Beginners [NEW - YouTube](https://www.youtube.com/watch?v=s_o8dwzRlu4&t=579s)

1. Kubernetes Architecture

  • control node - several important processes

  • worker nodes

master nodes are much more important than worker nodes

2. Main Kubernetes Components

2.1 Node & Pod

Node: a virtual or physical machine

IP adjust every time the pod restart,so -> service

2.2 Service &Ingress

Ingress: cause the node-ip is not very practical.

2.3 ConfigMap & Secret

change name: mogo-db-service -> mogo-db

! ConfigMap is for non-confidential data only! ->Secret

2.4 Volume

2.5 Deployment & StatefulSet

my-app died -> replicates everything!

Define blueprint for Pods: specify how many replicas you want to have

work with deployments instead of pods.

! DB can't be replicated via Deployment!

DB has state -> data inconsistence - > StatefulSet

however, deploying StatefulSet not easy -> common practice: DB hosted outside of k8s cluster.

3. Kubernetes Configuration

talk to API server

C-M

each configuration file has 3 parts

4. Minikube & Kubeetcl - Setup k8s cluster locally

相关推荐
阿里云云原生2 小时前
从 ReAct 到 Harness:AgentScope 2.0 如何用“工程化”定义分布式智能体开发范式?
云原生·agent
后季暖3 小时前
langgraph笔记
笔记
·醉挽清风·4 小时前
学习笔记—算法—算法题
笔记·学习·算法
西岸行者4 小时前
硬刚DeepSeek: UDPC与MTFAA的血缘辩论
笔记
a1117764 小时前
机器人导航入门指南(从 0 到 1)
笔记·学习·slam
刘马想放假4 小时前
Docker 从入门到进阶:一篇写给工程师的系统化实战指南
运维·docker·容器
Nebula_g5 小时前
大模型应用技术速通笔记
笔记·深度学习·机器学习·大模型
zjun30215 小时前
如何搭建TRAE IDE 连接到容器开发环境
docker·容器·ascend·trae
xian_wwq5 小时前
【学习笔记】开源 vs 闭源:Llama / Qwen / DeepSeek 生态博弈(34/35)
笔记·学习·开源