#autoscale

k8s autoscale水平扩容

1>创建测试资源1.命令获取deploymentyaml模板kubectlcreatedeploymentweb--image=nginx:1.14-oyaml--dry-run>deploy-web.yaml修改deployment-web模板,添加pod限制apiVersion:apps/v1kind:...
代码星球 ·2020-08-09