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

相关推荐
阿里云云原生1 小时前
STAROps 实践丨访问体验与源站异常排查的痛点与实践
云原生
嘉泰姆半导体官方2 小时前
固定5V输出的非隔离AC-DC芯片选型与电路设计笔记(CXAC85369)
笔记
程序员agions3 小时前
Docker Compose 生产环境配置记录
运维·docker·容器
iiiiii114 小时前
从最大熵到 SAC:Soft Q-Learning 与 Soft Actor-Critic 公式推导笔记
人工智能·笔记·算法·机器学习·强化学习
always20224 小时前
AI运行时 · 附录3 - GPU 设备插件与 MIG:K8s 上的 AI 加速器编排
人工智能·容器·kubernetes
Uio2415 小时前
Java 泛型详解:为什么要用泛型?实战+避坑(CSDN)
笔记
小李不想当小白6 小时前
HAL库之定时器输出比较(STM32 HAL库学习笔记)
笔记·stm32·单片机·嵌入式硬件·学习·嵌入式
sharemylove17 小时前
Java集合框架全面详解
java·开发语言·经验分享·笔记·学习
whyTeaFo17 小时前
GAMES202: Lecture 3: Real-Time Shadows 1 ppt笔记
笔记
摇滚侠19 小时前
《On Java 中文版 基础卷》阅读笔记 内部类 20
java·笔记·python