profile
viewpoint

Ask questionsUpgrades fails with: grpc: received message larger than max

After adding more grafana dashboards that are populated via configmap from files:

{{ (.Files.Glob "assets/generated/*.json").AsConfig | indent 2 }}

And running upgrade: helm upgrade --install -f values-staging.yaml dev . I'm now receiving: Error: UPGRADE FAILED: grpc: received message larger than max (4290838 vs. 4194304)

After deleting some of the larger dashboard files it works again. This might be related to https://github.com/kubernetes/helm/issues/3322


Client: &version.Version{SemVer:"v2.8.1", GitCommit:"6af75a8fd72e2aa18a2b278cfe5c7a1c5feca7f2", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.8.1", GitCommit:"6af75a8fd72e2aa18a2b278cfe5c7a1c5feca7f2", GitTreeState:"clean"}
helm/helm

Answer questions rwestergren

I'm getting this on v2.8.1 and v2.7.2 and v2.6.2 and v2.5.1. Couldn't go further back, Tiller v2.4.1 won't deploy on k8s 1.8.

EDIT: this was caused by having an undesired large file in my chart directory. #3563

Large file in chart directory was also the source for me.

useful!

Related questions

Error: validation: chart.metadata is required when using --repo - helm hot 4
"Error: Transport is closing" message when attempting to install hot 2
Error: open .helm\repository\cache\local-index.yaml hot 2
"helm dep build" fails if requirements.yaml contains local dependencies and remote one hot 2
Helm upgrade fails the release after adding a new resource hot 2
Error: could not find a ready tiller pod hot 2
Error: apiVersion 'v2' is not valid. The value must be "v1" hot 2
Unable to start Tiller pod, bind address already in use hot 2
Upgrading releases with immutable resources (e.g. persitentVolume) hot 2
helm 3: Not able to push chart to docker hub hot 1
`helm upgrade --recreate-pods` flag should do a soft restart - helm hot 1
Helm3: No 'init', doesn't use existing ~/.helm hot 1
No kind Job is registered for version batch/v1 hot 1
`Error: rendered manifests contain a resource that already exists` but nothing shows up on `helm list --all` - helm hot 1
error calling eq: invalid type for comparison hot 1
Github User Rank List