Git Product home page Git Product logo

Comments (6)

zzxwill avatar zzxwill commented on May 10, 2024

I tried cdk8s Python SDK to generate a deployment and a service manifests, and it is cool to deploy a webservice with just a few lines of code per https://github.com/awslabs/cdk8s/blob/master/docs/getting-started/python.md.

But AFAIK, the current version of cdk8s might not be good enough.

user

  • It took me 4 hours to have the build environment setup. (You can ignore this as it seems that @wonderflow fixed the issue very quickly cdk8s-team/cdk8s#166 (comment))
  • There are more than a doze of project initiation issues which is the very first important step.
  • cdk8s depends a lot: NodeJS, Python, pipenv, and their suitable versions in documentation are ambiguous.
  • It just supports Python/Typescript, or maybe Java too as the Cli said yes, but the doc didn't mention.

developer

  • We developers have to be familiar with Python/Java/Typescript, and need to implement more languages for SDK, I believe Golang is a must-have.
  • A developer has to learn NodeJS which cdk8s use to generate manifests.
  • Like traits applying, it can happen in runtime situation, while relatively, cdk8s is a static manifest generating tool.

I'd like to proposal another option:
RudrX cli framework itself can be easily wrapped to a Golang SDK for generating OAM manifests. I learn there are some tools for generating one language SDK to others, like the mechanism of releasing Alibaba Cloud SDK in multiple language.

from kubevela.

wonderflow avatar wonderflow commented on May 10, 2024

RudrX cli framework itself can be easily wrapped to a Golang SDK for generating OAM manifests.

Good idea!

from kubevela.

hongchaodeng avatar hongchaodeng commented on May 10, 2024

What is the Golang SDK meant to look like?

from kubevela.

wonderflow avatar wonderflow commented on May 10, 2024

We will support CUE as Definition template, and compose-like file for complex needs beyond CLI.

from kubevela.

wonderflow avatar wonderflow commented on May 10, 2024

I'm working on it.

from kubevela.

wonderflow avatar wonderflow commented on May 10, 2024

fixed by #86

from kubevela.

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.