Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
Submit search
EN
Uploaded by
Tsukasa Kato
PDF, PPTX
557 views
AKS+KEDAで実現!Container Functions Pipeline
2019/06/22 JAZUG熊本(くまあず) de:code 2019 振り返り会
Technology
◦
Read more
2
Save
Share
Embed
Embed presentation
Download
Download as PDF, PPTX
1
/ 39
2
/ 39
3
/ 39
4
/ 39
5
/ 39
6
/ 39
7
/ 39
8
/ 39
9
/ 39
10
/ 39
11
/ 39
12
/ 39
13
/ 39
14
/ 39
15
/ 39
16
/ 39
17
/ 39
18
/ 39
19
/ 39
20
/ 39
21
/ 39
22
/ 39
23
/ 39
24
/ 39
25
/ 39
26
/ 39
27
/ 39
28
/ 39
29
/ 39
30
/ 39
31
/ 39
32
/ 39
33
/ 39
34
/ 39
35
/ 39
36
/ 39
37
/ 39
38
/ 39
39
/ 39
More Related Content
PDF
Google Container Engine (GKE) & Kubernetes のアーキテクチャ解説
by
Samir Hammoudi
PDF
Kubernetes雑にまとめてみた 2020年8月版
by
VirtualTech Japan Inc.
PDF
Wordpress案件にgkeを採用してみた(短縮版)
by
Yu Amano
PDF
ダイ・ハード in the Kubernetes world
by
Toru Makabe
PDF
[JANOG35.5] WhiteBox SW検証 ~サーバサイド編~
by
gree_tech
PDF
Kubernetes雑にまとめてみた 2019年12月版
by
VirtualTech Japan Inc.
PDF
Introduction of Azure Docker Integration
by
Takekazu Omi
PDF
半日でわかる コンテナー技術 (応用編)
by
Toru Makabe
Google Container Engine (GKE) & Kubernetes のアーキテクチャ解説
by
Samir Hammoudi
Kubernetes雑にまとめてみた 2020年8月版
by
VirtualTech Japan Inc.
Wordpress案件にgkeを採用してみた(短縮版)
by
Yu Amano
ダイ・ハード in the Kubernetes world
by
Toru Makabe
[JANOG35.5] WhiteBox SW検証 ~サーバサイド編~
by
gree_tech
Kubernetes雑にまとめてみた 2019年12月版
by
VirtualTech Japan Inc.
Introduction of Azure Docker Integration
by
Takekazu Omi
半日でわかる コンテナー技術 (応用編)
by
Toru Makabe
What's hot
PDF
de:code 2019 Cloud トラック 総まとめ!
by
Minoru Naito
PPTX
Private Azure Kubernetes Service cluster を触ってみよう♪
by
Igarashi Toru
PDF
CEDEC2015_OpenStack で運用する Private Cloud の泥臭い(リアル)な話
by
gree_tech
PDF
[Cloud OnAir] Google Cloud Next '20: OnAir 特別編 〜世界で人気のあったセッション特集〜 2020年9月24日 放送
by
Google Cloud Platform - Japan
PDF
PFNのML/DL基盤を支えるKubernetesにおける自動化 / DevOpsDays Tokyo 2021
by
Preferred Networks
PDF
Juju/MAASで作る Kubernetes + GPU
by
VirtualTech Japan Inc.
PDF
Azure Stack HCI - パフォーマンス履歴 と Azure Monitor
by
Hiroshi Matsumoto
PPTX
0から始めるコンテナの学び方(Kubernetes Novice Tokyo #14 発表資料)
by
NTT DATA Technology & Innovation
PDF
半日でわかる コンテナー技術 (入門編)
by
Toru Makabe
PDF
Kubernetesのワーカーノードを自動修復するために必要だったこと
by
h-otter
PDF
Docker国内外本番環境サービス事例のご紹介
by
ThinkIT_impress
PDF
俺とHashiCorp
by
Toru Makabe
PPTX
Kubernetes × 可用性 -- cndjp第3回勉強会
by
Hiroshi Hayakawa
PDF
Terraform Bootcamp - Azure Infrastructure as Code隊
by
Toru Makabe
PDF
Google Cloud Game Servers 徹底入門 | 第 10 回 Google Cloud INSIDE Games & Apps Online
by
Google Cloud Platform - Japan
PDF
[Cloud OnAir] Google Cloud 主催イベント Anthos Day 情報 2020 年 2 月 13 日放送
by
Google Cloud Platform - Japan
PDF
俺的 Ignite update 萌えポイント portal&arm, compute, network -
by
Yui Ashikaga
PDF
Quarkus Technical Deep Dive - Japanese
by
Chihiro Ito
PDF
[Cloud OnAir] Talks by DevRel Vol.5 アプリケーションのモダナイゼーション 2020年9月3日 放送
by
Google Cloud Platform - Japan
PDF
GKE のアプリデプロイは Spinnaker に任せて!
by
Samir Hammoudi
de:code 2019 Cloud トラック 総まとめ!
by
Minoru Naito
Private Azure Kubernetes Service cluster を触ってみよう♪
by
Igarashi Toru
CEDEC2015_OpenStack で運用する Private Cloud の泥臭い(リアル)な話
by
gree_tech
[Cloud OnAir] Google Cloud Next '20: OnAir 特別編 〜世界で人気のあったセッション特集〜 2020年9月24日 放送
by
Google Cloud Platform - Japan
PFNのML/DL基盤を支えるKubernetesにおける自動化 / DevOpsDays Tokyo 2021
by
Preferred Networks
Juju/MAASで作る Kubernetes + GPU
by
VirtualTech Japan Inc.
Azure Stack HCI - パフォーマンス履歴 と Azure Monitor
by
Hiroshi Matsumoto
0から始めるコンテナの学び方(Kubernetes Novice Tokyo #14 発表資料)
by
NTT DATA Technology & Innovation
半日でわかる コンテナー技術 (入門編)
by
Toru Makabe
Kubernetesのワーカーノードを自動修復するために必要だったこと
by
h-otter
Docker国内外本番環境サービス事例のご紹介
by
ThinkIT_impress
俺とHashiCorp
by
Toru Makabe
Kubernetes × 可用性 -- cndjp第3回勉強会
by
Hiroshi Hayakawa
Terraform Bootcamp - Azure Infrastructure as Code隊
by
Toru Makabe
Google Cloud Game Servers 徹底入門 | 第 10 回 Google Cloud INSIDE Games & Apps Online
by
Google Cloud Platform - Japan
[Cloud OnAir] Google Cloud 主催イベント Anthos Day 情報 2020 年 2 月 13 日放送
by
Google Cloud Platform - Japan
俺的 Ignite update 萌えポイント portal&arm, compute, network -
by
Yui Ashikaga
Quarkus Technical Deep Dive - Japanese
by
Chihiro Ito
[Cloud OnAir] Talks by DevRel Vol.5 アプリケーションのモダナイゼーション 2020年9月3日 放送
by
Google Cloud Platform - Japan
GKE のアプリデプロイは Spinnaker に任せて!
by
Samir Hammoudi
Similar to AKS+KEDAで実現!Container Functions Pipeline
PDF
Azure DevOps と開発管理
by
Tsukasa Kato
PDF
Azure DevOps 関西 2019 - Overview
by
Keiji Kamebuchi
PDF
Azure Kubernetes Service Overview
by
Takeshi Fukuhara
PPTX
Java on Kubernetes on Azure
by
Yoshio Terada
PDF
GitHub Actions で CI/CD
by
Issei Hiraoka
PDF
[Developers Festa Sapporo 2020] Microsoft/GitHubが提供するDeveloper Cloud (Develop...
by
Naoki (Neo) SATO
PDF
Visual StudioやAzureからAzure DevOpsを使う
by
Takeshi Fukuhara
PPTX
これから始める Azure の基礎サービス: IaaS/PaaS
by
Daiyu Hatakeyama
PDF
サイドプロジェクトで使う Azure DevOps
by
Shuhei Eda
PDF
DevOps on Azure Kubernetes
by
Issei Hiraoka
PPTX
Container x azure x kubernetes
by
Yasuaki Matsuda
PDF
20190201 Cloud Native Kansai AKS Azure
by
Issei Hiraoka
PDF
Azure DevOps - ALGYAN Oct 2022.pdf
by
YasuhiroHanda2
PDF
2021/03/19 パブリッククラウドを活かす運用プロセス自動化
by
Issei Hiraoka
PDF
Container deployment on Azure
by
Tsukasa Kato
PDF
CI/CD Pipeline を考える 〜KubeCon 2017 + CyberAgent の最大公倍数〜
by
Masaya Aoyama
PDF
Visual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイル
by
Akira Inoue
PDF
俺的 Build Update まとめ
by
Yui Ashikaga
PDF
Azure container as a service v0.1.19.1213
by
Ayumu Inaba
PDF
Infrastructure as code for azure
by
Keiji Kamebuchi
Azure DevOps と開発管理
by
Tsukasa Kato
Azure DevOps 関西 2019 - Overview
by
Keiji Kamebuchi
Azure Kubernetes Service Overview
by
Takeshi Fukuhara
Java on Kubernetes on Azure
by
Yoshio Terada
GitHub Actions で CI/CD
by
Issei Hiraoka
[Developers Festa Sapporo 2020] Microsoft/GitHubが提供するDeveloper Cloud (Develop...
by
Naoki (Neo) SATO
Visual StudioやAzureからAzure DevOpsを使う
by
Takeshi Fukuhara
これから始める Azure の基礎サービス: IaaS/PaaS
by
Daiyu Hatakeyama
サイドプロジェクトで使う Azure DevOps
by
Shuhei Eda
DevOps on Azure Kubernetes
by
Issei Hiraoka
Container x azure x kubernetes
by
Yasuaki Matsuda
20190201 Cloud Native Kansai AKS Azure
by
Issei Hiraoka
Azure DevOps - ALGYAN Oct 2022.pdf
by
YasuhiroHanda2
2021/03/19 パブリッククラウドを活かす運用プロセス自動化
by
Issei Hiraoka
Container deployment on Azure
by
Tsukasa Kato
CI/CD Pipeline を考える 〜KubeCon 2017 + CyberAgent の最大公倍数〜
by
Masaya Aoyama
Visual Studio 2019 GA ! ~ 最新情報 & これからの開発スタイル
by
Akira Inoue
俺的 Build Update まとめ
by
Yui Ashikaga
Azure container as a service v0.1.19.1213
by
Ayumu Inaba
Infrastructure as code for azure
by
Keiji Kamebuchi
More from Tsukasa Kato
PDF
ぼうけんにでかけよう Kubernetes KEDA
by
Tsukasa Kato
PDF
Azure Vnetの拡張と強化
by
Tsukasa Kato
PDF
ARM版Windows Virtual Desktop事始め
by
Tsukasa Kato
PDF
Power Automate with kintone
by
Tsukasa Kato
PDF
ニューノーマルな働き方!?Teams投稿をセンチメント分析!
by
Tsukasa Kato
PDF
WVD運用に欠かせない5つのポイント
by
Tsukasa Kato
PDF
俺のセキュリティを超えてゆけ
by
Tsukasa Kato
PDF
Azuredevopsakskeda
by
Tsukasa Kato
PDF
Open Source x AI
by
Tsukasa Kato
PDF
Build2019発表情報一気見せ
by
Tsukasa Kato
PDF
Azure serverlesssummit2018
by
Tsukasa Kato
PDF
Microservices and Servcie Mesh on Azure
by
Tsukasa Kato
PDF
今後のContainerの行く末の感じたこと、思ったこと〜JKD参加報告〜
by
Tsukasa Kato
PDF
Azure Private Linkのご紹介
by
Tsukasa Kato
PDF
すぐにでも使える Windows Virtual Desktop
by
Tsukasa Kato
PDF
はたらく認証
by
Tsukasa Kato
PDF
Container x AI
by
Tsukasa Kato
PDF
マネージドBastion Azure Bastion
by
Tsukasa Kato
PDF
SendGridを使ったスマホアプリ運用
by
Tsukasa Kato
PDF
よりお手軽なBotへ 〜APIで効率的なBotを〜
by
Tsukasa Kato
ぼうけんにでかけよう Kubernetes KEDA
by
Tsukasa Kato
Azure Vnetの拡張と強化
by
Tsukasa Kato
ARM版Windows Virtual Desktop事始め
by
Tsukasa Kato
Power Automate with kintone
by
Tsukasa Kato
ニューノーマルな働き方!?Teams投稿をセンチメント分析!
by
Tsukasa Kato
WVD運用に欠かせない5つのポイント
by
Tsukasa Kato
俺のセキュリティを超えてゆけ
by
Tsukasa Kato
Azuredevopsakskeda
by
Tsukasa Kato
Open Source x AI
by
Tsukasa Kato
Build2019発表情報一気見せ
by
Tsukasa Kato
Azure serverlesssummit2018
by
Tsukasa Kato
Microservices and Servcie Mesh on Azure
by
Tsukasa Kato
今後のContainerの行く末の感じたこと、思ったこと〜JKD参加報告〜
by
Tsukasa Kato
Azure Private Linkのご紹介
by
Tsukasa Kato
すぐにでも使える Windows Virtual Desktop
by
Tsukasa Kato
はたらく認証
by
Tsukasa Kato
Container x AI
by
Tsukasa Kato
マネージドBastion Azure Bastion
by
Tsukasa Kato
SendGridを使ったスマホアプリ運用
by
Tsukasa Kato
よりお手軽なBotへ 〜APIで効率的なBotを〜
by
Tsukasa Kato
Recently uploaded
PDF
エンジニアが選ぶべきAIエディタ & Antigravity 活用例@ウェビナー「触ってみてどうだった?Google Antigravity 既存IDEと...
by
NorihiroSunada
PPTX
楽々ナレッジベース「楽ナレ」3種比較 - Dify / AWS S3 Vector / Google File Search Tool
by
Kiyohide Yamaguchi
PDF
流行りに乗っかるClaris FileMaker 〜AI関連機能の紹介〜 by 合同会社イボルブ
by
Evolve LLC.
PDF
20251210_MultiDevinForEnterprise on Devin 1st Anniv Meetup
by
Masaki Yamakawa
PDF
Machine Tests Benchmark Suite. Explain github.com/alexziskind1/machine_tests #2
by
Tasuku Takahashi
PDF
Machine Tests Benchmark Suite. Explain github.com/alexziskind1/machine_tests #1
by
Tasuku Takahashi
エンジニアが選ぶべきAIエディタ & Antigravity 活用例@ウェビナー「触ってみてどうだった?Google Antigravity 既存IDEと...
by
NorihiroSunada
楽々ナレッジベース「楽ナレ」3種比較 - Dify / AWS S3 Vector / Google File Search Tool
by
Kiyohide Yamaguchi
流行りに乗っかるClaris FileMaker 〜AI関連機能の紹介〜 by 合同会社イボルブ
by
Evolve LLC.
20251210_MultiDevinForEnterprise on Devin 1st Anniv Meetup
by
Masaki Yamakawa
Machine Tests Benchmark Suite. Explain github.com/alexziskind1/machine_tests #2
by
Tasuku Takahashi
Machine Tests Benchmark Suite. Explain github.com/alexziskind1/machine_tests #1
by
Tasuku Takahashi
AKS+KEDAで実現!Container Functions Pipeline
1.
AKS+KEDAで実現! Container Functions Pipeline JAZUG熊本(くまあず)
de:code 2019 振り返り会 2019/06/22 Tsukasa Kato
2.
Profile Copyright© 2019, kumaazu
All Rights Reserved. 2 Tsukasa Kato / 加藤 司 株式会社オルターブース テクニカルアーキテクト Microsoft Azure / AWS / C# / PHP / Xamarin Windows Server / Linux Microsoft MVP for Microsoft Azure 2
3.
はじめに 本スライドは6月22日時点の情報を元に作成しています。 最新情報はWebで確認してください。 参考セッション • Keynote • [CD02]
Azure Functions 2.0 Deep Dive デベロッパーのための 最新開 発ガイド • [DT81]クラウドネイティブ時代の分散トレーシング Copyright© 2019, kumaazu All Rights Reserved. 3
4.
今日お話しすること Cloud Native Azure DevOps Azure
Kubernetes Service (AKS) Kubernetes-based Event Driven Autoscaling Component (KEDA) Microservices Service Mesh(Istio) Distributed tracing(Jeager) Copyright© 2019, kumaazu All Rights Reserved. 4
5.
5 Copyright© 2019, kumaazu
All Rights Reserved. Cloud Native
6.
クラウドネイティブ クラウドネイティブ技術は、パブリッククラウド、プライベー トクラウド、ハイブリッドクラウドなどの近代的でダイナミッ クな環境において、スケーラブルなアプリケーションを構築お よび実行するための能力を組織にもたらします。 このアプ ローチの代表例に、コンテナ、サービスメッシュ、マイクロ サービス、イミューダブルインフラストラクチャ、および宣言 型APIがあります。 Copyright© 2019,
kumaazu All Rights Reserved. 6 https://github.com/cncf/toc/blob/master/DEFINITION.md
7.
クラウドネイティブを支える技術/アーキテクチャ Copyright© 2019, kumaazu
All Rights Reserved. 7
8.
8 Copyright© 2019, kumaazu
All Rights Reserved. Azure Kubernetes Service
9.
What’s New (AKS) KEDA(Kubernetes-based
Event Drive Autoscaling)でオートス ケーリングがサポート Authenticated IP for Azure Kubernetes Service – Preview Azure Dev Spacesによるエンドツーエンドのテストサポート - GA Windowsコンテナーサポート - Private Preview 西日本リージョン - GA AKS virtual nodes - GA Multi node pools - Preview Copyright© 2019, kumaazu All Rights Reserved. 9
10.
10 Copyright© 2019, kumaazu
All Rights Reserved. KEDA
11.
KEDA (Kubernetes-based Event Driven
Autoscaling Component) Kubernetesのスケーリング「Horizontal pod autoscaler (HPA)」はPodのCPUやメ モリ消費量で調整される KEDAは非HTTPなイベントに連動してク ラスターへのデプロイを自動スケールで きる Kafka、Rabbit MQ、Azure Storage Queues、Azure Service Bus Queues and Topics、AWS Simple Queue Serviceをサ ポートをサポート HPAなどのKubernetesコンポーネントと ネイティブに統合され、クラウドとエッ ジの両方で実行できる Copyright© 2019, kumaazu All Rights Reserved. 11 K8sでイベント駆動型の Podレベルオートスケールを可能にするフレームワーク
12.
KEDAの実装 Copyright© 2019, kumaazu
All Rights Reserved. 12 # kedacoreリポジトリのクローン $ git clone https://github.com/kedacore/keda.git $ cd keda # k8sクラスタへhelmのインストール(tiller他) $ helm init # helm repoの追加 $ helm repo add kedacore https://kedacore.azureedge.net/helm # helm repoのアップデート $ helm repo update # keda-edge chartのインストール $ helm install kedacore/keda-edge --devel --set logLevel=debug --namespace keda --name keda # Azure Functions Core Toolsのデプロイ $ func kubernetes install --namespace keda # minikube等へのhelmを使用しない場合 $ kubectl apply -f KedaScaleController.yaml https://github.com/kedacore/keda
13.
Copyright© 2019, kumaazu
All Rights Reserved. 13 Azure DevOps
14.
Copyright© 2019, kumaazu
All Rights Reserved. 14 Azure Boards Azure Pipelines Azure Repos Azure Test Plans Azure Artifacts かんばんボード、バック ログ、チームのダッシュ ボード、カスタム レポー トを使用して作業を追跡 Linux、macOS、および Windows 用のクラウド ホステッド パイプライン 無料のプライベート Git リポジトリ、プルリクエ スト、コード検索 計画された探索的テスト ソリューションによる コードの品質を向上 パブリックおよびプライ ベートのソースから、 Maven、npm、NuGet、 Python パッケージの フィードを作成して共有 Azure DevOps
15.
15 Azure Boards ドラッグ&ドロップで管理できる操作性の高さ Reposで管理されているリポジトリのコミット、PRの作業項目 とリンク出来て、効率良いタスク管理が可能 GitHubとの統合によりGitHubリポジトリのコミットやPRの作 業項目へのリンクが可能 ダッシュボードをカスタマイズしてプロジェクトの進行状況を 簡単に監視 TeamsやSlackなどからの利用も可能 Copyright© 2019,
kumaazu All Rights Reserved.
16.
16 Azure Pipelines オープンソース用に10個の無料並列ジョブを実行可能(時間制 限なし) Linux、macOS、Windows用のクラウドホステッドなビルド環 境が提供 Node.js、Python、Java、PHP、Ruby、C/C++、.NET、 Android、および iOS
アプリをビルド、テスト、デプロイでき る コンテナーイメージをビルドし、Docker HubやACRへプッ シュでき、Kubernetesや個別ホストへデプロイできる Azure、AWS、GCP など、任意のクラウドへのソフトウェアの 継続的デリバリー (CD)を実装できる Copyright© 2019, kumaazu All Rights Reserved.
17.
17 Azure Repos 趣味のプロジェクトから世界最大規模のリポジトリまでスケー ル可能な無制限のプライベート Git/
TFVCリポジトリのホス ティング マーケットプレイスから検証や拡張機能を追加したり、Web hook と REST API を使用して自分で作成も可能 スレッドを使いディスカッションしたり、変更に対するGitの コードレビューを効果的に実行可能 Azure Pipelines やその他のツールを使用して、CI/CDをセット アップして、 pull request でビルド、テスト、デプロイを自動 的にトリガー可能 Copyright© 2019, kumaazu All Rights Reserved.
18.
18 Azure Test Plans アプリケーションのテストは、デスクトップ
アプリや Web ア プリに対して実行できる ストーリーやフィーチャーに対してエンドツーエンドの追跡可 能性と品質を活用できる テスト実行時に豊富なシナリオ データをキャプチャして、検 出された欠陥に対処できる Azure Pipelinesと連携することでCI/CDワークフローに自動テ ストを組み込む事ができる Copyright© 2019, kumaazu All Rights Reserved.
19.
19 Azure Artifacts Artifacts は、Azure
Pipelines CI/CD ツールとネイティブに統合 されているため、ビルドとリリース内のあらゆる成果物に簡単 にアクセスできる パッケージを共有し、組み込みの CI/CD、バージョン管理、テ ストを使用することが可能 Maven、npm、NuGet、Python を対象とする一般的な成果物 管理でき、バイナリを Git に保管する必要はなく、Universal Packages を使用して簡単に保管可能 規模問わず簡単にコード共有ができる Copyright© 2019, kumaazu All Rights Reserved.
20.
What’s New (Azure
DevOps) Azure DevOpsにGitHubアカウントでサインインできるように なった Azure PipelinesのCI/CDをYAMLで管理できるようになった Azure PipelinesでAKSなどのKubernetesへデプロイ可能になった Azure Artifactはコンサンプションモデルになり、組織で2GBまで 無料に、その他価格体系の変更 Azure Pipelines Appを使ってTeams上でPipelinesの通知と承認処 理が可能になった Copyright© 2019, kumaazu All Rights Reserved. 20
21.
Azure Pipelines YAML
(一部抜粋) Copyright© 2019, kumaazu All Rights Reserved. 21 pool: name: Hosted Ubuntu 1604 variables: dockerimage: 'web' steps: - task: Docker@0 displayName: 'Build an image' inputs: azureSubscription: xxxxxxxxxx (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)' azureContainerRegistry: '{"loginServer":”xxxxxxxxxx.azurecr.io", "id" : "/subscriptions/ xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /resourceGroups/”}’ imageName: '$(dockerimage):$(Build.BuildNumber)' - task: Docker@0 displayName: 'Push an image' inputs: azureSubscription: xxxxxxxxxx (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)' azureContainerRegistry: '{"loginServer":"tsukatohdemo.azurecr.io","id" : "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /resourceGroups/”}’ action: 'Push an image' imageName: '$(dockerimage):$(Build.BuildNumber)' - bash: | # Write your commands here
22.
22 Pricing Copyright© 2019, kumaazu
All Rights Reserved. Azure Pipelines Azure Artifacts 1個の無料のMicrosoft Hosted CI/CD 1パラレルジョブ 1,800分/月 1個の無料のSelf Hosted CI/CD 1パラレルジョブ 時間無制限 2GBは無料 以降1GBあたり ¥224 0~2GB : Free 2~10GB : ¥244/GB 10~100GB : ¥112/GB 100~1,000GB : ¥56/GB 1,000+GB : ¥28/GB 5ユーザーまでは無料、その後Boards/Reposについては ユーザー毎に¥672/月 Azure Pipelines : 従量課金制プランを含む Azure Boards : 作業項目トラッキングとかんばんボード Azure Repos : 無制限のプライベートGitリポジトリ Azure Artifacts : 2GBは無料 ロードテスト : 20,000 VUM/月 1ユーザー ¥5,824/月 全てのBasicプランの機能を含む テストの計画、追跡、実行 注釈付きのブラウザーベーステスト リッチクライアントのテスト実行 ユーザー受け入れテスト 集中管理されたレポート ユーザーライセンス 個別サービス
23.
Teams連携 Copyright© 2019, kumaazu
All Rights Reserved. 23 • Build,Releaseの終了通知 • 承認要求 https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops 【コマンド例】 追加するには以下のコマンドを入力 @azurepipelines subscribe[pipelineurl] Build pipelinesの監視 @azurepipelines subscribehttps://dev.azure.com/myorg/myproject/_build?definitionId=123 Release pipelinesの監視 @azurepipelines subscribehttps://dev.azure.com/myorg/myproject/_release?definitionId=123&view=mine&_a=releases 利用するにはTeamsのストアでAzure Pipelines app をインストールして以下コマンドを入力するだけ
24.
24 Copyright© 2019, kumaazu
All Rights Reserved. Microservices
25.
マイクロサービス 1つのアプリケーションを、ビジネス機能に沿った複数の小さ いサービスの疎に結合された集合体として構成するサービス指 向アーキテクチャ。 各サービスはきめ細かい粒度を持ち、軽量なプロトコルを用い て通信を行う。 開発が並列化され、少人数の自律的なチームにより、各チーム が所有するサービスを独立に、開発、デプロイ、スケールさせ ることが可能になる。 CI/CDの実装がしやすい。 Copyright© 2019, kumaazu
All Rights Reserved. 25
26.
マイクロサービスの課題 Copyright© 2019, kumaazu
All Rights Reserved. 26 Communication Discovery Observability Security 複雑なサービス間通信 サービスや依存関係サービス間認証・認可、 通信暗号化 分散アプリの監視・問題検知
27.
サービスメッシュ(Service mesh) サービス間通信を処理するソフトウェアレイヤーで、アプリに変 わってネットワーク要求を送信するサービス サービスメッシュが提供する代表的なネットワークサービス トラフィック制御 回復制、耐障害性処理 可視化、分散トレース 認証、セキュリティ機能 Copyright© 2019,
kumaazu All Rights Reserved. 27
28.
Istio Architecture Copyright© 2019,
kumaazu All Rights Reserved. 28 https://istio.io/docs/concepts/what-is-istio/ Istioサービスメッシュは、データプ レーンとコントロールプレーンに論 理的に分割されている データプレーンはインテリジェント プロキシ(Envoy)をサイドカーとし て展開。Mixser、汎用ポリシー、テ レメトリハブとともにマイクロサー ビス間のネットワーク通信を仲介・ 制御 コントロールプレーンが管理し、ト ラフィックをルーティングするプロ キシを設定。ポリシーを定期小して テレメトリを収集するようにMixer を構成する。
29.
分散トレーシング(Distributed tracing) マイクロサービスのようなアプリケーションが複数のサービスで 構成され、複雑化すると1つのリクエストが複数のサービスを跨い でしょりされる。 その分散したリクエスト全体の流れを分析するためのものが分散 トレーシングである。 分散トレーシングシステムにはZipkinやJaegerなどがあり、、 OpenTracing互換のデータモデルとライブラリが提供される。 Copyright© 2019,
kumaazu All Rights Reserved. 29
30.
分散トレーシングの基本概念 Copyright© 2019, kumaazu
All Rights Reserved. 30 Span : 処理ユニット Trace : リクエストの一連の関連Spanの集合体 リクエストに対して 一意なIDが振られ、 各リクエスト経由の パスにおいて、その IDはメタデータと セットで伝搬される https://www.jaegertracing.io/docs/1.8/architecture/
31.
分散トレーシング実装 Copyright© 2019, kumaazu
All Rights Reserved. 31 https://github.com/openzipkin/b3-propagation ZipkinのPropagationプロセス
32.
分散トレーシング実装例 Copyright© 2019, kumaazu
All Rights Reserved. 32 Node.js if (req.headers['x-request-id']!== undefined) { res.header('x-request-id',req.headers['x-request-id']); res.header('x-b3-traceid', req.headers['x-b3-traceid']); res.header('x-b3-spanid', req.headers['x-b3-spanid']); res.header('x-b3-parentspanid', req.headers['x-b3-parentspanid']); res.header('x-b3-sampled', req.headers['x-b3-sampled']); res.header('x-b3-flags', req.headers['x-b3-flags']); res.header('x-ot-span-context',req.headers['x-ot-span-context']); }
33.
Jaeger Architecture Copyright© 2019,
kumaazu All Rights Reserved. 33 https://www.jaegertracing.io/docs/1.8/architecture/
34.
Copyright© 2019, kumaazu
All Rights Reserved. 34 Demo
35.
Demo Architecture Copyright© 2019,
kumaazu All Rights Reserved. 35 Azure DevOps Azure Pipelines Azure Boards Azure Repos Visual StudioGit Azure Container Registry Azure Kubernetes Service ObservabilityDevelopment git push docker build docker push Notification kubectl apply Logging, Monitoring Azure Storage Queue Trigger Front Back
36.
まとめ Azure DevOpsのKubernetes対応が入ったため、Kubernetesへ のパイプラインがより組みやすくなった AKSと組み合わせることでより親和性の高いコンテナデプロイ パイプラインを構成できる 新しく発表されたKEDAを利用することで通常動作しなくても よいコンテナアプリケーションを停止しておき、必要に応じて 起動・スケールする構成も組みやすくなる Copyright© 2019,
kumaazu All Rights Reserved. 36
37.
Copyright© 2019, kumaazu
All Rights Reserved. 37
38.
Copyright© 2019, kumaazu
All Rights Reserved. 38 https://www.cncf.io/blog/2018/03/08/introducing-the-cloud-native-landscape-2-0-interactive-edition/
39.
Copyright© 2019, kumaazu
All Rights Reserved. 39 ご静聴ありがとうございました!
Download