1. yaml文件中个别数值有大写,报错信息如下 :
The Deployment "my-nginx" is invalid: spec.template.spec.volumes[0].name: Invalid value: "myEmptyDir": a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name',  or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?')

看报错提示,已经说的很清楚了,spec.template.spec.volumes[0].name: Invalid value: "myEmptyDir" 中有大写的,不符合要求(要求是:a-z0-9?)

相关文章:

  • 2021-06-15
  • 2022-12-23
  • 2021-08-23
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-03-30
  • 2021-10-22
  • 2021-07-26
  • 2021-08-03
  • 2021-11-23
相关资源
相似解决方案