《DevOps的流程编排》由会员分享,可在线阅读,更多相关《DevOps的流程编排(28页珍藏版)》请在金锄头文库上搜索。
1、Deployanywhere:orchestratingthe DevOpstoolchainwithJenkins Pipeline LinLi(Lily) 2017.11.11 AgileandDevOpsTransformation DevOpsToolchain ImplementationCI/CDwithJenkinsPipeline Q&A uAGENDA 3 Who are we: since 1939 Build,Operate,&SecureEnterpriseSoftware Webuildenterprise-gradescalablesoftwarewithanaly
2、tics builtin 4 DevOpstransformationalignmentwithScaledAgileFramework 5 DevOpstransformation: impacts theR&D&DevOps practices andoperation 6 2ndServiceFourthService SuiteStrategyAgilePractices Containers Microservices CrossSuite ExecutionDependencies Continuous Integration Delivery&Demo StandardsforS
3、ecurity, Quality&Compliance AglanceofProjects 7 2ndServiceFourthService ProjectA Legacymaintain Complexbuildchain Toolmigration ProjectB Micro-service 600+Jenkinsjob Re-organization Transition ProjectC Kubernets Containerized Cloud Cross-teamwork integration 12 months 6 months 3months 2weeks 8 Produ
4、ct Suite 150+ commit/day 150+ CI builds/day 10 Version promotion/wk Chamber Service: 1448 UI test, 2000 API, 26788 UT/build Suite: 442 suite case/build 6 products/20+ services 120+ Git repos 140 Docker image 145 running pods Data File Release: 2017.10 Feature scope:6899 Capacity: 5815 No. of feature
5、s: 217 Complexity level: 5 Challenging level: 5 180+ engineers 21 Scrum teams 3 ARTs AgileandDevOpsTransformation DevOpsToolchain ImplementationCI/CDwithJenkinsPipeline Q&A uAGENDA OrchestrationoftheDevOpstoolchain 10 2ndServiceFourthService Goalsandfeaturematrix Integrationwithothertools Extensibil
6、ityandflexibility Useradoption Learning,implementationandmaintaining Supportandcommunityactivity scope Pricing POC,demo&trialfarm 11 Chooseappropriatetoolsforyourprogramor organization AgileandDevOpsTransformation DevOpsToolchain ImplementationCI/CDwithJenkinsPipeline Q&A uAGENDA 13 CI/CDprocessover
7、view 14 InnovationsofCI/CD Servicedefinition:architecturedesignandprocess AgoodarchitectureimpactsprocessandDevOpsactivities 15 MultipleleaveCI/CDpipelinesandassembly Serviceintegrationcontracttest Promotionandrevert Versionmappingmanifestcrossleaves 16 Operationasaservice automationtesting monitori
8、ng easilystartupasaserviceinKubernetescluster forksharedservicecross-teamandcontributebacktocentralrepository 17 Pipelineascode:defineprocessandrulesincode Pipelineascode:defineprocessandrulesincode Eachcomponentcanbuild,test,deploy, splitsourcecodetoseparateGitrepositorywhichhasitsownJenkinsfileinr
9、ootdirectory 18 ReusablePipeline loadfromlocalfile ApplyFrom:URL SharedLibraryfunctionality Library(somelib) importcom.mycorp.pipeline.somelib.UsefulClass 19 Unifybuildchain UseMaventounifybuildchainfordifferenttechnicalstacksorcompilingtoolsofeachmicro services:C+,Java,npm,Docker,yaml etc. Simplify
10、thelogicprogrammingandconfigurationofJenkinspipeline 20 Pre-flightbuild &PrivateCI/CD Pre-flightbuild:keepqualitygatebeforecodechangesbemergesintobranches PrivateCI/CD:sharecomputingandstorageresourcepool 21 IntegrationwithGitHub 22 IntegrationwithGitHub 23 Deployanywhere Public,PrivateCloud Lab,On-
11、premises Dev,QA,staging,demo Small/medium/largeprofile,modes 24 Unifyconfiguration,environment,andmethodineach differentlayers Infrastructureprovisioning:Terraform,CloudFormation,Ansible Pre-check Kubernetscluster:ContainerDeliveryFoundation Installation:Deploykit(Go+Ansible) 25 OrchestratewithJenki
12、ns:reusetools,stepsandstages 26 IntegrationwithSlack post success slackSend channel:#cicd, color:good, message:“saysomething. 27 Infraascode VPC RDS PSQL Route 53 DNS Worker Worker Worker K8S cluster EC2 Elastic IP Master Ingress Master Ingress Master Ingress EBS NFSon EC2 UseEBSas persistentvolume viaNFS AWSInfraprovision automationvia HAK8Scluster DBsupportfor PostgreSQL Q&A ThankYou.