Creating and Debugging Kubernetes Admission Webhooks - Maninderjit Bindra, Microsoft

  Рет қаралды 4,638

CNCF [Cloud Native Computing Foundation]

CNCF [Cloud Native Computing Foundation]

4 жыл бұрын

Don't miss KubeCon + CloudNativeCon 2020 events in Amsterdam March 30 - April 2, Shanghai July 28-30 and Boston November 17-20! The conference features presentations from developers and end users of Kubernetes, Prometheus, Envoy, and all of the other CNCF-hosted projects - Learn more at kubecon.io
Creating and Debugging Kubernetes Admission Webhooks - Maninderjit Bindra, Microsoft
This talk will focus on Kubernetes Admission webhooks. We will go through Kubernetes API request flow. What Kubernetes Admission controllers are What Admission webhooks (validating and mutating) are, and the common use cases for creating them- Creating a custom admission webhook- Discuss challenges faced when developing admission webhooks- A look at one of the ways we can perform live debugging (with breakpoints and step throughs) for a admission webhook deployed to a K8s cluster. Briefly touch upon Open Policy Agent and the Gatekeeper project in the context of this talk
sched.co/YWJ8

Пікірлер: 6
@cantwaittowatch
@cantwaittowatch 3 жыл бұрын
Got a good high level and some detail view but given the complexity of the custom hooks, more pictures and detailed flows would always help than words. Thanks for presenting such a non-trivial topic.
@zubinpratap
@zubinpratap 3 жыл бұрын
Timestamped TOC 👇🏼 1:00 Intro to talk, and scope 1:30 context to admission controllers - understand the k8s API request flow 5:10 common functions performed by admission controllers 6:22 API request flow, including mutating and validating webhooks 7:41 usecases for mutating and validating webhooks 9:25 sample usecase for a webhook - outline 10:39 structure of a validation admission webhook's YAML 12:33 k8s API's Admission Review Request object 13:21 Webhook allow or fail response structure 15:17 debugging 17:05 Demo webhook success and fail responses for the sample usecase 18:35 Go code debugging in VSCode 23:03 Open Policy Agent as an alternative to Admission Webhooks for policy enforcement
@bhumijgupta
@bhumijgupta 3 жыл бұрын
This was really helpful and very concise!
@sachintiwari1579
@sachintiwari1579 3 жыл бұрын
"mutating webhooks are called serially, one after the other" - So in case of multiple mutating webhooks is there some logic behind order in which they will be get called?
@manibindra
@manibindra 4 жыл бұрын
Hi @CNCF wanted to check why the video was moved from its original link of kzbin.info/www/bejne/mH7Qiqqsqb58kMU ?
@srahul842002
@srahul842002 3 жыл бұрын
Thanks a lot this was useful and the way you explained was appreciable :)
Kubernetes Federation for Edge - Vishvesh Vijaywargiy & Madhusudan N, NVIDIA
14:06
CNCF [Cloud Native Computing Foundation]
Рет қаралды 274
Extending Kubernetes with Custom Controllers - John Sundharam & Harsh Singh, Grofers
26:15
CNCF [Cloud Native Computing Foundation]
Рет қаралды 6 М.
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 186 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 79 МЛН
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 62 МЛН
Securing Kubernetes With Admission Controllers - Dave Strebel, Microsoft
33:53
CNCF [Cloud Native Computing Foundation]
Рет қаралды 6 М.
To Crd, or Not to Crd, That is the Question - Ed King & Sam Gunaratne, Pivotal
38:05
CNCF [Cloud Native Computing Foundation]
Рет қаралды 13 М.
Kubernetes Auth and Access Control by Eric Chiang, CoreOS
41:12
CNCF [Cloud Native Computing Foundation]
Рет қаралды 25 М.
Admission Webhooks: Configuration and Debugging Best Practices - Haowei Cai, Google
35:15
CNCF [Cloud Native Computing Foundation]
Рет қаралды 5 М.
Kubernetes Deconstructed: Understanding Kubernetes by Breaking It Down - Carson Anderson, DOMO
33:15
CNCF [Cloud Native Computing Foundation]
Рет қаралды 187 М.
How to build a Kubernetes Webhook | Admission controllers
40:50
That DevOps Guy
Рет қаралды 24 М.
Customizing and Extending the Kubernetes API with Admission Controllers
6:22
Kubernetes Design Principles: Understand the Why - Saad Ali, Google
37:53
CNCF [Cloud Native Computing Foundation]
Рет қаралды 125 М.
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 7 МЛН
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 1 МЛН
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 9 МЛН
low battery 🪫
0:10
dednahype
Рет қаралды 573 М.
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 10 МЛН