unknown field "requests" in io.k8s.api.core.v1.Container
See original GitHub issueDescribe the bug
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Deployment.spec.template.spec.containers[0]): unknown field "requests" in io.k8s.api.core.v1.Container
To Reproduce Steps to reproduce the behavior:
- helm install test-pulsar --values ./pulsar/values.yaml ./pulsar
Desktop (please complete the following information):
- OS: Mac os
Additional context
$ helm version
version.BuildInfo{Version:"v3.0.2", GitCommit:"19e47ee3283ae98139d98460de796c1be1e3975f", GitTreeState:"clean", GoVersion:"go1.13.5"}
$kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-14T04:24:34Z", GoVersion:"go1.12.13", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.5", GitCommit:"20c265fef0741dd71a66480e35bd69f18351daea", GitTreeState:"clean", BuildDate:"2019-10-15T19:07:57Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
kubernetes - unknown field "resources" in io.k8s.api.apps.v1 ...
I'd expect to see a YAML syntax error from what you've shown, but not that validation error. (You have two spaces before the...
Read more >unknown field "fsGroup" in io.k8s.api.core.v1.SecurityContext
No tasks are currently assigned. Use tasks to break down this issue into smaller parts. Linked items. 0.
Read more >Package k8s.io.api.core.v1 | Cloud Run Documentation
This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that...
Read more >Kubernetes Troubleshooting - Fixing Validation Error | Datree.io
spec.containers[0]): unknown field "names" in io.k8s.api.core.v1.Container, ValidationError(Deployment.spec.template.
Read more >查询StatefulSet_云容器实例 CCI_API参考
containers. Array of io.k8s.api.core.v1.Container objects. List of containers belonging to the pod. Containers cannot currently be added or ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After comments the config out, it is OK now. would like to work with helm to solve this issue later.
I think the change was for helm3. We might need to consider support both helm3 and helm2.