Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
KubeCon EU 2018でおもしろかったもの
Search
IWAMOTO Toshihiro
May 15, 2018
Programming
3
3.7k
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
CRDで遊んでみる
toshiiw
0
370
オイラ大地のECサイトのマイクロサービス化をVA Linuxが性能分析してみた
toshiiw
0
1.8k
Performance analysis on microservices and kubernetes
toshiiw
0
890
Other Decks in Programming
See All in Programming
CSC307 Lecture 12
javiergs
PRO
0
220
データカタログ運用物語 〜令和6年夏の理想と現実〜
kuro_kurorrr
0
110
[After Kotlin Fest 2024 LT Night @ Sansan] もっともっとKotlinを好きになる!K2 Compiler Pluginで遊んでみよう!
kitakkun
2
260
SDCon2024: Enabling DevOps and Team Topologies thru architecture: architecting for fast flow
cer
PRO
0
780
スクラムマスターって孤独じゃないですか?
yoshitaroyoyo
1
140
入社1ヶ月でここまでやった!Findy Toolsインフラ支援の最適化
rvirus0817
6
1.4k
ドメイン駆動設計の実践
masuda220
PRO
19
5.2k
Rust.Nagoya #1
codemountains
0
170
Namespace on read
tagomoris
2
370
Google's Recipe for Scaling (Web) Security – LocoMocoSec 2024
lweichselbaum
0
170
CSC307 Lecture 08
javiergs
PRO
0
330
CSC307 Lecture 14
javiergs
PRO
0
220
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
17
1.5k
Music & Morning Musume
bryan
43
5.9k
The Cult of Friendly URLs
andyhume
75
5.9k
The Power of CSS Pseudo Elements
geoffreycrofte
64
5.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Large-scale JavaScript Application Architecture
addyosmani
506
110k
Art, The Web, and Tiny UX
lynnandtonic
291
20k
Faster Mobile Websites
deanohume
303
30k
How to name files
jennybc
67
96k
Happy Clients
brianwarren
94
6.6k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
13
430
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
121
18k
Transcript
Copyright VA Linux Systems Japan. All rights reserved. ⓒ VA
Linux Systems Japan 株式会社 KubeCon EU 2018 でおもしろ かったもの Toshihiro Iwamoto <
[email protected]
> 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