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

相关推荐
梦想与想象-广州大智汇9 分钟前
自建docker加速镜像,使用 Cloudflare Workers/Pages 部署加速教程
运维·docker·容器
ClutchoQ1 小时前
【你指的API是哪个API?软件工程师跨服聊天实录】
笔记·其他
AI攻城狮3 小时前
为什么主流大厂 LLM 必须亲自下场做 Harness CLI:从 DeepSeek TUI 说开去
云原生
二哈赛车手3 小时前
新人笔记---Spring AI的Advisor以及其底层机制讲解(涉及源码),包含一些遇见的Spring AI的Advisor缺陷问题的解决方案
java·人工智能·spring boot·笔记·spring
阿里云云原生4 小时前
阿里云 AI 网关支持 DeepSeek V4
云原生
阿里云云原生4 小时前
从可观测到可理解:用 UModel 构建 Agent 原生的代码知识图谱
云原生
Tutankaaa5 小时前
知识竞赛软件SaaS版 vs 本地部署
人工智能·经验分享·笔记·学习
阿里云云原生5 小时前
OpenClaw、Hermes合用?来自500+社区互动的真实看法
云原生
许长安5 小时前
RPC 异步调用基本使用方法:基于官方helloworld-async 示例
c++·经验分享·笔记·rpc
sheeta19987 小时前
苍穹外卖Day12笔记
笔记