Azure / draft-classic

A tool for developers to create cloud-native applications on Kubernetes.
https://draft.sh
MIT License
3.92k stars 395 forks source link

Ksonnet #482

Closed bhack closed 6 years ago

bhack commented 6 years ago

Will there be any relationship of Draft with Ksonnet for generating Helm charts?

michelleN commented 6 years ago

That's a great question. It's not on the current roadmap. Are you currently using ksonnet and looking to see this kind of integration?

bhack commented 6 years ago

We are exploring this in this in https://github.com/tensorflow/k8s/issues/136

bhack commented 6 years ago

/cc @alexmt

bacongobbler commented 6 years ago

Hey @bhack, would you mind elaborating a little more on what kind of integration you'd like to see? How would ksonnet and Draft work together?

bhack commented 6 years ago

A Draft pack has a Docker and an Helm chart. We could maintain a ksonnet json that will emit an Helm chart instead of an Helm Chart directly. So it would be useful when you need to customize the Helm and you can still use Ksonnet.

bhack commented 6 years ago

See also https://github.com/kubernetes/helm/issues/2577

bhack commented 6 years ago

/cc Any comment @jbeda?

jbeda commented 6 years ago

Tagging @bryanl here.

Right now integration of ksonnet and helm is on hold until helm 3. My understanding is that any deep integration would not be practical in helm 2. As draft has a pretty hard dependency on helm, it makes sense to drive helm/ksonnet integration first.

Bryan?

bacongobbler commented 6 years ago

My understanding is that any deep integration would not be practical in helm 2

Not entirely true... See https://github.com/kubernetes/helm/issues/2577#issuecomment-341548308.

bacongobbler commented 6 years ago

closing as this is ultimately Helm's decision. If Helm has an option to support ksonnet templates in Helm 3 then we'll get this functionality for free. Please follow up in upstream efforts if you want to get involved. :)