-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ship self-contained binary #1764
Comments
Wdym? Using Python doesn't require Node. |
Sorry, we were initially under the impression that cdk8s could be used to render manifests to filesystem. Seems like this is not possible. |
Ah this might be true. IIRC https://github.com/cdk8s-team/cdk8s-cli doesn't even run on Deno. Only worked on NodeJS. |
Semi related: #2149. The thing is that its not sufficient for the cli to be self-container because the framework itself also requires node via jsii. One way to do this is by having a docker image for Keeping up to date is now a matter of |
Came across this while looking for a way to run cdk8s in a container so that it could be used as a plugin for argocd. Does nothing like this exist? What is the slimest possible image one could make that could render yaml from cdk8s code for one of the supported languages? |
I guess something like FROM node:alpine
RUN npm i -g cdk8s-cli is a minimum starting point. |
Thanks. Got it to work. |
Description of the feature or enhancement:
Setting up Node with all the necessities and keeping it running is quite some complexity for non-Javascript developers.
There should be a self-contained distribution of cdk8s which minimizes this complexity.
Use Case:
We are currently searching for replacements for Helm. cdk seems very near to how we would like to render Manifests from Python. We are however not willing to introduce the mental load of Node into our Development process. Thus we are currently passing on using cdk8s.
Proposed Solution:
From a containment perspective I wonder whether Rust + Deno would be a good way to go.
A less intrusive way could be shipping via Node - https://nodejs.org/api/single-executable-applications.html - but not sure whether this would work here.
Alternatively it might work to package using AppImage?
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: