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
43
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
56
Managing Kubernetes with Istio
moficodes
0
70
Building A SMS Sender Microservice
moficodes
0
90
Kubernetes Security Jumpstart
moficodes
0
85
Managing Kubernetes with Istio
moficodes
0
44
KNative: Serverless computing on Kubernetes
moficodes
1
47
Managing Kubernetes with Istio
moficodes
0
39
Manage Kuberentes Deployment with Istio
moficodes
0
45
The What, Why and How of Knative on Kubernetes
moficodes
0
51
Other Decks in Programming
See All in Programming
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
11
6.7k
私はどうやって技術力を上げたのか
yusukebe
43
19k
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
500
10年もののAPIサーバーにおけるCI/CDの改善の奮闘
mbook
0
830
Railsだからできる 例外業務に禍根を残さない 設定設計パターン
ei_ei_eiichi
0
910
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
340
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
140
CSC305 Lecture 06
javiergs
PRO
0
240
Software Architecture
hschwentner
6
2.3k
Catch Up: Go Style Guide Update
andpad
0
230
その面倒な作業、「Dart」にやらせませんか? Flutter開発者のための業務効率化
yordgenome03
1
130
overlayPreferenceValue で実現する ピュア SwiftUI な AdMob ネイティブ広告
uhucream
0
180
Featured
See All Featured
Balancing Empowerment & Direction
lara
4
690
BBQ
matthewcrist
89
9.8k
Producing Creativity
orderedlist
PRO
347
40k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
980
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Building Applications with DynamoDB
mza
96
6.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
How GitHub (no longer) Works
holman
315
140k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.5k
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