-
Notifications
You must be signed in to change notification settings - Fork 560
Template resource length limit exceeded #1159
Comments
related #18 |
I think as an interim solution I can try collapsing all the manifests for a single application into one yaml list. Eg. tiller-deploy and tiller-svc can become simply tiller.yaml. Thoughts? |
Couple of thoughts on my end.
|
This is arm length limit: “customData”: “[concat(variables(‘part1’), variables(‘part2’), variables(‘part3’)]” Also, we were diligent early on about gzipping all content, so we should just make sure content is still gzipped. |
confirmed that it's all gzipped. |
#1162 for temp workaround |
@lachie83 I am running into this issue on 0.7.0 release (k8s 1.7.5). Tried deploying exact config that works previously on k8s 1.7.2. Is it possible for the ARM limit to be increased ? as we have more customizations we have not yet applied. |
Got the same, trying to deploy calico+maxpods+rbac+aadprofile+customvnet..using the latest commit (2cd215d) and k8s 1.8 |
Can confirm with k8s 1.8 + calico + rbac + custom vnet with 5b57309 as well. |
@lachie83 |
@lachie83
Thanks. |
cc @anhowe |
cc @jchauncey |
Is there a working workaround? #1162 is not working in 0.8.0 |
So the RBAC is what seems to push this over the limit. Custom VNETs + Calico are perfectly ok |
Doing
|
Last I heard this was supposed to be increased on 11/10. I'm still unable to provision an instance with RBAC enabled. What is the new ETA for the template length restriction to be increased? |
So the change was supposed to finish roll out today by 2pm PST. Let me know if you have any issues after that |
@jchauncey I provisioned a cluster today, 11/15, at 11:07AM using a template I generated yesterday at 9AM. This template was once working (~1 month ago), but is no longer working. Looks like I'm still having the same issue.
|
@zimmertr this is no longer related to the length issue and is tracked at the existing 1621. Closing this issue since the limit has been lifted. |
Confirmed the language expression length limit has been bumped from 24576 to 81920: I also tested deployment with the inputs specified in lachie83's and mikhail-manuilov's comments and can not reproduce this issue. |
Is this a request for help?: Yes
Is this an ISSUE or FEATURE REQUEST? (choose one): ISSUE
What version of acs-engine?: PR #1143
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm) Kubernetes
What happened:
trying to deploy a default cluster with using the default cluster.json with the modifications
FATA[0014] resources.DeploymentsClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="InvalidTemplate" Message="Deployment template validation failed: 'The template resource 'k8s-master-42902998-0' at line '1' and column '27924' is not valid: The language expression length limit exceeded. Limit: '24576' and actual: '25975'.. Please see https://aka.ms/arm-template-expressions for usage details.'."
I believe this is happening on the customData field on the agentPool
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
The text was updated successfully, but these errors were encountered: