PV and PVC
PV and PVC
StatefulSet
StatefulSet
DaemonSet
DaemonSet
RBAC
RBAC
Secret
Secret
Service
Service
Job and CronJob
Job and CronJob
Deployment1
部署第一个deployment
目标: 通过apply创建了 ipquery 对应的deployment,它具有4个副本。通过get pods 可以查询4个副本的状态。 并且通过curl访问ipquery对应的pod
(1) 创建deployment声明文件
ipquery-deployment.yaml
apiVersion: apps/v1 …
Deployment2
集群内访问ipquery
目标: 通过apply创建了 ipquery 对应的deployment,它具有4个副本。通过get pods 可以查询4个副本的状态。 同一个命名空间的其他Pods通过 ipquery-v1:9999 访问ipquery服务
(1) 创建deployment声明文件 ipquery-service-clusterip.yaml …