$30 off During Our Annual Pro Sale. View Details »

Rancher Session on Devlopers Summit 2020

cheng
February 14, 2020

Rancher Session on Devlopers Summit 2020

Rancher事例、及びRancherでのCI/CD(継続的インテグレーションと継続的デリバリー)についてもお話しします。

cheng

February 14, 2020
Tweet

More Decks by cheng

Other Decks in Technology

Transcript

  1. © Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 1
    © Copyright 2019 Rancher Labs. All Rights Reserved. 1
    Kubernetes Everywhere
    Rancher Everywhere
    Devlopers Summit 2020
    2020/02/14
    Cheng
    Field Engineer

    View Slide

  2. About me
    Jianqiang Cheng(ͪΜ)
    Field Engineer at Rancher Labs.
    [email protected]
    [email protected]
    ■Favorite technologies:
    Rancher, Kubernetes, AWS, Jenkins.
    ■Certifications:

    View Slide

  3. © Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 3
    The Rancher KubeCake - Run Kubernetes Everywhere
    Shared Tooling & Services
    Security & Authentication
    Simplified Cluster Operations & Infrastructure Management
    Policy management
    Pod & network
    security policies
    CIS benchmark
    monitoring
    RBAC
    policies
    Configuration
    enforcement
    Visibility &
    diagnostics
    Centralized
    audit
    Monitoring
    & alerting
    Kubernetes version
    management
    Node pool
    management
    Cluster provisioning
    Centralized
    Management
    Shared Tools & Services
    Security, Policy and User Management
    Consistent Cluster Operations
    Amazon
    EKS
    Azure
    AKS
    Google
    GKE
    Cloud
    Datacenter Dev Branch Edge
    Containerized App 1 Containerized App 2 Containerized App 3
    Devops
    Automation
    Secure, Automated Developer Services
    Routing Autoscaling
    Metrics
    Load Balancing Canary Git Deployments

    View Slide

  4. © Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 4 4
    ࠓޙ3೥Ҏ಺ʹ76%ͷاۀ͕
    KubernetesΛඪ४ج൫ͱͯ͠ར༻


    THE FUTURE OF KUBERNETES
    Jay Lyman
    Principal Analyst
    Source: Kubernetes and Beyond Pathfinder Report (2019)

    View Slide

  5. © Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 5
    コンテナのなにが良いの?
    資源効率性
    ‒ コンテナはホストOSを共有するため、ゲストOSが不要
    移植性
    ‒ 動作するコンテナを一度作ればどこでも動く
    設置性
    ‒ 展開が早く、再展開も容易
    開発容易性
    ‒ アプリケーションが動作する環境をコンテナとして維持・管理
    5

    View Slide

  6. © Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 6
    © Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 6
    Rancher is the most widely adopted Kubernetes
    management platform
    >100,000,000
    Agent
    Downloads
    >27,000
    Active
    Users
    >350
    Enterprise
    Customers

    View Slide

  7. © Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 7
    任意のインフラストラクチャにコンテナを展開
    Rancher makes it easy
    グローバルメディア会社
    ビジネス目標:マルチクラウドコンピューティングを実現、ベンダーロックインを回避、ITコストを削減
    ITの目的:どのようなインフラストラクチャにおいてもコンテナを実行するために、一元管理されたセルフサービス型
    サービスを提供
    結果
    • 60+本番アプリケーションがRancherで稼働
    • 各チームは、複数のインフラストラクチャプラットフォームを選択可能
    • ITチームは、標準化されたKubernetesディストリビューションを提供
    • 全てのKubernetesクラスタを可視化、一元管理
    Infrastructure
    Container Management
    Team n
    Development Pipelines
    Team 2
    Team 1
    Central IT
    Infrastructure
    Infrastructure
    Identity/RBAC
    Cloud
    Credentials
    Monitoring
    Registry
    Kubernetes
    Dev
    Staging
    Prod
    Kubernetes
    Dev
    Staging
    Prod
    Kubernetes
    Dev
    Staging
    Prod

    View Slide

  8. © Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 8
    500+ 開発者の生産性向上
    Rancher makes it easy
    ゲームの世界的リーダー
    事業目標:PlayStation Network周りの開発者の生産性を向上させる
    ITの目的:コンテナを使用して、重要なサービスのアプリケーションカタログを提供する
    結果
    • PlayStationグループ全体のすべての開発ツールとテストツールへのセルフサービスを実現
    • エンジニアリング組織に対し、柔軟性と迅速性を向上
    • コンプライアンス準拠のための要求と承認プロセスの可視化
    • プロジェクトごと、チームごとに異なるプライベートカタログを提供
    System
    Developer
    Global Rancher App Catalog Environment
    Tool
    Developer

    View Slide

  9. ˙Rancherʹ౷߹͞ΕͨCI/CDػೳͰ͢ɻ
    UI͔Βɺ Pipelineͷ࡞੒ฤूɺ݁Ռ֬ೝ͕ߦ͑·͢ɻ
    Rancher Pipelinesʹ͍ͭͯ ˞WҎ߱
    ■参考:Pipelinesの各ステージの作成変更画⾯
    ■参考:Pipelinesの各ステージの実⾏結果やログの確認画⾯

    View Slide

  10. © Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 10
    RancherΧλϩάػೳͱ͸ ˞WҎ߱
    ˙ςϯϓϨʔτԽͨ͠ΞϓϦέʔγϣϯΛɺ RancherͷUI΍CLI͔ΒσϓϩΠ͢Δػೳ
    Χλϩάը໘͔ΒɺඞཁͳCICDπʔϧΛɺ؆୯ʹσϓϩΠͰ͖·͢ɻ

    View Slide

  11. © Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 11
    SonarQube Nexus
    ・静的コード解析
    GitLab
    ライブラリ管理:
    ・サードパーティlib
    ・プライベートlib
    Push
    開発者
    Jenkins
    Jenkins Jenkins
    各種⾃動通知
    Slaveが動的に拡張
    テスト環境、ステージング環境、本番環境
    APP
    ・ソース管理
    ・Helm Chart管理
    Helm CLIやRancherカタログ機能による
    デプロイ
    ・Helm ChartがGitlabから取得
    ・DockerイメージがGitlabから取得
    APP
    APP
    Rancher Pipeline機能
    RancherͰͷCICD؀ڥྫ
    Rancher Catalogs機能

    View Slide

  12. © Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 12
    © Copyright 2019 Rancher Labs. All Rights Reserved. Confidential
    ։ൃऀ޲͚ͷRIO(MicroPasS)ΛRancher΁ͷ౷߹
    ࠓޙ

    View Slide

  13. 13
    Thank you
    @Rancher_Labs

    View Slide