--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/CAFwdB-yiEbq25C%3DOVpO5VeCm_sNyJqmuAQZnKq459ZGPJzrysg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/CAEoPEDqCk3RU1Reho%2B8AiQJ-6DYuBskTb_vKppDNnyijX2pzaA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups
"Cloud Foundry Developers" group.
To view this discussion on the web visit
For a hosted version of CF, we wouldn't want to expose to developers the transition from DEAs to Diego, it should be transparent (a developer shouldn't have to worry about changes of the platform he's running on).
Perhaps. The nature of this change is fairly massive, however, and I believe there is wisdom in giving developers a chance to kick the tires while Diego is in beta. In particular, developers who have heavily invested in the platform and depend on it for their production environments would probably be happy to contribute back by helping ensure that the new version of the platform suits their needs.
So ideally we should have the ability to flip a switch (the boolean flag you described below?), which triggers the migration to DEAs in a non-disruptive fashion, while below you're saying there won't be any guarantees wrt availability when moving an app in such a way.
This is a very important point to clarify. I am not proposing a single boolean flag that automatically migrates all applications from the DEAs to Diego. The boolean flag lives on the application and it will be up to operators (either in concert with developers, or not) to migrate applications over. For very large installations this will be something that should be done with planning and care — (for example: suddenly downloading 10,000 droplets may not go over well with your network).
In terms of guarantees with respect to availability: you are correct. To solve this problem most correctly we would need to teach the Cloud Controller to run one application on both the DEAs and Diego simultaneously. This adds a burden of complexity that we would rather avoid if possible.
What are your thoughts on how to address this scenario?
Our goal is to give operators the APIs they need to orchestrate this migration as they see fit (in particular: this is as much about interacting with people as it is interacting with technology). We’re open to building tooling/pre-packaged opinions on top of the API - though it would be best, I believe, to do this collaboratively with the community.
Michael
From: Onsi Fakhouri <ofak...@pivotal.io>
To: "vcap...@cloudfoundry.org" <vcap...@cloudfoundry.org>
Date: 01/31/2015 12:05 AM
Subject: [vcap-dev] Diego Transition Plans
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/OF47A6CF7B.37434C08-ON48257DDE.0017A928-C1257DDE.00185CDF%40de.ibm.com.
Would you please consider a third option: "diego: half" or making "diego" a decimal fraction ranging from 0.0 to 1.0.
What exactly would this do? Pick a random subset of applications and put them on Diego? My concerns with the decimal fraction is that it removes control from the operator: which subset of applications will be migrated to Diego? How do I opt an individual application in or out? What we are proposing will give visibility into and explicit, reproducible, control over what is on Diego and what is not.
One could fairly easily build tooling on top of our proposed API that could select a random subset of the applications and move them to Diego.
Pros:- can try Diego with low risk, and transit with confidence
I think the existing proposal satisfies this — with minimal effort operators and/or developers can opt into Diego and build confidence that their applications will work well with Diego. As the time to transition approaches, operators would be able to find the subset of applications that have not migrated yet and take action (either contactingthe developers, or migrating the applications themselves).
Woops, forgot to reply all:
So I resend my reply to this mailing list.
----
Onsi,
I am sorry I didn't fully follow your first post. My expectation will be achieved by: > For downtimeless transitions to Diego we recommend using your favorite blue-green technique to spin up a version of the application on Diego, then spin down the old version off of the DEAs. this blue-green deployment technique. Now I have a question. Is it able that changing diego attribute to true does not cause immediate restart of an app? If so, we can have another way to try Diego by restarting a portion of instances of an application with diego:true, because we already have an API that terminates a specific instance of an application. I know that this method has uncertainity because there may be uncontrollable restart of an instance. Yes, the blue-green approach is right and safe. It's just from curiosity. And another question: why don't you use stack for this transition? My guess is that changing stack may cause restaging (I'm not sure about it because I have no experience of changing stack). Anyway, thank you for letting me think twice about this topic.