Giter VIP home page Giter VIP logo

Comments (7)

colemickens avatar colemickens commented on July 17, 2024

Well, more importantly, it won't work for certain things that need interpolation into them (kube-proxy needs to have kubernetesHyperkubeSpec woven into it...

from acs-engine.

anhowe avatar anhowe commented on July 17, 2024

Another limit to consider is CRP's limit on CustomData (I think around 85k chars). It will be great to avoid downloading provisioning scripts externally, and keep these in CustomData or CustomScriptExtension as the network can be still stabilizing during provisioning.

from acs-engine.

amanohar avatar amanohar commented on July 17, 2024

CRP's limit of custom data is: 64k characters or 87380 Base64 characters

from acs-engine.

colemickens avatar colemickens commented on July 17, 2024

I think the problem we're hitting currently is that the string expression limit is much smaller, like 16K or something. I can dig up details, I think Anders raised it previously for me whenever I was doing similar stuff with azkube.

from acs-engine.

JonathanFraser avatar JonathanFraser commented on July 17, 2024

I was playing around doing something similar in cloud-formation and very quickly hit the 64K userdata limit.

from acs-engine.

colemickens avatar colemickens commented on July 17, 2024

There's three different issues I see here:

  1. We shouldn't have so many helper functions that purely serve to do string munging, base64 and gzip. We should have helper funtions injected into the template context so that someone can do {{ .SomeField | b64 | gzip }}. A large amount of boiler plate template functions could be purged.
  2. There is an upper-bound of 64K on userdata. I don't think acs-engine is in any risk of hitting this anytime soon.
  3. There is an upper-bound of 16K for string expressions in the template. I was just told that we could potentially get this bumped up higher if needed.

from acs-engine.

JackQuincy avatar JackQuincy commented on July 17, 2024

doesn't look like we are actually going to do this. Closing it. Reopen if you have objections

from acs-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.