默认情况下,Cloud Foundry在使用DEA时启动应用程序(Start application on Diego by default while Cloud Foundry uses DEA by default)

我们有一个支持Diego的Cloud Foundry 2部署。 在我们的例子中,DEA仍然是默认值,当我们推送应用程序时,它会被使用。 我可以使用Diego Enabler插件将应用程序部署更改为Diego来回切换。

是否有可能以某种方式告诉Cloud Foundry我想将应用程序部署到Diego,即使它不是默认的,也是以更自动化的方式,例如通过以某种方式启用清单中的布尔“diego”字段?

We have a Cloud Foundry 2 deployment which supports Diego. In our case, the DEA ist still the default and when we push an application, it is used. I can change the application deployment to Diego using the Diego Enabler Plugin to switch to and fro.

Is it possible to somehow tell Cloud Foundry that I would like to deploy the application to Diego, even though it is not the default, in a more automized manner, like by enabling the boolean 'diego' field in the manifest somehow?

最满意答案

目前无法在清单中进行此操作。

我在Cloud Foundry Slack上与Diego和CLI团队进行了核实,他们说无法完成。 我认为设计的基本原理是,人们不应该长时间运行这两种架构,但是我可以理解它是如何让它在显式中是好的。

This isn't currently possible to do in-manifest.

I checked with the Diego and CLI teams on the Cloud Foundry Slack, and they say it can't be done. I think the design rationale is that one shouldn't be running both architectures for a long time, but I can understand how having it in-manifest would be nice.

更多推荐