Live data from Hacker News

Microsoft and Docker team up to make packaging cloud-native applications easier

techcrunch.com

41–50 of 83 posts

Re: Microsoft and Docker team up to make packaging cloud-native applications easier

#41
post #4

Gabe from Microsoft here. Happy to answer any questions. A few links to help you explore the spec and tooling: - https://cnab.io - https://duffle.sh/ - https://open.microsoft.com/2018/12/04/announcing-cnab-cloud-...

The announcement talks about "reliably provision application resources in different environments". Does that mean multiple clouds?

I'm asking because in the Ansible example in https://github.com/deislabs/bundles/blob/master/ansiblebase/... I see AZURE_TENANT AZURE_CLIENT_ID AZURE_SECRET AZURE_SUBSCRIPTION_ID but nothing for other clouds.

Would you have to add configuration for every cloud you have to support?

Re: Microsoft and Docker team up to make packaging cloud-native applications easier

#42
post #41
post #4

Gabe from Microsoft here. Happy to answer any questions. A few links to help you explore the spec and tooling: - https://cnab.io - https://duffle.sh/ - https://open.microsoft.com/2018/12/04/announcing-cnab-cloud-...

The announcement talks about "reliably provision application resources in different environments". Does that mean multiple clouds? I'm asking because in the Ansible example in https://github.com/deislabs/bundles/blob/master/ansiblebase/... I see AZURE_TENANT AZURE_CLIENT_ID AZURE_SECRET AZURE_SUBSCRIPTION_ID but nothing for other clouds. Would you have to add configuration for every cloud you have to support?

The format is cloud agnostic. Here is an example of a bundle that Bitnami built that provisions wordpress and Amazon RDS https://github.com/bitnami/cnab-bundles/tree/master/wordpres...

Re: Microsoft and Docker team up to make packaging cloud-native applications easier

#43
post #4

Gabe from Microsoft here. Happy to answer any questions. A few links to help you explore the spec and tooling: - https://cnab.io - https://duffle.sh/ - https://open.microsoft.com/2018/12/04/announcing-cnab-cloud-...

How is this not just an alternative to normal Docker tools?

Does it run on Linux?

Re: Microsoft and Docker team up to make packaging cloud-native applications easier

#44
post #22

Earlier quoted context omitted.

CNAB makes reproducibility possible by providing unified lifecycle management, packaging, and distribution. Of course if bundle authors don't take care to work around problems with imperative logic, that's a risk. In practice, we see declarative models for building bundles offer more reproducibility. For example, see how you can build a CNAB using a Terraform base image: https://github.com/deislabs/bundles/tree/maste…

Yeah. I read through some of those existing configs and I see how it works now. My first instinct when I see `cnab/app/run install` is to think it's for installing the app, but now I see it's for provisioning / deploying to the environment. As soon as I think of install, uninstall as deploy, undeploy then it clicks for me.

We may want to discuss changing the keywords from install/uninstall to be deploy/uninstall if that helps signal to the user the intent behind those actions. That's great feedback, thank you!

Re: Microsoft and Docker team up to make packaging cloud-native applications easier

#45
post #4

Gabe from Microsoft here. Happy to answer any questions. A few links to help you explore the spec and tooling: - https://cnab.io - https://duffle.sh/ - https://open.microsoft.com/2018/12/04/announcing-cnab-cloud-...

Is it possible to run duffle bundles on my kubernetes cluster right now? Couldn't find any docs. Thanks!

Re: Microsoft and Docker team up to make packaging cloud-native applications easier

#46
post #41

Earlier quoted context omitted.

The announcement talks about "reliably provision application resources in different environments". Does that mean multiple clouds? I'm asking because in the Ansible example in https://github.com/deislabs/bundles/blob/master/ansiblebase/... I see AZURE_TENANT AZURE_CLIENT_ID AZURE_SECRET AZURE_SUBSCRIPTION_ID but nothing for other clouds. Would you have to add configuration for every cloud you have to support?

