claude
November 17, 2020, 3:02am
1
Hello,
I’m trying to install Temporal using helm based on the instructions found here: https://github.com/temporalio/helm-charts
When I run the following command, I get the error “Error: create: failed to create: Request entity too large: limit is 3145728”. Any ideas about this?
helm install
–set server.replicaCount=1
–set cassandra.config.cluster_size=1
–set prometheus.enabled=false
–set grafana.enabled=false
–set elasticsearch.enabled=false
–set kafka.enabled=false
temporaltest . --timeout 15m
maxim
November 17, 2020, 4:01am
2
Could it be something in the same directory?
opened 03:55AM - 19 Dec 19 UTC
closed 01:58PM - 14 Apr 20 UTC
question/support
I suddenly started experiencing the following error when using Helm 3.0.1 to ins… tall a new release on GCP:
```
Error: create: failed to create: Request entity too large: limit is 3145728
helm.go:76: [debug] Request entity too large: limit is 3145728
create: failed to create
helm.sh/helm/v3/pkg/storage/driver.(*Secrets).Create
/private/tmp/helm-20191206-15945-o5deut/src/helm.sh/helm/pkg/storage/driver/secrets.go:160
helm.sh/helm/v3/pkg/storage.(*Storage).Create
/private/tmp/helm-20191206-15945-o5deut/src/helm.sh/helm/pkg/storage/storage.go:66
helm.sh/helm/v3/pkg/action.(*Install).Run
/private/tmp/helm-20191206-15945-o5deut/src/helm.sh/helm/pkg/action/install.go:261
main.runInstall
/private/tmp/helm-20191206-15945-o5deut/src/helm.sh/helm/cmd/helm/install.go:209
main.newInstallCmd.func1
/private/tmp/helm-20191206-15945-o5deut/src/helm.sh/helm/cmd/helm/install.go:115
github.com/spf13/cobra.(*Command).execute
/private/tmp/helm-20191206-15945-o5deut/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826
github.com/spf13/cobra.(*Command).ExecuteC
/private/tmp/helm-20191206-15945-o5deut/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914
github.com/spf13/cobra.(*Command).Execute
/private/tmp/helm-20191206-15945-o5deut/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
main.main
/private/tmp/helm-20191206-15945-o5deut/src/helm.sh/helm/cmd/helm/helm.go:75
runtime.main
/usr/local/Cellar/go/1.13.4/libexec/src/runtime/proc.go:203
runtime.goexit
/usr/local/Cellar/go/1.13.4/libexec/src/runtime/asm_amd64.s:1357
```
From reading the code around the exception it looks like helm is trying to create a secret that is greater than 3MB to store the release information.
There were no changes to any of the values or templates that Helm uses. I can checkout earlier commits and the error still persists. I also wiped my .helm and recreated the cluster but neither action fixes the issue. The helm install for the same commit works on a different machine for the same cluster.
Before I wake up and dig through the Helm codebase a little more tomorrow, is there anything that would be accumulating information somewhere and incorporating it into the helm release secret?
---
**Update**
Minimal example to reproduce:
```
helm create test
cd test
dd if=/dev/urandom bs=100000000 count=5 of=largefile
helm install test .
Error: create: failed to create: Request entity too large: limit is 3145728
```
Helm info (OS X):
```
version.BuildInfo{Version:"v3.0.1", GitCommit:"7c22ef9ce89e0ebeb7125ba2ebf7d421f3e82ffa", GitTreeState:"clean", GoVersion:"go1.13.4"}
```
claude
November 17, 2020, 11:14am
3
Thanks for your reply. All I did was run the following “helm dependencies update” and it created a charts folder with the following contents.
1417 cassandra-0.14.3.tgz
23083 elasticsearch-7.6.2.tgz
19490 grafana-5.0.10.tgz
41268 kafka-7.2.9.tgz
32899 prometheus-11.0.4.tgz
The file sizes don’t exceed 3MB. I then run the helm install command provided as shown below and get the error. I don’t understand what file size it is complaining about.
helm install
–set server.replicaCount=1
–set cassandra.config.cluster_size=1
–set prometheus.enabled=false
–set grafana.enabled=false
–set elasticsearch.enabled=false
–set kafka.enabled=false
temporaltest . --timeout 15m
claude
November 17, 2020, 1:27pm
4
I figured out the problem, I didn’t checkout the whole repo and was only using the Chart.yaml. Thanks for your assistance.
1 Like
atlas
January 10, 2021, 6:59pm
5
I am running into the same issue but not sure about the “whole repo” solution. I don’t see what I’m missing from my downloaded version.