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

相关推荐
岩中竹3 分钟前
广东省省考备考(第四十九天7.18)——判断推理:位置规律(听课后强化训练)
笔记
小周学学学22 分钟前
docker安装与简单项目上手
运维·docker·容器
David爱编程30 分钟前
K8s 的 Namespace 到底解决了什么问题?
云原生·容器·kubernetes
小马爱打代码34 分钟前
微服务中token鉴权设计的4种方式
微服务·云原生·架构
婷儿z36 分钟前
Kubernetes 架构原理与集群环境部署
容器·架构·kubernetes
曾经的三心草37 分钟前
微服务的编程测评系统3-加密-日志-apifox-nacos-全局异常
微服务·云原生·架构
用手手打人38 分钟前
springCloud -- 微服务01
微服务·云原生·架构
小诸葛的博客44 分钟前
istio如何自定义重试状态码
云原生·github·istio
Norvyn_71 小时前
LeetCode|Day18|20. 有效的括号|Python刷题笔记
笔记·python·leetcode
GOKORURI1 小时前
Podman + Nginx + Affine 踩坑教程
容器·教程·web