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

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

相关推荐
koo3647 分钟前
周报5.3
笔记
AI攻城狮1 小时前
DeepSeek KV Cache 入门解读:98% 命中率背后的工程逻辑
云原生
xian_wwq2 小时前
【学习笔记】Harness到底是什么
笔记·学习·ai·harness
二哈赛车手2 小时前
新人笔记---项目中简易版的RAG检索后评测指标(@Recall ,Mrr..)实现
java·开发语言·笔记·spring·ai
是上好佳佳佳呀3 小时前
【前端(十二)】JavaScript 函数与对象笔记
前端·javascript·笔记
三块可乐两块冰3 小时前
机器学习三十八
笔记
weixin_377634844 小时前
【MinerU】 Docker Compose 使用
docker·容器·mineru
TechMix4 小时前
【fkw学习笔记】Android 13 AOSP 源码添加系统预置应用实战指南
android·笔记·学习
菜鸟的日志4 小时前
【软件架构风格】面向服务架构(SOA)及其微服务演进
微服务·云原生·架构
阿Y加油吧4 小时前
二刷 LeetCode:62. 不同路径 & 64. 最小路径和 复盘笔记
笔记·算法·leetcode