SubResources and additional printer columns for CRDs | Writing K8S Operator - Part 4

preview_player
Показать описание
In this video we talked about Kubernetes sub resources and we specifically looked into the status sub resource. We actually went ahead and implemented status sub resource for the kluster type that we have in our project as part of the operator.
Apart form that we also looked into additional printer columns for CRDs and added two additional printer columns for our kluster resource.

GitHub:

Web:

00:00 Introduction
00:24 Agenda
00:35 What we have been writing
01:45 What are we writing in this video
02:09 Mistake in previous video
02:44 Spec and Status for resources
08:14 What are sub resources
13:48 Adding status field in Kluster
15:45 Specifying sub resource in CRD
17:37 Running controller-gen to update CRD
18:38 Update status from operator
20:35 Generate code again to have updateStatus method
25:48 Testing the things
28:57 Adding AdditionalPrinterColumns
33:36 Subresources for versions
34:40 Summary
35:24 Thank you, Share and Subscribe
Рекомендации по теме
Комментарии
Автор

Amazing video, I was confused about the kubebuilder tag but got clear now. I recommend your video in my community a lot. You are best

ShubhamGupta-vibm
Автор

Thanks Vivek, this is a complete operator implementation you can find on the youtube :)

testuserselvaraj
Автор

Thanks Vivek, this is a great playlist on k8s operators. I was thinking if you can make a playlist on creating an operator, where one can instead of creating a cluster, one can also create resources such as deployments, replicasets, services and so on, as part of their application. Also like if you can make playlist on red hat operator sdk

tanishabanik