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

相关推荐
syntaxsage几秒前
Dive:Docker 镜像层可视化分析工具
运维·其他·docker·容器
java_logo1 分钟前
Docker 部署 Samba:轻松搭建局域网文件共享
运维·docker·容器·文件共享·samba·smb·轩辕镜像
草莓熊Lotso33 分钟前
【C++ 基于微服务的即时通讯系统】网关基建:cpp-httplib 与 WebSocketpp 从入门到实战
linux·开发语言·数据库·c++·redis·微服务·云原生
todoitbo10 小时前
群晖NAS部署JmalCloud:Docker安装、文件管理、博客与公网访问完整教程
运维·docker·容器
时间售卖铺10 小时前
触发器与函数实战:MySQL高效编程秘诀
运维·数据库·mysql·云原生
一木 之林11 小时前
Dify学习笔记 03 · RAG检索增强生成:三代范式、评估与落地(第40-45、55-56集)
笔记·小程序·交互·dify
云-缩影15 小时前
拆解函数计算 Serverless GPU 部署 AI 模型:Flux 生图和语音复刻怎么跑的
人工智能·云原生·serverless
箓维17 小时前
TCP Socket的进阶实现
网络·笔记·tcp/ip
二哈赛车手17 小时前
新人笔记---hermes定时功能设计,具体讲解以及可优化点
java·人工智能·笔记·spring·ai·typescript
是枚小菜鸡儿吖17 小时前
Home Assistant跨品牌智能家居教程:Docker部署、米家接入、vivo桥接与远程访问
docker·容器·智能家居