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
38
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
48
Managing Kubernetes with Istio
moficodes
0
49
Building A SMS Sender Microservice
moficodes
0
74
Kubernetes Security Jumpstart
moficodes
0
77
Managing Kubernetes with Istio
moficodes
0
37
KNative: Serverless computing on Kubernetes
moficodes
1
43
Managing Kubernetes with Istio
moficodes
0
25
Manage Kuberentes Deployment with Istio
moficodes
0
40
The What, Why and How of Knative on Kubernetes
moficodes
0
44
Other Decks in Programming
See All in Programming
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
4.1k
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
530
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
23
15k
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
140
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
250
0→1と1→10の狭間で Javaという技術選定を振り返る/Reflecting on the Decision to Choose Java Between Scaling from 0 to 1 and 1 to 10
jaguar_imo
2
380
デフォルトにして至高、RubyMineの大好きな所
ruzia
0
330
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
370
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
360
Code Reviews
bkuhlmann
4
890
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
490
Hanami and htmx
bkuhlmann
0
210
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
92
4.8k
In The Pink: A Labor of Love
frogandcode
138
21k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.6k
Building a Scalable Design System with Sketch
lauravandoore
456
32k
How to name files
jennybc
65
93k
How GitHub (no longer) Works
holman
304
140k
The Power of CSS Pseudo Elements
geoffreycrofte
60
5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
2
1.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Documentation Writing (for coders)
carmenintech
60
3.9k
Product Roadmaps are Hard
iamctodd
44
9.7k
Testing 201, or: Great Expectations
jmmastey
28
6.3k
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