Kubectl 创建 Deployment 错误 Deployment in version “v1” cannot be handled as a Deployment…..

  sre


Kubectl 创建 Deployment 错误 Deployment in version “v1” cannot be handled as a Deployment…..

如果 Deployment 中使用了 env,并且 env 中有一些值是数字,就会抛出这个错误,解决办法就是将数字添加引号

LEAVE A COMMENT

Captcha Code