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
5 steps to Building a Personal Brand for Elevating Your Influence
pablokbs
0
80
De 0 a SRE en un año - tech4impact 2024
pablokbs
1
550
Seguridad en Kubernetes - Nerdearla 2023
pablokbs
0
320
Qué hace un Staff+ Engineer?
pablokbs
1
180
Prácticas de Seguridad en Kubernetes
pablokbs
2
490
CI/CD - Workana
pablokbs
2
550
Cómo funciona el Algoritmo de YouTube
pablokbs
1
170
Cómo ahorrar millones de dólares con Kubernetes en Producción
pablokbs
0
940
Almacenando métrics de Prometheus a largo plazo con Thanos
pablokbs
0
790
Other Decks in Technology
See All in Technology
ABEMAの本番環境負荷試験への挑戦
mk2taiga
3
130
20250705 Headlamp: 專注可擴展性的 Kubernetes 用戶界面
pichuang
0
280
IPA&AWSダブル全冠が明かす、人生を変えた勉強法のすべて
iwamot
PRO
2
170
Lazy application authentication with Tailscale
bluehatbrit
0
220
敢えて生成AIを使わないマネジメント業務
kzkmaeda
2
460
NewSQLや分散データベースを支えるRaftの仕組み - 仕組みを理解して知る得意不得意
hacomono
PRO
3
180
【Oracle Cloud ウェビナー】インフラのプロフェッショナル集団KELが考えるOCIでのソリューション実現
oracle4engineer
PRO
1
100
ネットワーク保護はどう変わるのか?re:Inforce 2025最新アップデート解説
tokushun
0
210
CRE Camp #1 エンジニアリングを民主化するCREチームでありたい話
mntsq
1
140
What’s new in Android development tools
yanzm
0
340
SRE不在の開発チームが障害対応と 向き合った100日間 / 100 days dealing with issues without SREs
shin1988
1
250
Claude Code に プロジェクト管理やらせたみた
unson
6
4.5k
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
336
57k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Being A Developer After 40
akosma
90
590k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Balancing Empowerment & Direction
lara
1
430
Into the Great Unknown - MozCon
thekraken
40
1.9k
Designing for humans not robots
tammielis
253
25k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
970
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
510
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
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