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
51
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
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.6k
コミュニティが変えるキャリアの地平線:コロナ禍新卒入社のエンジニアがAWSコミュニティで見つけた成長の羅針盤
kentosuzuki
0
130
Why Organizations Fail: ノーベル経済学賞「国家はなぜ衰退するのか」から考えるアジャイル組織論
kawaguti
PRO
1
130
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
160
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
320
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
120
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
380
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
1
160
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
990
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.5k
Digitization部 紹介資料
sansan33
PRO
1
6.8k
Featured
See All Featured
エンジニアに許された特別な時間の終わり
watany
106
230k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Crafting Experiences
bethany
1
49
Mobile First: as difficult as doing things right
swwweet
225
10k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
67
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
180
A Tale of Four Properties
chriscoyier
162
24k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
330
Statistics for Hackers
jakevdp
799
230k
Making Projects Easy
brettharned
120
6.6k
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)