Rancher事例、及びRancherでのCI/CD(継続的インテグレーションと継続的デリバリー)についてもお話しします。
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 1© Copyright 2019 Rancher Labs. All Rights Reserved. 1Kubernetes EverywhereRancher EverywhereDevlopers Summit 20202020/02/14ChengField Engineer
View Slide
About meJianqiang Cheng(ͪΜ)Field Engineer at Rancher Labs.[email protected][email protected]■Favorite technologies:Rancher, Kubernetes, AWS, Jenkins.■Certifications:
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 3The Rancher KubeCake - Run Kubernetes EverywhereShared Tooling & ServicesSecurity & AuthenticationSimplified Cluster Operations & Infrastructure ManagementPolicy managementPod & networksecurity policiesCIS benchmarkmonitoringRBACpoliciesConfigurationenforcementVisibility &diagnosticsCentralizedauditMonitoring& alertingKubernetes versionmanagementNode poolmanagementCluster provisioningCentralizedManagementShared Tools & ServicesSecurity, Policy and User ManagementConsistent Cluster OperationsAmazonEKSAzureAKSGoogleGKECloudDatacenter Dev Branch EdgeContainerized App 1 Containerized App 2 Containerized App 3DevopsAutomationSecure, Automated Developer ServicesRouting AutoscalingMetricsLoad Balancing Canary Git Deployments
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 4 4ࠓޙ3Ҏʹ76%ͷاۀ͕KubernetesΛඪ४ج൫ͱͯ͠ར༻“”THE FUTURE OF KUBERNETESJay LymanPrincipal AnalystSource: Kubernetes and Beyond Pathfinder Report (2019)
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 5コンテナのなにが良いの?資源効率性‒ コンテナはホストOSを共有するため、ゲストOSが不要移植性‒ 動作するコンテナを一度作ればどこでも動く設置性‒ 展開が早く、再展開も容易開発容易性‒ アプリケーションが動作する環境をコンテナとして維持・管理5
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 6© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 6Rancher is the most widely adopted Kubernetesmanagement platform>100,000,000AgentDownloads>27,000ActiveUsers>350EnterpriseCustomers
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 7任意のインフラストラクチャにコンテナを展開Rancher makes it easyグローバルメディア会社ビジネス目標:マルチクラウドコンピューティングを実現、ベンダーロックインを回避、ITコストを削減ITの目的:どのようなインフラストラクチャにおいてもコンテナを実行するために、一元管理されたセルフサービス型サービスを提供結果• 60+本番アプリケーションがRancherで稼働• 各チームは、複数のインフラストラクチャプラットフォームを選択可能• ITチームは、標準化されたKubernetesディストリビューションを提供• 全てのKubernetesクラスタを可視化、一元管理InfrastructureContainer ManagementTeam nDevelopment PipelinesTeam 2Team 1Central ITInfrastructureInfrastructureIdentity/RBACCloudCredentialsMonitoringRegistryKubernetesDevStagingProdKubernetesDevStagingProdKubernetesDevStagingProd
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 8500+ 開発者の生産性向上Rancher makes it easyゲームの世界的リーダー事業目標:PlayStation Network周りの開発者の生産性を向上させるITの目的:コンテナを使用して、重要なサービスのアプリケーションカタログを提供する結果• PlayStationグループ全体のすべての開発ツールとテストツールへのセルフサービスを実現• エンジニアリング組織に対し、柔軟性と迅速性を向上• コンプライアンス準拠のための要求と承認プロセスの可視化• プロジェクトごと、チームごとに異なるプライベートカタログを提供SystemDeveloperGlobal Rancher App Catalog EnvironmentToolDeveloper
˙Rancherʹ౷߹͞ΕͨCI/CDػೳͰ͢ɻUI͔Βɺ Pipelineͷ࡞ฤूɺ݁Ռ֬ೝ͕ߦ͑·͢ɻRancher Pipelinesʹ͍ͭͯ ˞WҎ߱■参考:Pipelinesの各ステージの作成変更画⾯■参考:Pipelinesの各ステージの実⾏結果やログの確認画⾯
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 10RancherΧλϩάػೳͱ ˞WҎ߱˙ςϯϓϨʔτԽͨ͠ΞϓϦέʔγϣϯΛɺ RancherͷUICLI͔ΒσϓϩΠ͢ΔػೳΧλϩάը໘͔ΒɺඞཁͳCICDπʔϧΛɺ؆୯ʹσϓϩΠͰ͖·͢ɻ
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 11SonarQube Nexus・静的コード解析GitLabライブラリ管理:・サードパーティlib・プライベートlibPush開発者JenkinsJenkins Jenkins各種⾃動通知Slaveが動的に拡張テスト環境、ステージング環境、本番環境APP・ソース管理・Helm Chart管理Helm CLIやRancherカタログ機能によるデプロイ・Helm ChartがGitlabから取得・DockerイメージがGitlabから取得APPAPPRancher Pipeline機能RancherͰͷCICDڥྫRancher Catalogs機能
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 12© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential։ൃऀ͚ͷRIO(MicroPasS)ΛRancherͷ౷߹ࠓޙ
13Thank you@Rancher_Labs