Simplifying Kubernetes Custom Resources

Building Kubernetes YAML automation
  • The ‘composition’ annotation is used to list Kubernetes sub-resources that are created by the Operator when instantiating a Custom Resource of that CRD’s Kind.
  • The three relationship annotations that follow define annotation-based, label-based, and spec property based relationships that are important for the Operator in regards to that specific Custom Resource.
  • The ‘usage’ annotation is used to define how to use a Custom Resource — think of a ‘man page’ like information about a Custom Resource. The value of this annotation is a ConfigMap with the actual usage information.
resource/composition: StatefulSet, Service, ConfigMap, Secret, PodDisruptionBudget
  • build resource topology graphs for all Kubernetes resources in a cluster.
  • find out resource consumption of an individual Custom Resource instance or of an entire Kubernetes YAML workflow.
  • create linkages between multiple Kubernetes YAMLs or Helm charts coming from different team members.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Web 2.0 was copyrighted. Web3 is copyleft. Use Tally Ho.

Better notebooks through CI: automatically testing documentation for graph machine learning

Using IFTTT, Google Calendar, Google Sheets, Excel, and Python to Track Activity

Building A Customizable Video Chat & Live Streaming App With Swift

CS373 Week of 9 Feb — 14 Feb

My Internship Goal At Zuri

Airbloc’s 2021 technology and business development update

Software Engineering Process Group (SEPG) 2000 Conference Notes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


More from Medium

Certificate Management for On-premises Cloud-Native Apps

Setting up a Prometheus monitoring stack in Kubernetes

Comprehensive Guide on Integrating Open Policy Agent (OPA) With Kubernetes

K8’s — Kubernetes