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

相关推荐
程序员清风5 小时前
Docker、Nginx 与 Kubernetes 部署 AI 后端服务
nginx·docker·kubernetes
zhangrelay6 小时前
ROS项目设计案例智能大模型正经乱答案例
linux·笔记·学习·ubuntu·机器人
probex_6 小时前
学习笔记:知识图谱是什么,在测试里能干什么
笔记·学习·知识图谱
Zhu7586 小时前
离线二进制部署-Kubernetes-v1.36.4
容器·贪心算法·kubernetes
以为你知道啊7 小时前
90年代复古博客
笔记
波力海苔夹心脆6757 小时前
C# 值类型与引用类型详解:存储位置、赋值机制、参数传递、相等比较、装箱拆箱与常见陷阱
开发语言·jvm·经验分享·笔记·c#·.net
天衍四九-8 小时前
Docker容器实战系列(八):Docker生产最佳实践与避坑指南,系列终章
运维·docker·容器
AOI小白新手上路9 小时前
从 Keil 调试视角看 51 指针,到 Cortex-M 内存映射访问寄存器 · 学习笔记
笔记·学习
Zhou14113610 小时前
Docker_03_DockerCompose多容器编排
运维·docker·容器
程序猿阿越10 小时前
containerd如何拉取镜像
后端·kubernetes·源码阅读