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
57
Managing Kubernetes with Istio
moficodes
0
71
Building A SMS Sender Microservice
moficodes
0
92
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
42
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
Cell-Based Architecture
larchanjo
0
150
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
5
1.3k
TestingOsaka6_Ozono
o3
0
180
AI 駆動開発ライフサイクル(AI-DLC):ソフトウェアエンジニアリングの再構築 / AI-DLC Introduction
kanamasa
11
4.2k
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
450
ローカルLLMを⽤いてコード補完を⾏う VSCode拡張機能を作ってみた
nearme_tech
PRO
0
190
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
480
Java 25, Nuevas características
czelabueno
0
120
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
290
Jetpack XR SDKから紐解くAndroid XR開発と技術選定のヒント / about-androidxr-and-jetpack-xr-sdk
drumath2237
1
190
Patterns of Patterns
denyspoltorak
0
370
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
7
2.4k
Featured
See All Featured
We Are The Robots
honzajavorek
0
120
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
150
How to train your dragon (web standard)
notwaldorf
97
6.5k
We Have a Design System, Now What?
morganepeng
54
7.9k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Fireside Chat
paigeccino
41
3.8k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
2
3.8k
Code Reviewing Like a Champion
maltzj
527
40k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
410
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
31
A Soul's Torment
seathinner
1
2k
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