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
Kubernertes CRDs
Search
Pablo Fredrikson
October 17, 2019
Technology
0
300
Kubernertes CRDs
Charla que di en Nerdear.la 2019 en donde hablo de CRDs en Kubernetes.
Pablo Fredrikson
October 17, 2019
Tweet
Share
More Decks by Pablo Fredrikson
See All by Pablo Fredrikson
La IA no es el Futuro - Foro Valos 2025
pablokbs
1
31
5 steps to Building a Personal Brand for Elevating Your Influence
pablokbs
0
91
De 0 a SRE en un año - tech4impact 2024
pablokbs
1
600
Seguridad en Kubernetes - Nerdearla 2023
pablokbs
0
340
Qué hace un Staff+ Engineer?
pablokbs
1
200
Prácticas de Seguridad en Kubernetes
pablokbs
2
500
CI/CD - Workana
pablokbs
2
550
Cómo funciona el Algoritmo de YouTube
pablokbs
1
180
Cómo ahorrar millones de dólares con Kubernetes en Producción
pablokbs
0
950
Other Decks in Technology
See All in Technology
AWSで始める実践Dagster入門
kitagawaz
1
620
Firestore → Spanner 移行 を成功させた段階的移行プロセス
athug
1
480
AIエージェント開発用SDKとローカルLLMをLINE Botと組み合わせてみた / LINEを使ったLT大会 #14
you
PRO
0
120
Snowflake Intelligenceにはこうやって立ち向かう!クラシルが考えるAI Readyなデータ基盤と活用のためのDataOps
gappy50
0
240
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
9
73k
スマートファクトリーの第一歩 〜AWSマネージドサービスで 実現する予知保全と生成AI活用まで
ganota
2
220
Platform開発が先行する Platform Engineeringの違和感
kintotechdev
4
570
初めてAWSを使うときのセキュリティ覚書〜初心者支部編〜
cmusudakeisuke
1
260
DDD集約とサービスコンテキスト境界との関係性
pandayumi
3
280
Function Body Macros で、SwiftUI の View に Accessibility Identifier を自動付与する/Function Body Macros: Autogenerate accessibility identifiers for SwiftUI Views
miichan
2
180
要件定義・デザインフェーズでもAIを活用して、コミュニケーションの密度を高める
kazukihayase
0
120
テストを軸にした生き残り術
kworkdev
PRO
0
210
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
GraphQLとの向き合い方2022年版
quramy
49
14k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
KATA
mclloyd
32
14k
Building Adaptive Systems
keathley
43
2.7k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
188
55k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.1k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Six Lessons from altMBA
skipperchong
28
4k
Transcript
Pablo Fredrikson @pablokbs CRDs en KUBERNETES
Pablo Fredrikson @pablokbs • Nerd • Lead SRE @ Invision
• 13 años con Linux / Software Libre • 5+ años con Docker • 3 años con Kubernetes en producción • 4º Nerdear.la
Kubernetes en 3 minutos - Conceptos • Pod • Nodo
/ Worker • Controller
Kubernetes en 3 minutos MASTER API server Kube Scheduler Controller
Manager Cloud Controller Manager API Kubernetes Cluster Services API Kubernetes Cluster Services API etcd deployment pod1: - container1 - container2 replicas: 3 pod2: - container3 replicas: 2 Kubelet Kubelet Kubelet P1R3 P1R1 P2R1 P1R2 P2R2
Kubernetes en 3 minutos Kubelet P2R1 Kubelet P1R2 Kubelet Kubernetes
Cluster Services API deployment pod1: - container1 - container2 replicas: 3 pod2: - container3 replicas: 2 P1R3 P1R1 P2R2 P1R3 P1R1
$ kubectl
Kubernetes resources $ kubectl get pods NAME READY STATUS RESTARTS
AGE hello-world-5847b8d4b6-fjbhv 1/1 Running 4 23d $ kubectl get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE hello-world ClusterIP 10.99.2.206 <none> 8000/TCP 23d kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 100d
Extendiendo la API de Kubernetes: CRDs apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition
metadata: name: crontabs.stable.example.com spec: group: stable.example.com version: v1 scope: Namespaced names: plural: crontabs singular: crontab kind: CronTab shortNames: - ct
Extendiendo la API de Kubernetes: CRDs apiVersion: "stable.example.com/v1" kind: CronTab
metadata: name: my-new-cron-object spec: cronSpec: "* * * * /5" image: my-awesome-cron-image
Extendiendo la API de Kubernetes: CRDs $ kubectl apply -f
mycronjob.yaml $ kubectl get crontabs NAME KIND my-new-cron-object CronTab.v1.stable.example.com
Kubernetes Cluster Services API ¿Dónde está la magia? • Controller
/ Controlador $ kubectl
¿Qué hace un controlador?
demo
/PELADONERD @pablokbs ¿PREGUNTAS? slack.peladonerd.com