Pcornel
Automation · Kubernetes Automation

Operators

Cheat sheet · https://pcornel.dk/topic.php?topic=5802

Back to the Topic

Answer

Operators extend Kubernetes with custom resources and controllers that automate running complex applications, such as databases, handling installation, upgrades, backups and failover.

Remember

  • Operators add custom resources and controllers.
  • They handle install, upgrades and backups.
  • Operator health affects the app.

First checks

  • kubectl get crd — installed CRDs
  • kubectl get <custom-resource> -A — operator-managed objects
  • kubectl logs -n <ns> deploy/<operator> — operator logs

Verify in this order

custom resource → operator → managed resources

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5802

Confirmation

Confirm action

Continue?