You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/12/30 06:28:58 UTC

[GitHub] [pulsar] wolfstudy opened a new issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container

wolfstudy opened a new issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container
URL: https://github.com/apache/pulsar/issues/5958
 
 
   **Describe 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:
   
   1. 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"}
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] wolfstudy edited a comment on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container

Posted by GitBox <gi...@apache.org>.
wolfstudy edited a comment on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container
URL: https://github.com/apache/pulsar/issues/5958#issuecomment-569595823
 
 
   When we comment out the following code in `grafana` in `values.yaml`: 
   
   ```
   #  resources:
   #    requests:
   #      memory: 4Gi
   #      cpu: 1
   ```
   
   everything is ok. And in `helm2`, the issue does not appear to occur

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] jiazhai closed issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container

Posted by GitBox <gi...@apache.org>.
jiazhai closed issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container
URL: https://github.com/apache/pulsar/issues/5958
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] sijie commented on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container
URL: https://github.com/apache/pulsar/issues/5958#issuecomment-580591210
 
 
   I think the change was for helm3. We might need to consider support both helm3 and helm2.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] roman-popenov edited a comment on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container

Posted by GitBox <gi...@apache.org>.
roman-popenov edited a comment on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container
URL: https://github.com/apache/pulsar/issues/5958#issuecomment-578760564
 
 
   First line 63 should be:
   `{{- if .Values.pulsar_manager.resources }}`
   There is a mistake in the charts pulsar manager template file at line 65:
   `{{ toYaml .Values.grafana.resources | indent 10 }}` should be `{{ toYaml .Values.pulsar_manager.resources | indent 12 }}`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] roman-popenov commented on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container

Posted by GitBox <gi...@apache.org>.
roman-popenov commented on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container
URL: https://github.com/apache/pulsar/issues/5958#issuecomment-578760564
 
 
   There is a mistake in the charts pulsar manager template file at line 65:
   {{ toYaml .Values.grafana.resources | indent 10 }} should be {{ toYaml .Values.pulsar_manager.resources | indent 12 }}

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] wolfstudy commented on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container

Posted by GitBox <gi...@apache.org>.
wolfstudy commented on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container
URL: https://github.com/apache/pulsar/issues/5958#issuecomment-569595823
 
 
   When we comment out the following code in `grafana` in `values.yaml`: 
   
   ```
   #  resources:
   #    requests:
   #      memory: 4Gi
   #      cpu: 1
   ```
   
   everything is ok.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] jiazhai commented on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container
URL: https://github.com/apache/pulsar/issues/5958#issuecomment-570485768
 
 
   helm3 has this issue, while helm2 is Ok

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] jiazhai commented on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container
URL: https://github.com/apache/pulsar/issues/5958#issuecomment-570486096
 
 
   After comments the config out, it is OK now. would like to work with helm to solve this issue later.
   
   > When we comment out the following code in `grafana` in `values.yaml`:
   > 
   > ```
   > #  resources:
   > #    requests:
   > #      memory: 4Gi
   > #      cpu: 1
   > ```
   > 
   > everything is ok. And in `helm2`, the issue does not appear to occur
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] sijie commented on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #5958: unknown field "requests" in io.k8s.api.core.v1.Container
URL: https://github.com/apache/pulsar/issues/5958#issuecomment-570012117
 
 
   It seems that this is a helm issue.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services