Dynamic Configuration with ComponentConfig and the Control Loop
Offered By: CNCF [Cloud Native Computing Foundation] via YouTube
Course Description
Overview
Explore dynamic configuration techniques for Kubernetes controllers in this 35-minute conference talk from KubeCon. Dive into ComponentConfig patterns, combining them with Custom Resource Definitions (CRDs) to enable self-reconfiguring controllers. Learn how to leverage Kubernetes API machinery for loading configuration files that resemble Kubernetes resources. Discover the benefits of this approach, including simplified controller management for end-users and improved status reporting for easier debugging. Gain insights into Kubernetes-style APIs, YAML versioning, command-line flags, and CRD conversions through webhooks. Examine practical examples and understand how to implement dynamic configurations with custom resources in your own Kubernetes projects.
Syllabus
Intro
Kubernetes-style APIs
What does yaml + versions get us?
Command line flags
What about Kubernetes?
Problems with flags
Conversions defined in Go
Applying this CRD creates REST routes in the API Server
Validation is part of the CRD Spec.
CRD Conversions are done wl webhooks in the spec (external URL or Service)
CRD Version Conversions
Controllers and their Value
Flags Solution: ComponentConfig
Dynamic ComponentConfig
Dynamic Config w/ Custom Resources
Examples
Taught by
CNCF [Cloud Native Computing Foundation]
Related Courses
Elastic Cloud Infrastructure: Containers and ServicesGoogle Cloud via Coursera Microsoft Azure App Service
Microsoft via edX API Design and Fundamentals of Google Cloud's Apigee API Platform
Google Cloud via Coursera API Development on Google Cloud's Apigee API Platform
Google Cloud via Coursera On Premises Installation and Fundamentals with Google Cloud's Apigee API Platform
Google Cloud via Coursera