OpsCanary
Learn/Kubernetes/Operators & CRDs
Kubernetes

Operators & CRDs

7 articles from official documentation

Practitioner7 articles
kubernetesoperatorsPractitioner

Mitigating Staleness in Kubernetes Controllers: What You Need to Know

Kubernetes v1.36 introduces key features to tackle staleness in controllers, directly impacting your cluster's reliability. By leveraging atomic FIFO processing and the new ConsistencyStore, controllers can ensure they act on the most current data. This is a game-changer for production environments where stale data can lead to cascading failures.

  • Enable staleness mitigation using the StaleControllerConsistency feature gate for improved reliability.
  • Utilize the ConsistencyStore to ensure controllers only act on the latest resource versions.
5 min read·Kubernetes Blog
Read article
kubernetesoperatorsPractitioner

Building a Memcached Operator with Go: A Practical Guide

Operators are a powerful way to extend Kubernetes, and building one with Go can streamline your application management. This guide walks you through creating a Memcached operator, focusing on the Custom Resource Definition (CRD) and the controller's role in reconciliation.

  • Initialize your operator project with a clear domain using the `operator-sdk init` command.
  • Define your CRD with specific fields like `size` and `containerPort` to manage Memcached instances effectively.
5 min read·Official Docs
Read article
kubernetesoperatorsPractitioner

Mastering Admission Control in Kubernetes: What You Need to Know

Admission control is a critical gatekeeper in Kubernetes, ensuring that only valid requests reach your cluster. Understanding the difference between mutating and validating admission controllers can save you from costly misconfigurations.

  • Understand the two phases of admission control: mutating and validating.
  • Configure admission plugins using `--enable-admission-plugins` and `--disable-admission-plugins`.
5 min read·Kubernetes Docs
Read article
kubernetesoperatorsPractitioner

CustomResourceDefinitions: Extending Kubernetes for Your Needs

Unlock the power of Kubernetes by extending its API with CustomResourceDefinitions (CRDs). Learn how to create custom resources that fit your application’s specific requirements, including namespaced and cluster-scoped options.

  • Create a CustomResourceDefinition to extend the Kubernetes API with your own resources.
  • Specify whether your custom resource is namespaced or cluster-scoped using the `spec.scope` field.
5 min read·Kubernetes Docs
Read article
kubernetesoperatorsPractitioner

Mastering Custom Resources in Kubernetes: Beyond the Basics

Custom Resources in Kubernetes allow you to extend the API to fit your application needs. With CustomResourceDefinitions (CRDs), you can define new resource types without programming. This flexibility is powerful, but it comes with caveats that can trip up even seasoned engineers.

  • Define new resource types using CustomResourceDefinitions (CRDs) without programming.
  • Utilize API Aggregation for more control over API behaviors and data management.
5 min read·Kubernetes Docs
Read article
kubernetesoperatorsPractitioner

Mastering the Operator Pattern in Kubernetes

Unlock the power of Kubernetes with Operators, the game-changer for managing complex applications. Learn how custom resources and control loops work together to automate your workflows.

  • Utilize custom resources to extend Kubernetes capabilities.
  • Implement control loops to automate application management.
5 min read·Kubernetes Docs
Read article
kubernetesoperatorsPractitioner

Headlamp 2025: Transforming Kubernetes Management

Headlamp is redefining how we manage Kubernetes clusters by providing an application-centric view through Projects. This feature groups related resources across multiple namespaces and clusters, streamlining your workflow.

  • Utilize Projects to group related resources across multiple namespaces and clusters.
  • Leverage the side-by-side cluster comparison feature for better workload understanding.
5 min read·Kubernetes Blog
Read article
Better StackSponsor

Unified observability — logs, uptime monitoring, and on-call in one place. Used by 50,000+ engineering teams to ship faster and sleep better.

Try Better Stack free →

Get the daily digest

One email. 5 articles. Every morning.

No spam. Unsubscribe anytime.