Writing a Kubernetes custom controller (ekspose) from scratch to expose your deployment | Part - 1

Описание к видео Writing a Kubernetes custom controller (ekspose) from scratch to expose your deployment | Part - 1

In this video I actually tried to write a Kubernetes custom controller (ekspose) that exposes your Kubernetes deployments automatically. When we say exposing an application, we actually mean creating a Kubernetes service and ingress resource, so that people from outside of the cluster can access the application.
In this video we were just able to create service resource, but in the subsequent videos we are going to look into how to create ingress resource for the same.

I am so sorry about the background noise, it became unacceptable between 35:54-43:29.

GitHub Repo of ekspose:
https://github.com/viveksinghggits/ek...

Playlist for basics of client-go:
   • client-go Kubernetes  


Web:
https://viveksingh.dev/

00:00 Introduction
00:22 Agenda
00:31 Prerequisite for this video
00:56 Use case of ekspose
03:01 Basic building blocks of ekspose
05:46 Setup the basic go project
08:54 Creating SharedInformerFactory
11:09 Creating controller type
21:46 Registering add and delete functions
23:40 Impl of Run method of ekspose controller
32:53 Explaining the controller skeleton
34:11 Adding objects in the Queue
37:11 Getting the object from Queue
41:05 Calling syncDeployment to handle creation of Deployment object
41:54 Re-try for failure cases
43:07 Creating service for deployment
51:26 Testing the service that is created
52:47 Issue, service doesn't have selector
54:12 Adding selector to service by getting labels from deployment
57:37 Testing after adding selector
58:20 queue.Forget() after successful run
59:19 What's remaining in ekspose
01:00:22 Summary
01:00:46 Like and Subscribe

Комментарии

Информация по комментариям в разработке