(九)Kubernetes资源清单-start、stop、相位
摘要:一、演示模板(生命周期模板) postStart: 启动时 exec: 运行了一条命令 command:命令内容 preStop:退出时 exec:执行了一条命令 command:["/usr/sbin/nginx","-s","quit"] 退出命令 二、Pod phase可能存在的值(启动状态)
阅读全文
posted @ 2021-04-18 16:14
posted @ 2021-04-18 16:14