helm install alfresco-incubator/alfresco-content-services-community fails

cancel
Showing results for 
Search instead for 
Did you mean: 
anujcb
Active Member II

helm install alfresco-incubator/alfresco-content-services-community fails

Jump to solution

Any insights into why the helm install fails?

 

helm install alfresco-incubator/alfresco-content-services-community --generate-name --set repository.adminPassword="17cd2fxxxxxxxxxxxxxxxxx --set postgresql.postgresPassword=MyDbPwd

 

fails with the error

 

Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(Deployment.spec.template.spec.containers[0].livenessProbe): unknown field "limits" in io.k8s.api.core.v1.Probe, ValidationError(Deployment.spec.template.spec.containers[0].livenessProbe): unknown field "requests" in io.k8s.api.core.v1.Probe]

 

 

1 Solution

Accepted Solutions
afaust
Master

Re: helm install alfresco-incubator/alfresco-content-services-community fails

Jump to solution

I have run into similar issues a couple of weeks ago and I assume this is due to incompatibilities of the chart with the newest version of Helm (3.x) which is only out and about since November of last years, or even more recent Kubernetes releases. I am currently trying to see what (minimal) changes are all necessary to make this work and potentially create a PR for the Alfresco deployment project. You may find it simpler to just downgrade to Helm 2.x and/or an older Kubernetes version at this time.

View solution in original post

5 Replies
afaust
Master

Re: helm install alfresco-incubator/alfresco-content-services-community fails

Jump to solution

I have run into similar issues a couple of weeks ago and I assume this is due to incompatibilities of the chart with the newest version of Helm (3.x) which is only out and about since November of last years, or even more recent Kubernetes releases. I am currently trying to see what (minimal) changes are all necessary to make this work and potentially create a PR for the Alfresco deployment project. You may find it simpler to just downgrade to Helm 2.x and/or an older Kubernetes version at this time.

anujcb
Active Member II

Re: helm install alfresco-incubator/alfresco-content-services-community fails

Jump to solution

Thank you very much for your reply. Is there a bug created already fro this?

afaust
Master

Re: helm install alfresco-incubator/alfresco-content-services-community fails

Jump to solution

I don't know how much https://github.com/Alfresco/acs-community-deployment/issues/93 relates to this - it definitely is a different error message, but that issue has also been around a couple months more than I am aware of the problem. Helm 3 was not out at the time, and so the constellation was a bit different, but the underlying cause might be the same.

grk1
Customer

Re: helm install alfresco-incubator/alfresco-content-services-community fails

Jump to solution

Is there a resolution on this issue ? We are getting the same error when deploying ACS using Heml 3.0 on K8 v1.17. Does downgrading helm to v2.0 resolves this issue ? is there a newer version of the helm chart that fixes this issue ?

talal
Member II

Re: helm install alfresco-incubator/alfresco-content-services-community fails

Jump to solution
for Helm 3 the "indent 12" needs to be changed to "indent 10" in the files below
{{ toYaml .Values.libreoffice.resources | indent 12 }} in deployment-libreoffice.yaml
{{ toYaml .Values.pdfrenderer.resources | indent 12 }} in deployment-pdfrenderer.yaml
{{ toYaml .Values.imagemagick.resources | indent 12 }} in deployment-imagmagick.yaml