k8s

4 Kubenetes Service

什么是Service 定义一组pod的访问规则 * 服务发现,服务注册 * 定义一组Pod的访问策略(负载均衡) Pod and Service 根据labels

3.1 Kubenetes Controller

Controller&workload 是干什么 * controller又称为工作负载 * 在集群上管理和和运行容器的对象 * * 确保pod副本的数量 * 确保所有node运行一个pod * 一次性任务和定时任务 * pod和controller的区别 Pod通过Controller实现应用的运维

2. K8s pod 调度策略

使用一下命令看到pod被分配的IP kubectl get pods -o wide 创建pod的流程图 1. 在Master节点 1.

1. Kubenetes Object对象

什么是K8s的对象 Kubernetes objects are persistent entities in the Kubernetes system.