欢迎来到天天文库
浏览记录
ID:47903022
大小:72.08 KB
页数:2页
时间:2019-10-22
《应用程序是如何打包的》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、HowApplicationsAreStagedDeveloperCFCommandLineCloudController(CCNG)11CCNG~IBlobstg^]1CCDBI111DropletExecutionAgent(DEA-Istagrig^^DropletExecutionAgent(DEA・Running)(0CFPush土!;[令CreateApp;Y初StoresAppMeiadaia9UploadAppFile、;•丄StoreAppFiles'1123456786—!IIS
2、tartI<'StreamStagingOutput.•StoreAppDropReport严agingComplete©IiReportApp9.ThestagingDEApackagestheresultingstagedapplicationintoatarballcalledaudroplet”andstoresitintheblobstore.Theresultsarecachedandusednexttimetheapplicationisstaged.10.ThestagingDEAre
3、portstotheCloudControllerthatstagingiscomplete.11.TheCloudControllerchoosesoneormoreDEAsfromthepooltorunthestagedapplication.12.TherunningDEAsreportthestatusoftheapplicationtotheCloudController.1.Atthecommandline,thedeveloperentersthedirectorycontaining
4、herapplicationandusesthecfcommandlinetooltoissueapushcommand・2.ThecfcommandlinetooltellstheCloudControllertocreatearecordfortheapplication.3.TheCloudControllerstorestheapplicationmetadata(e.g.theappname,numberofinstancestheuserspecified,andthebuildpack)
5、.4.Thecfcommandlinetooluploadstheapplicationfiles.5.TheCloudControllerstorestherawapplicationfilesintheblobstore.6.Thecfcommandlinetoolissuesanappstartcommand.7.Becausetheapphasnotalreadybeenstaged,theCloudControllerchoosesaDEAinstaneefromtheDEApooltost
6、agetheapplication.ThestagingDEAusestheinstruetionsinthebuildpacktostagetheapplication.8.ThestagingDEAstreamstheoutputofthestagingprocesssothedevelopercantroubleshootapplicationstagingproblems.
此文档下载收益归作者所有