The format is cloud agnostic. Here is an example of a bundle that Bitnami built that provisions wordpress and Amazon RDS https://github.com/bitnami/cnab-bundles/tree/master/wordpres...

Thanks! In https://github.com/bitnami/cnab-bundles/blob/master/wordpres... I see AWS but not Azure.

It seems that in this context cloud agnostic means any cloud can be supported.

I'm interested in application portability [0]. To do this with CNAB you need to add every cloud to the bundle. This is contrast to something like Crossplane [1] that intents to support multi-cloud with a single specification.

0. https://medium.com/gitlab-magazine/multi-cloud-maturity-mode...

1. https://news.ycombinator.com/item?id=18600603#18601961

Re: Microsoft and Docker team up to make packaging cloud-native applications easier

#47
post #4

Gabe from Microsoft here. Happy to answer any questions. A few links to help you explore the spec and tooling: - https://cnab.io - https://duffle.sh/ - https://open.microsoft.com/2018/12/04/announcing-cnab-cloud-...

Is it possible to run duffle bundles on my kubernetes cluster right now? Couldn't find any docs. Thanks!

Yea absolutely. Check out the hellohelm bundle for a simple example: https://github.com/deislabs/bundles/tree/master/hellohelm and the Bitnami Wordpress + Amazon RDS bundle for one with multiple components: https://github.com/bitnami/cnab-bundles/tree/master/wordpres...

Re: Microsoft and Docker team up to make packaging cloud-native applications easier

#48
post #46

Earlier quoted context omitted.

The format is cloud agnostic. Here is an example of a bundle that Bitnami built that provisions wordpress and Amazon RDS https://github.com/bitnami/cnab-bundles/tree/master/wordpres...

Thanks! In https://github.com/bitnami/cnab-bundles/blob/master/wordpres... I see AWS but not Azure. It seems that in this context cloud agnostic means any cloud can be supported. I'm interested in application portability [0]. To do this with CNAB you need to add every cloud to the bundle. This is contrast to something like Crossplane [1] that intents to support multi-cloud with a single specification. 0. https://medi…

You can build a kubernetes based bundle that is cloud agnostic.

Re: Microsoft and Docker team up to make packaging cloud-native applications easier

#49

Earlier quoted context omitted.

Is it possible to run duffle bundles on my kubernetes cluster right now? Couldn't find any docs. Thanks!

Yea absolutely. Check out the hellohelm bundle for a simple example: https://github.com/deislabs/bundles/tree/master/hellohelm and the Bitnami Wordpress + Amazon RDS bundle for one with multiple components: https://github.com/bitnami/cnab-bundles/tree/master/wordpres...

What would be the advantage over just using helm directly? (not a criticism, I'm not a big helm user for now, just kubectl but would like to know the difference for future project). Do you plan to integrate CNAB into kubernetes directly so we can bypass helm in the future?

Re: Microsoft and Docker team up to make packaging cloud-native applications easier

#50
post #26
post #24

Earlier quoted context omitted.

I see it a bit differently. To me it looks like CNAB invents a new way of describing and deploying an application that looks nothing like a Kubernetes API while Crossplane is trying to use the existing Kubernetes API tooling to interoperate with and leverage that ecosystem. Just because you are using a Kubernetes API doesn't mean you are presuming a Kubernetes cluster IMHO. The work being done with virtual kubelet[1]…

As I said, we have lots of customers who need a packaging format that targets clouds APIs which in some cases don't have any containers (hence no need for Kubernetes). Functions + datastore + service bus being a good example. I know there's lots of love for Kubernetes, containers, and operators -- with me too. Still we can't and shouldn't presume the existence of Kubernetes or Kubernetes APIs to solve the problems CN…

Please note that while Crossplane uses the Kubernetes API the actual server is separate from Kubernetes. This way you can use Crossplane to provision a Kubernetes cluster on the cloud of your choice. See https://news.ycombinator.com/item?id=18601440 for more information.
Post reply on HN