Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
KubeCon EU 2018でおもしろかったもの
IWAMOTO Toshihiro
May 15, 2018
Programming
3
2.5k
KubeCon EU 2018でおもしろかったもの
Brief description of 2 interesting talks (caicloud and cilium) at KubeCon EU 2018. (In Japanese)
IWAMOTO Toshihiro
May 15, 2018
Tweet
Share
More Decks by IWAMOTO Toshihiro
See All by IWAMOTO Toshihiro
toshiiw
0
1.3k
toshiiw
0
470
Other Decks in Programming
See All in Programming
bkuhlmann
2
300
ntaro
0
160
naokioouchi
1
180
mackee
0
520
grapecity_dev
0
170
amaotone
15
7.8k
korosuke613
2
240
legalforce
PRO
0
610
kentatada
0
390
panini
1
160
makomakok
0
150
saten
1
170
Featured
See All Featured
morganepeng
18
1.2k
tenderlove
53
3.5k
mthomps
38
2.3k
eileencodes
113
25k
matthewcrist
73
7.5k
holman
461
280k
geeforr
332
29k
62gerente
587
200k
sachag
446
36k
orderedlist
PRO
328
36k
samlambert
237
10k
cassininazir
347
20k
Transcript
Copyright VA Linux Systems Japan. All rights reserved. ⓒ VA
Linux Systems Japan 株式会社 KubeCon EU 2018 でおもしろ かったもの Toshihiro Iwamoto <iwamoto@valinux.co.jp> 2018 年 5 月
Kubernetes on Supporting $8 Trillion Card Payments in China •
CaiCloud について (caicloud.io, 杭州才云科技有限公司 ) • 中国でのコミュニティ活動や , TensorFlow, Kubeflow も やってる • 中国唯一の interbank network が助けを求めてきた • 年間決済額 14.95 兆 USD (2017 年 ) • OpenStack/VM ベースの既存システムを “brown-field” と言っていた • 素の k8s にはない以下が必要 • Multi-cluster/zones • Multi-tenancy • Multi-networking-plane
Kubernetes on Supporting $8 Trillion Card Payments in China •
経緯 • 2015 年から docker を使用。 2017 年にアドミン負荷急増 • 7 月 kick-off, 3 ヶ月で分析と設計、 alpha 作りながら調整 • 2 月 staging, 3 月から実運用 • 成果物 • SSO, マルチテナント , HA, ネットワーク帯域制御 • NAS, swift 他と統合 • 派生物 • CI/CD の導入 • マイクロサービス化のコンサル • 教訓 • エンタープライズは大変 • 連日の徹夜による burn-out に注意
Kubernetes on Supporting $8 Trillion Card Payments in China •
SSO • 一回ログインすれば k8s でも OpenStack でも使える • マルチテナント • OpenStack の project, network 等と対応 • 各テナントに 2 つの OpenStack network が対応 • ネットワーク • Kuryr-kubernetes にマルチテナントと GBP を追加 • CNI で Pod を Neutron Port と対応づけ • Multi-plane: management, control, storage, business • plane が違うので pod DNS は使えない • HostNetwork の DNS pod • DNS はテナント分離してない
Accelerating Envoy with the Linux Kernel • Cilium (https://cilium.io) •
Linux eBPF 速い • L3/L4 LB @facebook • DDoS mitigation • カーネルにバイトコード送りつけて native にコンパイル • Envoy つかうとこんな風になる https://schd.ws/hosted_files/kccnceu18/d9/2018%20KubeCon%20EU%20Cilium%20-%20Accelerating%20Envoy.pdf
Accelerating Envoy with the Linux Kernel • 同一ホスト内の TCP/IP, ethernet
をバイパス • 性能 (req/s) が 2-3 倍 • TCP handshake はそのまま • データだけ透過的にバイパスする • CNI plugin • Cilium 現在 1.0.x, 今の話は 1.1/1.2 から • kTLS で envoy に CA injection しないでよくなるとか言って る • kTLS は TLS の共通鍵暗号をカーネルでやる • github に star をつけた人に抽選で star wars のレゴをあげる とか言ってる (5 月 4 日 )
• 他のセッションの様子もあわせたイベントレポートを弊社ホーム ページで近日公開 https://www.valinux.co.jp