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
BazelCon 2019 - Bazel & Kubernetes: Develop lik...
Search
Steeve Morin
December 11, 2019
Technology
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
BazelCon 2019 - Bazel & Kubernetes: Develop like it’s production
BazelCon 2019 lightning talk
Steeve Morin
December 11, 2019
More Decks by Steeve Morin
See All by Steeve Morin
NLUUG 2014: Zero to Docker in 20s
steeve
0
55
boot2docker: Zero to Docker in 20s
steeve
2
430
boot2docker at the Paris Docker Meetup
steeve
7
3.6k
XBMCtorrent: Torrent Streaming for XBMC - Paris Tech Talks
steeve
0
1.2k
Other Decks in Technology
See All in Technology
クラウドファンディング版StackChan 3体(4体)をインタラクティブな体験型作品にして展示もした話 / スタックチャンお誕生日会2026
you
PRO
0
180
AI時代のコスト管理を考えよう〜明日から使える実践AWSノウハウ~
yoshimi0227
0
860
ぼっちではじめた登壇が「51名」「241件」の発信に化けた
subroh0508
1
310
GitHub Copilot app最速の発信の裏側
tomokusaba
1
250
AIが自律的に回る開発ループを設計してチーム開発に組み込む
nekorush14
0
120
Microsoft のサポートとフィードバック総まとめ
murachiakira
PRO
0
110
「ビジネスがわかるエンジニア」とは何か?
ryooob
0
290
現場のトークンマネジメント
dak2
1
190
5分でわかるDuckDB Quack
chanyou0311
2
250
水を運ぶ人としてのリーダーシップ
izumii19
4
990
【2026年版】 ベクトル検索とEmbedding最前線
mocobeta
23
7.5k
生成 AI 実践ガイド (概略版) AIガバナンス編
asei
0
190
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
66
55k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
The Language of Interfaces
destraynor
162
27k
WCS-LA-2024
lcolladotor
0
650
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
A Tale of Four Properties
chriscoyier
163
24k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
320
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
150
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Transcript
Bazel & Kubernetes: Develop like it’s production Steeve Morin -
@steeve
ZENLY MAKES IT FUN & EASY TO KNOW WHAT YOUR
FRIENDS AND FAMILY ARE UP TO
RULES_K8S k8s_object( name = "api.k8s", template = "deployment.yaml", ) k8s_objects(
name = "api", objects = [ ":api.k8s", ":db", ":queue", ":svc1", ], ) k8s_objects( name = "svc1", objects = [ ":svc1.k8s", ":db", ":queue", ":svc2", ], ) KUBERNETES DAG DSL REGULAR BAZEL TARGETS ONE DAG TO RULE THEM ALL
K3S: 5 LESS THAN K8S LIGHTWEIGHT K8S DISTRO RUNS IN
DOCKER $ bazel run //:k3s RUNS LOCALLY GUI VIA derailed/k9s $ bazel run //:k9s
SOURCE > BUILD > DEPLOY $ bazel run //:api.apply ONE
COMMAND BUILD + DEPLOY ALWAYS CORRECT SERVICES INIT WITH CODE DB SCHEMA
TESTING $ bazel test //... TEST BINARY AS K8S JOB
SERVICE DAG AWARE SUCCESS / FAILURE LOGS TEST ARGUMENTS FLAKINESS DETECTION
VPN & REMOTE CLUSTER SAME WORKFLOW DNS FORWARDING OPENVPN +
QR CODE
THANK YOU Steeve Morin (@steeve)