You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cdk8s should have APIs enabling the generation of kubernetes yaml. Calling this API on the current chart would produce the yaml for that chart, much like calling synth from the command line. Where the command line synth's the chart into a file, the API call would synth the chart into memory for use with other tools.
Use Case:
CDK EKS has the ability to addResource into an EKS cluster. That API call takes a string as it argument. To do this with cdk8s I would have to run cdk8s from the command line, then UI filesystem APIs to find the produced file, load that file into memory and then call addResource.
If cdk8s had the ability to generate kubernetes yaml via API call into memory. It could be treated as a CDK construct or extension of the CDK. Consuming information from other CDK constructs and producing information for other CDK constructs.
This is a 🚀 Feature Request
Whats this line above mean?
The text was updated successfully, but these errors were encountered:
Depending on your setup, the solution proposed in #48 (comment) works like a charm. Mind the different versions of the constructs library being used.
This can be solved by creating a separate app scope if possible, but in some use cases you could run in the issue described here: aws/aws-cdk#9670
@J11522 yeah, 9670 is basically the same thing. I would close this in favor of 9670
I have had other conversations that 9670 also covers to some degree. For example if I want to use efs filesystem in my cluster I would need the efs filesystem id that was created by the CDK which I could then use in cdk8s as volumeHandle to generate the necessary manifest as documented here: https://docs.aws.amazon.com/eks/latest/userguide/efs-csi.html
One of my original thoughts was to have the cdk8s build a yaml file, convert it to json and mark that file as the main file for that project. Then use npm to require that project into my cdk project. I believe this would work, I'll try it later. But this doesn't allow me to take data from the cdk into cdk8s for the manifest that cdk will ultimately apply to the cluster.
Description of the feature or enhancement:
Cdk8s should have APIs enabling the generation of kubernetes yaml. Calling this API on the current chart would produce the yaml for that chart, much like calling synth from the command line. Where the command line synth's the chart into a file, the API call would synth the chart into memory for use with other tools.
Use Case:
CDK EKS has the ability to addResource into an EKS cluster. That API call takes a string as it argument. To do this with cdk8s I would have to run cdk8s from the command line, then UI filesystem APIs to find the produced file, load that file into memory and then call addResource.
If cdk8s had the ability to generate kubernetes yaml via API call into memory. It could be treated as a CDK construct or extension of the CDK. Consuming information from other CDK constructs and producing information for other CDK constructs.
This is a 🚀 Feature Request
Whats this line above mean?
The text was updated successfully, but these errors were encountered: