logo

Updates and Best-Practices in Kubebuilder and Controller-Tools

2023-04-19

Authors:   Rashmi Gottipati, Varsha Prasad Narsing, Tony J, Bryce Palmer, Camila Macedo


Summary

Phase 2 plugins in Cube Builder and Operator SDK allow for extensible CLI and scaffolding through external plugins
  • Cube Builder simplifies building a Kubernetes operator and allows for extensible CLI and scaffolding through plugins
  • Phase 2 plugins allow for external plugins to be discovered and used without needing to be compiled with the Cube Builder binary
  • Plugins can modify Cube Builder's base scaffolding before files are written to disk
  • Plugins can be written in any language
  • External plugins allow for customization of Cube Builder's workflow for non-GoLang operators
Cube Builder's Phase 2 plugins allow for external plugins to be used without needing to be compiled with the Cube Builder binary. This means that plugins can be written in any language, allowing for greater flexibility and customization of Cube Builder's workflow for non-GoLang operators.

Abstract

If you have ever developed an Operator or controller you may have heard of the Kubebuilder and controller-tools projects. During this talk, we will cover some of the new features in recent releases of both Kubebuilder and controller-tools that aid in accelerating the development of Operators while adhering to best practices. A brief summary of the features we will be covering for Kubebuilder is creating/consuming external plugins, a new default scaffold layout, and two new built-in plugins. For controller-tools, we will cover how controller-tools can be leveraged to create custom generators.

Materials:

Post a comment

Related work


Authors: Kemal Akkoyun, Bryan Boreham
2023-04-19


Conference:  Defcon 26
Authors:
2018-08-01