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
0
120
BazelCon 2019 - Bazel & Kubernetes: Develop like it’s production
BazelCon 2019 lightning talk
Steeve Morin
December 11, 2019
Tweet
Share
More Decks by Steeve Morin
See All by Steeve Morin
NLUUG 2014: Zero to Docker in 20s
steeve
0
47
boot2docker: Zero to Docker in 20s
steeve
2
420
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
アジャイルテストで高品質のスプリントレビューを
takesection
0
140
Goでマークダウンの独自記法を実装する
lag129
0
230
Goss: Faiss向けの新しい本番環境対応 Goバインディング #coefl_go_jp
bengo4com
1
1.4k
そのコンポーネント、サーバー?クライアント?App Router開発のモヤモヤを可視化する補助輪
makotot
4
760
制約理論(ToC)入門
recruitengineers
PRO
8
3.3k
Grafana Meetup Japan Vol. 6
kaedemalu
1
130
Postman MCP 関連機能アップデート / Postman MCP feature updates
yokawasa
1
220
まだ間に合う! StrandsとBedrock AgentCoreでAIエージェント構築に入門しよう
minorun365
PRO
8
240
実践アプリケーション設計 ③ドメイン駆動設計
recruitengineers
PRO
13
3.5k
mruby(PicoRuby)で ファミコン音楽を奏でる
kishima
1
430
Product Management Conference -AI時代に進化するPdM-
kojima111
0
260
Devinを使ったモバイルアプリ開発 / Mobile app development with Devin
yanzm
0
210
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Thoughts on Productivity
jonyablonski
69
4.8k
Automating Front-end Workflow
addyosmani
1370
200k
A better future with KSS
kneath
239
17k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Statistics for Hackers
jakevdp
799
220k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Language of Interfaces
destraynor
160
25k
Making Projects Easy
brettharned
117
6.3k
Art, The Web, and Tiny UX
lynnandtonic
302
21k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
110
20k
Designing for humans not robots
tammielis
253
25k
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)