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
20 años de SRE - Nerdearla 2025
pablokbs
0
47
La IA no es el Futuro - Foro Valos 2025
pablokbs
1
45
5 steps to Building a Personal Brand for Elevating Your Influence
pablokbs
0
99
De 0 a SRE en un año - tech4impact 2024
pablokbs
1
620
Seguridad en Kubernetes - Nerdearla 2023
pablokbs
0
350
Qué hace un Staff+ Engineer?
pablokbs
1
200
Prácticas de Seguridad en Kubernetes
pablokbs
2
510
CI/CD - Workana
pablokbs
2
570
Cómo funciona el Algoritmo de YouTube
pablokbs
1
190
Other Decks in Technology
See All in Technology
大規模モノレポの秩序管理 失速しない多言語化フロントエンドの運用 / JSConf JP 2025
shoota
0
360
メッセージ駆動が可能にする結合の最適化
j5ik2o
9
1.5k
生成AI時代に若手エンジニアが最初に覚えるべき内容と、その学習法
starfish719
2
600
TypeScript 6.0で非推奨化されるオプションたち
uhyo
15
4.9k
クラスタ統合リアーキテクチャ全貌~1,000万ユーザーのウェルネスSaaSを再設計~
hacomono
PRO
0
140
国産クラウドを支える設計とチームの変遷 “技術・組織・ミッション”
kazeburo
4
8.1k
レガシーシステム刷新における TypeSpec スキーマ駆動開発のすゝめ
tsukuha
3
630
[CV勉強会@関東 ICCV2025 読み会] World4Drive: End-to-End Autonomous Driving via Intention-aware Physical Latent World Model (Zheng+, ICCV 2025)
abemii
0
250
ローカルLLM基礎知識 / local LLM basics 2025
kishida
23
7k
巨大モノリスのリプレイス──機能整理とハイブリッドアーキテクチャで挑んだ再構築戦略
zozotech
PRO
0
270
グローバルなコンパウンド戦略を支えるモジュラーモノリスとドメイン駆動設計
kawauso
3
8.2k
Redux → Recoil → Zustand → useSyncExternalStore: 状態管理の10年とReact本来の姿
zozotech
PRO
21
9k
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
1
45
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
Faster Mobile Websites
deanohume
310
31k
BBQ
matthewcrist
89
9.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Designing Experiences People Love
moore
142
24k
Being A Developer After 40
akosma
91
590k
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