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

相关推荐
妄汐霜4 小时前
小白学习笔记(spring框架的aop和tx)
笔记·学习
鸠摩智首席音效师5 小时前
如何使用 docker exec 在容器中运行命令 ?
运维·docker·容器
sheeta19985 小时前
LeetCode 每日一题笔记 日期:2025.03.24 题目:2906.构造乘积矩阵
笔记·leetcode·矩阵
Heartache boy6 小时前
野火STM32_HAL库版课程笔记-ADC多通道采集热敏、光敏、反射传感器(轮询)
笔记·stm32·单片机
cool32007 小时前
Kubernetes基础入门教程
容器·云计算·k8s
yoothey7 小时前
Java字节流与字符流核心笔记(问答+考点复盘)
java·开发语言·笔记
水星灭绝7 小时前
win11+wsl2+docker
运维·docker·容器
老师好,我是刘同学7 小时前
force与deposit在SystemVerilog中的区别详解
笔记