Home / Companies / Pulumi / Blog / Post Details
Content Deep Dive

Introducing crd2pulumi: Typed CustomResources for Kubernetes

Blog post from Pulumi

Post Details
Company
Date Published
Author
Levi Blackstone
Word Count
1,653
Company Posts That Month
13
Language
English
Hacker News Points
-
Post removed?
No
Summary

CustomResource in Kubernetes allows users to enhance the API with their own types by using CustomResourceDefinitions (CRDs) that include an OpenAPI schema, though this extensibility often involves complex YAML definitions. To simplify the management of CustomResources, the new crd2pulumi tool generates types in any Pulumi-supported language, making it easier to handle the intricacies of CRDs like cert-manager or Istio, which can involve extensive and complex YAML schemas. By using programming languages for defining these types, developers benefit from IDE features such as type checking and autocompletion, reducing errors compared to YAML management. Examples like the CronTab and cert-manager demonstrate how crd2pulumi facilitates the creation and management of CustomResources in different programming languages, offering a more efficient and error-free approach. Pulumi provides a robust platform for managing Kubernetes resources, allowing developers to focus on problem-solving rather than dealing with YAML intricacies.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 33 1,119 137 45 -12%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.