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
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。 如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:veading@qq.com进行投诉反馈,一经查实,立即删除!