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

相关推荐
智者知已应修善业31 分钟前
【输出一个N*N的01矩阵,表示最后的汉字点阵图】2024-10-22
c语言·数据结构·c++·经验分享·笔记·算法·矩阵
速冻鱼Kiel42 分钟前
Lyra的相机系统
笔记·ue5·游戏引擎·虚幻
鄭郑1 小时前
【Playwright 学习笔记 05】Xpath选择
笔记·学习
wdfk_prog1 小时前
[Linux]学习笔记系列 -- [drivers][base]syscore
linux·笔记·学习
小王努力学编程1 小时前
LangChain—AI应用开发框架(认识模型)
linux·服务器·人工智能·机器学习·容器·langchain
南宫乘风1 小时前
Kubernetes 中 ConfigMap 和 Secret 热更新:Reloader 实战指南
容器·kubernetes·configmap
辰尘_星启2 小时前
解决幽灵容器
linux·docker·容器·机器人·嵌入式
呱呱巨基2 小时前
Linux Ext系列文件系统
linux·c++·笔记·学习
培根芝士3 小时前
基于Docker部署M3U8流媒体
docker·容器
Lv11770083 小时前
Visual Studio中的二维数组和交错数组
ide·笔记·c#·visual studio