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
ロフト くん
PDF, PPTX
281 views
Traffic Management with Istio ( with Demo )
2019/08/08 Cloud Native FUKUOKA #02 - Introduction - How to use - Bookinfo - Traffic Management
Technology
◦
Read more
0
Save
Share
Embed
Embed presentation
Download
Download as PDF, PPTX
1
/ 51
2
/ 51
3
/ 51
4
/ 51
5
/ 51
6
/ 51
7
/ 51
8
/ 51
9
/ 51
10
/ 51
11
/ 51
12
/ 51
13
/ 51
14
/ 51
15
/ 51
16
/ 51
17
/ 51
18
/ 51
19
/ 51
20
/ 51
21
/ 51
22
/ 51
23
/ 51
24
/ 51
25
/ 51
26
/ 51
27
/ 51
28
/ 51
29
/ 51
30
/ 51
31
/ 51
32
/ 51
33
/ 51
34
/ 51
35
/ 51
36
/ 51
37
/ 51
38
/ 51
39
/ 51
40
/ 51
41
/ 51
42
/ 51
43
/ 51
44
/ 51
45
/ 51
46
/ 51
47
/ 51
48
/ 51
49
/ 51
50
/ 51
51
/ 51
More Related Content
PPTX
Traffic Management with Istio
by
ロフト くん
PDF
LagopusとAzureとIPsecとDPDK
by
Tomoya Hibi
ODP
「BluetoothでLinuxマシンとAndroidを繋いで話が出来るようにした話」「台風で停電になって省電力の設定をした話」「ネットワークの設定が引き...
by
Kenichiro MATOHARA
PDF
ちょっと古いマシンにLinuxを
by
Kenichiro MATOHARA
PDF
OpenContrailのソースコードを探検しよう!
by
Takashi Sogabe
PPTX
plotnetcfg入門 | Introduction to plotnetcfg
by
Kentaro Ebisawa
PDF
FreeBSD jail+vnetと戯れた話
by
Masaru Oki
PDF
(仮)このMany Core CPU野郎!!
by
Naoto MATSUMOTO
Traffic Management with Istio
by
ロフト くん
LagopusとAzureとIPsecとDPDK
by
Tomoya Hibi
「BluetoothでLinuxマシンとAndroidを繋いで話が出来るようにした話」「台風で停電になって省電力の設定をした話」「ネットワークの設定が引き...
by
Kenichiro MATOHARA
ちょっと古いマシンにLinuxを
by
Kenichiro MATOHARA
OpenContrailのソースコードを探検しよう!
by
Takashi Sogabe
plotnetcfg入門 | Introduction to plotnetcfg
by
Kentaro Ebisawa
FreeBSD jail+vnetと戯れた話
by
Masaru Oki
(仮)このMany Core CPU野郎!!
by
Naoto MATSUMOTO
What's hot
PDF
Ethernetの受信処理
by
Takuya ASADA
PDF
シーサーでのInfiniBand導入事例
by
Naoto MATSUMOTO
PDF
高速ネットワーク最新動向と具体例 (ENOG58 Meeting)
by
Naoto MATSUMOTO
PDF
勉強会向けサーバを作ってみる2 / Rasbian jessieを試す/ Google Authenticatorのパスコードを作る
by
Kenichiro MATOHARA
PDF
Raspberry Piにdiskless modeのalpine linuxを導入してみる
by
Kenichiro MATOHARA
PDF
ほしいプロトコルはトンネルすればいいじゃない at JAWS DAYS 2014 Tech Deep Dive
by
Yasuhiro Araki, Ph.D
PDF
技適なBluetooth GNSS/GPSレシーバーをRaspberryPiで作りたい
by
Kenichiro MATOHARA
PDF
Pythonによる並列プログラミング -GPGPUも-
by
Yusaku Watanabe
PPTX
ネットワーク機器のAPIあれこれ入門(NetOpsCoding#2)
by
Kentaro Ebisawa
PPTX
Introduction to Ostinato, network packet crafting and generator.
by
Kentaro Ebisawa
PDF
OSvの概要と実装
by
Takuya ASADA
PDF
Nbug201503
by
Kenji Aoyama
PDF
技適なBluetooth GNSS/GPSレシーバーをRaspberryPiで作りたい2
by
Kenichiro MATOHARA
PDF
Redunduncy of NAT instance on AWS/VPC
by
Masaaki HIROSE
KEY
Lxc on cloud
by
Yukihiko SAWANOBORI
PPTX
軽量高機能webサーバーnginx
by
ngi group.
PDF
Bossan dentoo
by
kubo39
PDF
Lagopus 0.2.2
by
Masaru Oki
PDF
Using rump on NetBSD 7.0
by
Masaru Oki
PDF
Hatoholのログ監視機能 2014/10版
by
Kouhei Sutou
Ethernetの受信処理
by
Takuya ASADA
シーサーでのInfiniBand導入事例
by
Naoto MATSUMOTO
高速ネットワーク最新動向と具体例 (ENOG58 Meeting)
by
Naoto MATSUMOTO
勉強会向けサーバを作ってみる2 / Rasbian jessieを試す/ Google Authenticatorのパスコードを作る
by
Kenichiro MATOHARA
Raspberry Piにdiskless modeのalpine linuxを導入してみる
by
Kenichiro MATOHARA
ほしいプロトコルはトンネルすればいいじゃない at JAWS DAYS 2014 Tech Deep Dive
by
Yasuhiro Araki, Ph.D
技適なBluetooth GNSS/GPSレシーバーをRaspberryPiで作りたい
by
Kenichiro MATOHARA
Pythonによる並列プログラミング -GPGPUも-
by
Yusaku Watanabe
ネットワーク機器のAPIあれこれ入門(NetOpsCoding#2)
by
Kentaro Ebisawa
Introduction to Ostinato, network packet crafting and generator.
by
Kentaro Ebisawa
OSvの概要と実装
by
Takuya ASADA
Nbug201503
by
Kenji Aoyama
技適なBluetooth GNSS/GPSレシーバーをRaspberryPiで作りたい2
by
Kenichiro MATOHARA
Redunduncy of NAT instance on AWS/VPC
by
Masaaki HIROSE
Lxc on cloud
by
Yukihiko SAWANOBORI
軽量高機能webサーバーnginx
by
ngi group.
Bossan dentoo
by
kubo39
Lagopus 0.2.2
by
Masaru Oki
Using rump on NetBSD 7.0
by
Masaru Oki
Hatoholのログ監視機能 2014/10版
by
Kouhei Sutou
More from ロフト くん
PPTX
OpenShift from Easy way to Hard ? Way
by
ロフト くん
PPTX
Kubernetes The Hard Way をやってみた
by
ロフト くん
PDF
Write slides and books in VSCode + Markdown
by
ロフト くん
PDF
AbemaTVのコメントビューアを作る話
by
ロフト くん
PPTX
Operator reading and writing ( Operator SDK 編 )
by
ロフト くん
PDF
Enjoying k8s cluster with Minikube and Helm
by
ロフト くん
PPTX
Getting Started with Graph Database with Python
by
ロフト くん
PDF
Demo of write slides and books with VSCode + Markdown
by
ロフト くん
PPTX
OpenShiftのサポートを始めるぞ!高頻度で更新されるOSSを効果的にキャッチアップする仕組みを考えました!
by
ロフト くん
OpenShift from Easy way to Hard ? Way
by
ロフト くん
Kubernetes The Hard Way をやってみた
by
ロフト くん
Write slides and books in VSCode + Markdown
by
ロフト くん
AbemaTVのコメントビューアを作る話
by
ロフト くん
Operator reading and writing ( Operator SDK 編 )
by
ロフト くん
Enjoying k8s cluster with Minikube and Helm
by
ロフト くん
Getting Started with Graph Database with Python
by
ロフト くん
Demo of write slides and books with VSCode + Markdown
by
ロフト くん
OpenShiftのサポートを始めるぞ!高頻度で更新されるOSSを効果的にキャッチアップする仕組みを考えました!
by
ロフト くん
Traffic Management with Istio ( with Demo )
1.
Traffic Management with Istio
( with Demo ) 2019/08/08 Cloud Native FUKUOKA #02 loftkun
2.
About me • @loftkun •
ヤフー株式会社 SRE部 • 将棋好き • 対局結果検索サイトなど公開してます • ⾳楽好き • ROCK IN JAPAN FESTIVAL ⾏きます • ピアノ習いたい • コンテナ好き、k8sは前職で使ってた、現職でも使いたい
3.
My k8s Environment
4.
Machine CPU Intel(R) Core(TM)
i7-8700K CPU @ 3.70GHz 6Core/12Threads RAM 64GB OS Ubuntu 17.10 k8s minikube v1.2.0 ( Kubernetes v1.15.0 ) assign 12cpu & 40GB RAM kubectl v1.15.0 istio v1.2.2 helm v2.14.1
5.
minikube start vm-driver=virtualbox Container VM
( Node ) Minikube BareMetal ssh -fNL 12345:192.168.99.100:12345 loft@192.168.3.5 192.168.3.5 grafana service のnodePortが12345の場合 http://localhost:12345 でアクセスできるぞ 192.168.99.100 192.168.3.4 Minikube ssh でログイン可能
6.
minikube start vm-driver=none Container Minikube BareMetal192.168.3.5 (
Node ) grafana service のnodePortが12345の場合 http://192.168.3.5:12345 でアクセスできるぞ 192.168.3.4 tcpdump –i docker0 全Pod間の通信をキャプチャできるぞ
7.
Agenda Introduction How to use Bookinfo Traffic
Management
8.
Introduction What is Istio?
9.
https://istio.io/ • サービスメッシュを構成するOSS • CNCF
Platinum Member • Proxyコンテナ(Envoy)をSidecarとしてPod内にInjectionしてくれる • 様々な制御をkubectl applyできる(後ほどご紹介) • 便利なOSS同梱 • メトリクス (Prometheus/Grafana) • トレース (Jaeger/Zipkin) • サービスメッシュグラフの可視化(Kiali)
10.
https://github.com/cncf/trailmap
11.
https://github.com/cncf/trailmap
12.
How to use Install
à Sidecar Injection à Apply traffic rules
13.
3 steps Install Sidecar Injection Apply
traffic rules
14.
Install Use Helm? $
kubectl apply istio-demo.yaml Cluster has tiller? $ helm template istio | kubectl apply $ helm install istio Y Y おすすめはHelm使⽤。パラメタ設定が楽。 • incubator/istioはメンテが⽌まってるので使わない • istio.ioのdoc記載の最新版をdownloadして使おう N N
15.
Sidecar Injection Manual istioctl kube-injectコマンドでSidecarを埋め込んだmanifestを出⼒する $
kubectl apply -f < ( istioctl kube-inject -f my-manifests.yaml ) Automatic 対象のnamespaceにラベルを設定しておくだけでOK! $ kubectl label ns my-ns istio-injection=enabled
16.
Apply traffic rules kubectl
apply –f my-virtualservice.yaml • VirtualService • a set of traffic routing rules • 宛先別に様々なruleを設定できる Istio setup is done, Letʼs Traffic Management !
17.
Bookinfo Istioが提供するサンプルアプリ
18.
Architecture https://istio.io/docs/examples/bookinfo/ load balancing ( by
reviews service )
19.
Demo
20.
Traffic Management Routing, Fault
Injection, etc
21.
Request Routing https://istio.io/docs/examples/bookinfo/
22.
Demo
23.
review v1 (星なし)
24.
Request Routing (
by header ) https://istio.io/docs/examples/bookinfo/
25.
Demo
27.
Canary Release に使えそう︕
review v2 (⿊い星)
28.
Fault Injection (delay
) Injected Delay : 7sec https://istio.io/docs/examples/bookinfo/
29.
Demo
31.
https://istio.io/docs/examples/bookinfo/
32.
hard-corded Timeout : 10sec Injected Delay
: 7sec https://istio.io/docs/examples/bookinfo/
33.
hard-corded Timeout : 3sec Retry
: 1 hard-corded Timeout : 10sec Injected Delay : 7sec Chaos Engineering に使えそう︕ https://istio.io/docs/examples/bookinfo/
35.
Other Traffic Managements •
Traffic Shifting • Circuit Breaking • Mirroring and more ! https://istio.io/docs/tasks/traffic-management/
36.
Appendix
37.
なぜヨット︖
38.
いろいろ船関連だった Kubernetes 操舵手(ギリシャ語) Helm 舵 tiller
舵柄(かじを操作するレバー) Istio 帆(ギリシャ語) Spinnaker 大きな三角形の帆
39.
Thank you for
listening ! 福岡新着ITイベント @ITEventFukuoka
40.
Appendix : commands for
demo with my home k8s
41.
ssh config • ~/.ssh/config •
ログイン ssh my-k8s
42.
ssh port forwarding INGRESS_HOST=192.168.99.100 INGRESS_PORT=31380 ssh
-fNL ${INGRESS_PORT}:${INGRESS_HOST}:${INGRESS_PORT} my-k8s • ローカルの31380ポートをnode(MinikubeのVM) 内の 31380ポートにforwarding • BookInfoは localhost:31380/productpage で⾒れる
43.
ref • Request Routing •
https://istio.io/docs/tasks/traffic-management/request-routing/ • Fault Injection • https://istio.io/docs/tasks/traffic-management/fault-injection/
44.
Appendix : BookInfo screenshot
45.
review v1のレスポンス
46.
reload
48.
review v2のレスポンス(⿊い星)
49.
reload
51.
review v3のレスポンス(⾚い星)
Download