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
99
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
42
boot2docker: Zero to Docker in 20s
steeve
2
420
boot2docker at the Paris Docker Meetup
steeve
7
3.5k
XBMCtorrent: Torrent Streaming for XBMC - Paris Tech Talks
steeve
0
1.2k
Other Decks in Technology
See All in Technology
FOSS4G 2024 Japan コアデイ 一般発表25 PythonでPLATEAUのデータを手軽に扱ってみる
ra0kley
1
130
Mini Tokyo 3D × PLATEAU - 公共交通デジタルツインにリアルな風景を
nagix
1
230
인디 앱 개발자와 Flutter
tinyjin
0
110
AWS⼊社という選択肢、⾒えていますか
iwamot
2
1.1k
DMARC 対応の話 - MIXI CTO オフィスアワー #04
bbqallstars
1
140
Microsoft Fabric OneLake の実体について
ryomaru0825
0
200
フルカイテン株式会社 採用資料
fullkaiten
0
40k
AIチャットボット開発への生成AI活用
ryomrt
0
140
AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years
yoshidashingo
1
110
3次元点群データ「VIRTUAL SHIZUOKA』のオープンデータ化による恩恵と協働の未来/FOSS4G Japan 2024
kazz24s
0
130
組み込みLinuxの時系列
puhitaku
4
1k
DatabricksにおけるLLMOpsのベストプラクティス
taka_aki
4
1.6k
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Building Adaptive Systems
keathley
38
2.3k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
92
16k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
360
Docker and Python
trallard
40
3.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
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)