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
Kubernete Second Week
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Mofizur Rahman
July 24, 2019
Programming
0
46
Kubernete Second Week
Some intermediate Kubernetes primitives and concepts as part of a workshop.
Mofizur Rahman
July 24, 2019
Tweet
Share
More Decks by Mofizur Rahman
See All by Mofizur Rahman
Running Batch Workload on K8s at Scale
moficodes
0
62
Managing Kubernetes with Istio
moficodes
0
73
Building A SMS Sender Microservice
moficodes
0
93
Kubernetes Security Jumpstart
moficodes
0
88
Managing Kubernetes with Istio
moficodes
0
45
KNative: Serverless computing on Kubernetes
moficodes
1
51
Managing Kubernetes with Istio
moficodes
0
43
Manage Kuberentes Deployment with Istio
moficodes
0
48
The What, Why and How of Knative on Kubernetes
moficodes
0
54
Other Decks in Programming
See All in Programming
AI 開発合宿を通して得た学び
niftycorp
PRO
0
170
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
220
クライアントワークでSREをするということ。あるいは事業会社におけるSREと同じこと・違うこと
nnaka2992
1
360
存在論的プログラミング: 時間と存在を記述する
koriym
4
470
Nostalgia Meets Technology: Super Mario with TypeScript
manfredsteyer
PRO
0
110
モダンOBSプラグイン開発
umireon
0
180
安いハードウェアでVulkan
fadis
1
780
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
2.7k
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.4k
CSC307 Lecture 15
javiergs
PRO
0
260
Vuetify 3 → 4 何が変わった?差分と移行ポイント10分まとめ
koukimiura
0
190
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
470
Featured
See All Featured
エンジニアに許された特別な時間の終わり
watany
106
240k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
320
It's Worth the Effort
3n
188
29k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
GraphQLの誤解/rethinking-graphql
sonatard
75
11k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Designing Powerful Visuals for Engaging Learning
tmiket
0
290
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
180
Paper Plane (Part 1)
katiecoart
PRO
0
5.8k
Transcript
Kubernetes Second Week Mofi Rahman
@moficodes tiny.cc/k8s-second-week
@moficodes github.com/moficodes/k8s-second-week
Mofizur Rahman Senior Developer Advocate, Vonage Work on Client SDKs,
Collect Stickers, Write Go and JS code @moficodes
@moficodes Resource Quotas “Give me x amount of ram and
cpu in y increment”
@moficodes Example apiVersion: v1 kind: Pod metadata: name: high-priority spec:
containers: - name: high-priority image: ubuntu resources: requests: memory: "2Gi" cpu: "100m" limits: memory: "10Gi" cpu: "500m" priorityClassName: high
@moficodes Quality of Service Best Effort (not limit mentioned) Burstable
(x > y) Guranteed (x == y)
@moficodes Kubernetes Lifecycle Poststart Prestop Sigterm Sigkill
@moficodes Try to not use it.
@moficodes Scheduling Kubernetes is a scheduler at heart that gives
you apis to access resources
@moficodes Scheduling Affinity Nodeaffinity Podaffinity Taints Tolerations
@moficodes Descheduler Kubernetes can actually kick things out if needed
Except- Critical Pods (marked with annotations) Orphan Pods Daemonsets Pod with Storage
@moficodes Jobs Batch work
@moficodes Cron Jobs Timed batch works
@moficodes Daemonsets Per Node pod
@moficodes Init Container Runs before anything in your container
@moficodes Sidecar Runs beside the container
@moficodes Secrets K8S has it. It’s basically useless. 😢
@moficodes Configmaps Kubernetes way of setting env
Mofizur Rahman Senior Developer Advocate, Vonage Work on Client SDKs,
Collect Stickers, Write Go and JS code @moficodes