欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

k8s中升级应用出现的问题

程序员文章站 2022-03-07 18:12:12
...

升级应用出现的问题

Error: UPGRADE FAILED: failed to create patch: unable to find api field in struct ResourceRequirements for the json field \"request\"", "rc": 1, "stderr": "Error: UPGRADE FAILED: failed to create patch: unable to find api field in struct ResourceRequirements for the json field \"request\"\n", "stderr_lines": ["Error: UPGRADE FAILED: failed to create patch: unable to find api field in struct ResourceRequirements for the json field \"request\""], "stdout": "", "stdout_lines": []}

patch:打补丁,只需要进行少量更改才会打补丁,比如修改request的值

  1. helm版本问题(可能太低)
  2. 字段写错了,越改越错,删了重装吧
相关标签: k8s docker