cdk8s-team / cdk8s

Define Kubernetes native apps and abstractions using object-oriented programming
https://cdk8s.io
Apache License 2.0
4.29k stars 290 forks source link

.NET support #118

Open eladb opened 4 years ago

eladb commented 4 years ago

Tracking issue for .NET support in cdk8s. Please +1 this issue to let us know you care (no need to comment).

github-actions[bot] commented 3 years ago

This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.

github-actions[bot] commented 2 years ago

This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.

github-actions[bot] commented 2 years ago

Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen.

VenkateshSrini commented 1 year ago

@eladb ,

What time can we expect the support for cdk8s .NET support?

QuingKhaos commented 1 year ago

Damn GitHub stale bots 🙄

Is .NET support still on the roadmap? @eladb @iliapolo

VenkateshSrini commented 1 year ago

@eladb and @iliapolo ,

Just wanted to add a few words. With the advent of .NET 7 we can generate the image without docker or podman as a tar file. Then I can push that to a registry. Similarly, if you can provide this SDK, as part of the build pipeline itself we can regenerate the YAML in .NET and push it to the repo. From there we can have the CD push the tar file to a location from where Kubernetes can pull and run the deployments YAML. No need for helm or any other template engine. This will help us to make k8s option less complex.

VenkateshSrini commented 1 year ago

@eladb and @iliapolo and @SomayaB ,

Is this a dead thread as I see that the GitHub Stale bot has closed this issue and it is not even re-opened?

starcraft66 commented 1 year ago

@eladb .NET is already supported by jsii and cdk8s packages are already published to nuget. What is missing here? The CLI certainly is missing support as it only accepts the languages "typescript", "python", "java", "go". Can this issue please be re-opened?

iliapolo commented 1 year ago

@starcraft66 We are still missing the .NET support for the cdk8s import command. I will re-open this thought and we'll try to get this prioritized soon. Thanks!

neil-119 commented 1 year ago

Looking forward to this!

VenkateshSrini commented 2 months ago

Hey any update on this. In the docs I still see there is no .NET support. Can you please know how to get started and proceed for .NET folks

haodeon commented 1 month ago

I added csharp to the cdk8s import command and tested it.

I was able to successfully generate k8s@1.30.0, reference it in my F# project and synthesize a manifest.

@iliapolo Happy to open a PR for this.

VenkateshSrini commented 1 month ago

Is there some nuget library that is published that we can use. I need to use this from C#. But the sdk nuget package needs to be in. Net that is all

haodeon commented 1 month ago

I made a sample project to show how cdk8s can be used with dotnet.

https://github.com/haodeon/cdk8s-fsharp-example

It's based on the "Getting started with cdk8s for ..." docs.

codingbott commented 1 month ago

Is any help needed for the dotnet support? I have some capacity left for c# development.

VenkateshSrini commented 1 month ago

@codingbott There are two helps that I wish to ask for 1) A Nuget library generated for cdks8 SDK. 2) Sample of deployment and job written C# to deploy in Docker-Desktop Kubernetes. We can then ad necessary add authentication and authorization for AKS, EKS or GKE and generate various other aspects later. But let us start it small. All I need is generating k8s Yaml with this SDK