{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/acs-engine/issues/3325","repository_url":"https://api.github.com/repos/Azure/acs-engine","labels_url":"https://api.github.com/repos/Azure/acs-engine/issues/3325/labels{/name}","comments_url":"https://api.github.com/repos/Azure/acs-engine/issues/3325/comments","events_url":"https://api.github.com/repos/Azure/acs-engine/issues/3325/events","html_url":"https://github.com/Azure/acs-engine/issues/3325","id":334383660,"node_id":"MDU6SXNzdWUzMzQzODM2NjA=","number":3325,"title":"Maximum number of AgentPools in Kubernetes","user":{"login":"javierprovecho","id":2457529,"node_id":"MDQ6VXNlcjI0NTc1Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/2457529?v=4","gravatar_id":"","url":"https://api.github.com/users/javierprovecho","html_url":"https://github.com/javierprovecho","followers_url":"https://api.github.com/users/javierprovecho/followers","following_url":"https://api.github.com/users/javierprovecho/following{/other_user}","gists_url":"https://api.github.com/users/javierprovecho/gists{/gist_id}","starred_url":"https://api.github.com/users/javierprovecho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierprovecho/subscriptions","organizations_url":"https://api.github.com/users/javierprovecho/orgs","repos_url":"https://api.github.com/users/javierprovecho/repos","events_url":"https://api.github.com/users/javierprovecho/events{/privacy}","received_events_url":"https://api.github.com/users/javierprovecho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-21T08:11:23Z","updated_at":"2018-06-22T06:11:45Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks for filing an issue! Before hitting the button, please answer these questions. It's helpful to search the existing GitHub issues first. It's likely that another user has already reported the issue you're facing, or it's a known issue that we're already aware of-->\r\n\r\n**Is this a request for help?**:\r\n\r\nNo\r\n---\r\n\r\n**Is this an ISSUE or FEATURE REQUEST?** (choose one):\r\n\r\nISSUE\r\n---\r\n\r\n**What version of acs-engine?**:\r\n\r\nv0.16.2\r\n---\r\n\r\n\r\n<!--\r\nIf this is a ISSUE, please:\r\n  - Fill in as much of the template below as you can.  If you leave out\r\n    information, we can't help you as well.\r\n\r\nIf this is a FEATURE REQUEST, please:\r\n  - Describe *in detail* the feature/behavior/change you'd like to see.\r\n\r\nIn both cases, be ready for followup questions, and please respond in a timely\r\nmanner.  If we can't reproduce a bug or think a feature already exists, we\r\nmight close your issue.  If we're wrong, PLEASE feel free to reopen it and\r\nexplain why.\r\n-->\r\n\r\n**Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)**\r\n\r\nKubernetes 1.9\r\n\r\n**What happened**:\r\n\r\n```json\r\n{\r\n    \"error\": {\r\n        \"code\": \"InvalidTemplate\",\r\n        \"message\": \"Deployment template validation failed: 'The number of template variables limit exceeded. Limit: '256' and actual: '260'. Please see https://aka.ms/arm-template/#variables for usage details.'.\"\r\n    }\r\n}\r\n```\r\n\r\n**What you expected to happen**:\r\n\r\n```\r\nERROR: The maximum number of agentpools supported is 5, you are defining \"6\"\r\n```\r\n\r\n**How to reproduce it** (as minimally and precisely as possible):\r\n\r\nrun `acs-engine deploy` using an `apimodel.json` with 6 agentpools and 3 masters\r\n\r\n**Anything else we need to know**:\r\n\r\n1. The first issue should be the error message, I would prefer that acs-engine validate my `apimodel.json` looking if I'm passing the maximum number of agentpools\r\n2. For v0.16.x there are 2 situations:\r\n    - When defining 1 master and 6 agentpools, deployment pass with a top of 255 vars used\r\n    - When defining 3 masters and 6 agentpools, deployment fails with a top of 260 vars used (as said above). The difference is located on the vars used for defining Kubernetes Internal LB.\r\n3. We tested also v0.18.x and found that the maximum number of agentpools with 3 masters reduces from 5 to 4, again because new vars have been added to the ARM template like `singlequote` and `acsversion`. In general lines, I think this behavior may breaks updates from previous versions in clusters with more agentpools than supported from a newer version."},"comment":{"url":"https://api.github.com/repos/Azure/acs-engine/issues/comments/399331417","html_url":"https://github.com/Azure/acs-engine/issues/3325#issuecomment-399331417","issue_url":"https://api.github.com/repos/Azure/acs-engine/issues/3325","id":399331417,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTMzMTQxNw==","user":{"login":"javierprovecho","id":2457529,"node_id":"MDQ6VXNlcjI0NTc1Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/2457529?v=4","gravatar_id":"","url":"https://api.github.com/users/javierprovecho","html_url":"https://github.com/javierprovecho","followers_url":"https://api.github.com/users/javierprovecho/followers","following_url":"https://api.github.com/users/javierprovecho/following{/other_user}","gists_url":"https://api.github.com/users/javierprovecho/gists{/gist_id}","starred_url":"https://api.github.com/users/javierprovecho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierprovecho/subscriptions","organizations_url":"https://api.github.com/users/javierprovecho/orgs","repos_url":"https://api.github.com/users/javierprovecho/repos","events_url":"https://api.github.com/users/javierprovecho/events{/privacy}","received_events_url":"https://api.github.com/users/javierprovecho/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T06:11:45Z","updated_at":"2018-06-22T06:11:45Z","author_association":"NONE","body":"Thanks @serbrech , I searched for this kind of issue before posting but definitely didn't use the correct keywords. I'm going to reference here this issue (#2553) too."}}
{"actor":{"display_login":"javierprovecho"}}