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
Node.js Workflow with Minikube and Skaffold
Search
Brandon Philips
August 14, 2018
Programming
0
220
Node.js Workflow with Minikube and Skaffold
Brandon Philips
August 14, 2018
Tweet
Share
More Decks by Brandon Philips
See All by Brandon Philips
Manage the App on Kubernetes
philips
0
310
Production Backbone Monitoring Containerized Apps
philips
0
120
KubeCon EU 2017: Dancing on the Edge of a Volcano
philips
1
620
rkt - KubeCon EU keynote - 2017
philips
1
240
FOSDEM_Keynote_2017-_.pdf
philips
0
91
Tectonic Summit Day 2 Keynote
philips
0
310
Kubernetes: Simple to Manage Anywhere (self-hosted, Tectonic upgrade demo)
philips
0
290
KubeCon Keynote 2016- Distributed Systems Simplified on Kubernetes
philips
2
530
KubeCon 2016: Self-hosted, Scale, and Federation with Kubernetes v1.4 and Beyond
philips
0
440
Other Decks in Programming
See All in Programming
nekko cloudにおけるProxmox VE利用事例
irumaru
3
430
Haze - Real time background blurring
chrisbanes
1
510
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
280
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
800
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
3
280
情報漏洩させないための設計
kubotak
2
250
rails stats で紐解く ANDPAD のイマを支える技術たち
andpad
1
290
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
270
なまけものオバケたち -PHP 8.4 に入った新機能の紹介-
tanakahisateru
1
120
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
360
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
260
良いユニットテストを書こう
mototakatsu
8
2.5k
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Navigating Team Friction
lara
183
15k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
4 Signs Your Business is Dying
shpigford
181
21k
GitHub's CSS Performance
jonrohan
1030
460k
Faster Mobile Websites
deanohume
305
30k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
We Have a Design System, Now What?
morganepeng
51
7.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
How STYLIGHT went responsive
nonsquared
95
5.2k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Transcript
Node.js Workflow with Minikube and Skaffold @brandonphilips
github.com/philips/node-kube
What is a container? Why use containers? Why use Kubernetes?
What is a container? Why use containers? Why use Kubernetes?
Containers 101
you
you as a sw engineer
your with Ada.Text_IO; procedure Hello_World is use Ada.Text_IO; begin Put_Line("Hello,
world!"); end; #include <stdio.h> int main() { printf("Hello, world!\n"); } package main import "fmt" func main() { fmt.Println("Hello, world!") }
your container image
your /bin/node /opt/app.js /lib/libc
your /bin/node /opt/app.js /lib/libc
your quay.io/me/node-app
your quay.io/me/node-app sha256:d474e8c57737
your d474e8c57737625c Signed By: Alice
Demo w/ docker
What is a container? Why use containers? Why use Kubernetes?
you as an ops engineer
your
your quay.io/me/node-app x3
your quay.io/me/node-app x3
your quay.io/you/search-app x1
your mongodb/mongodb x2
Demo w/ minikube
What is a container? Why use containers? Why use Kubernetes?
Clustering Server Botnets!
100+ Per Person At the Internet Giants
100+ Per Person Too many for manual placement
100+ Per Person Too many for manual placement
100+ Per Person Too many for manual placement
$ while read host; ssh $host … < hosts ???
$ while read host; ssh $host … < hosts ???
$ while read host; ssh $host … < hosts Problems:
No monitoring, no state to recover
None
None
$ kubectl run --replicas=3 quay.io/coreos/dex
$ kubectl run --replicas=3 quay.io/coreos/dex Solution: Monitoring, and state on
computers
$ kubectl run --replicas=3 quay.io/coreos/dex
$ kubectl run --replicas=3 quay.io/coreos/dex
$ kubectl run --replicas=3 quay.io/coreos/dex
None
None
None
???
???
Simple cluster operations Secure and Simple API Friendly operational tools
Demo w/ minikube