1、LINE K8S 1. PMC 2. PMC 3. PMC 4. PMC 2009 2 3 LINE 10k 12k 400 600 LINETalk Server PMC Talk-server GWT PMC Monolithic Workflow Role-based access control Auditing (Inventory) Configuration Management Build Deploy Restart Config files CodeGit OperationPMC UIInitial Setup ScriptSVN OperationPMC UI PMC1
2、. Deploy4. RsyncWorking Dir3. artifacts2. Build: antRestartWebUI5. Change SymlinkBuild & StoreTarget Servers$FIX_PATH/$FIX_PATH/JenkinsNexus6. Remote ssh execcorresponding shell script Single point of failure, PMC Build & Rsync & Restart GWT PMC Monolithic Single point of failure, PMC Best Practice
3、, 1. (site - organization, Farm -cluster)2. API (Inventory API, PMCdeployment API)3. API4. API UI 1. 1. API 2. OAuth APIs2. 1. PMC API API 2. LINE LDAPGithub Enterprise3. 1. 2. LINE Kubernetes-as-a-Service K8S Rancher (Kubernetes-as-a-Service ) LINE Activedevelopment vendorlock-inNo cloudSimplicity
4、CNI Networking Namespaceswith RBACKubernetesDockerSwarmMarathonon Mesos Verda DNSK8S ServiceNodeportContainerContainerContainerVerda ServerVerda ServerVerda ServerApacheReverse ProxyAJP ProtocolTomcatProcessGWTHTML & Class LINE InfraDeployPMCFinancial NetworkDeployCustomizedPMC VolumeMount Local Sto
5、rage ELK NAS ContainerContainerContainerVerda ServerVerda ServerVerda ServerNAS1. PMC K8S PMC2. PMC K8S API UserUserPMC Old UIAPIK8S ServiceContainer ContainerK8S ServiceContainer Container2U CS8 AM P I1 1K . API BuildStore ArtifactsDeployRestart DeployUserPMC Old UIBuild APIK8S ServicePMCDatabaseContainer ContainerArtifactsNASArtifactsWebDAV / Cloud Storage Build CPU CPUUI UI DeployUserPMC Old UIBuild APIK8S ServicePMCDatabaseContainer ContainerArtifactsNASArtifactsWebDAV / Cloud Storage 1. ConcurrencyDisposabilityAdmin Process2. K8S3. 4. Dockerfile & 1. API PMC Deployment UI UI UI2.