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
dbt開発 with Claude Codeのためのガードレール設計
10xinc
2
1.2k
AI時代を生き抜くエンジニアキャリアの築き方 (AI-Native 時代、エンジニアという道は 「最大の挑戦の場」となる) / Building an Engineering Career to Thrive in the Age of AI (In the AI-Native Era, the Path of Engineering Becomes the Ultimate Arena of Challenge)
jeongjaesoon
0
190
なぜテストマネージャの視点が 必要なのか? 〜 一歩先へ進むために 〜
moritamasami
0
220
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
8.8k
いま注目のAIエージェントを作ってみよう
supermarimobros
0
320
Webアプリケーションにオブザーバビリティを実装するRust入門ガイド
nwiizo
7
860
自作JSエンジンに推しプロポーザルを実装したい!
sajikix
1
180
機械学習を扱うプラットフォーム開発と運用事例
lycorptech_jp
PRO
0
400
La gouvernance territoriale des données grâce à la plateforme Terreze
bluehats
0
180
EncryptedSharedPreferences が deprecated になっちゃった!どうしよう! / Oh no! EncryptedSharedPreferences has been deprecated! What should I do?
yanzm
0
420
初めてAWSを使うときのセキュリティ覚書〜初心者支部編〜
cmusudakeisuke
1
260
LLM時代のパフォーマンスチューニング:MongoDB運用で試したコンテキスト活用の工夫
ishikawa_pro
0
140
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
13k
Typedesign – Prime Four
hannesfritz
42
2.8k
Practical Orchestrator
shlominoach
190
11k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
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)