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
Mofizur Rahman
July 24, 2019
Programming
0
45
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
58
Managing Kubernetes with Istio
moficodes
0
71
Building A SMS Sender Microservice
moficodes
0
93
Kubernetes Security Jumpstart
moficodes
0
86
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
47
The What, Why and How of Knative on Kubernetes
moficodes
0
52
Other Decks in Programming
See All in Programming
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
「ブロックテーマでは再現できない」は本当か?
inc2734
0
480
CSC307 Lecture 09
javiergs
PRO
1
830
Oxlintはいいぞ
yug1224
5
1.3k
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
110
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
高速開発のためのコード整理術
sutetotanuki
1
390
今から始めるClaude Code超入門
448jp
7
8.4k
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
970
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2k
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
380
Featured
See All Featured
A Soul's Torment
seathinner
5
2.2k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
Scaling GitHub
holman
464
140k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
56
50k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
52
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Deep Space Network (abreviated)
tonyrice
0
45
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Rails Girls Zürich Keynote
gr2m
96
14k
The Cult of Friendly URLs
andyhume
79
6.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