$30 off During Our Annual Pro Sale. View Details »
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
49
La IA no es el Futuro - Foro Valos 2025
pablokbs
1
47
5 steps to Building a Personal Brand for Elevating Your Influence
pablokbs
0
100
De 0 a SRE en un año - tech4impact 2024
pablokbs
1
630
Seguridad en Kubernetes - Nerdearla 2023
pablokbs
0
350
Qué hace un Staff+ Engineer?
pablokbs
1
210
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
Master Dataグループ紹介資料
sansan33
PRO
1
4k
知っていると得する!Movable Type 9 の新機能を徹底解説
masakah
0
220
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
0
130
タグ付きユニオン型を便利に使うテクニックとその注意点
uhyo
2
700
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.3k
Agents IA : la nouvelle frontière des LLMs (Tech.Rocks Summit 2025)
glaforge
0
430
Eight Engineering Unit 紹介資料
sansan33
PRO
0
5.8k
日本Rubyの会の構造と実行とあと何か / hokurikurk01
takahashim
4
730
AI/MLのマルチテナント基盤を支えるコンテナ技術
pfn
PRO
5
770
ブロックテーマとこれからの WordPress サイト制作 / Toyama WordPress Meetup Vol.81
torounit
0
350
pmconf2025 - 他社事例を"自社仕様化"する技術_iRAFT法
daichi_yamashita
0
630
あなたの知らないDateのひみつ / The Secret of "Date" You Haven't known #tqrk16
expajp
0
120
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Documentation Writing (for coders)
carmenintech
76
5.2k
A Tale of Four Properties
chriscoyier
162
23k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
A Modern Web Designer's Workflow
chriscoyier
697
190k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
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