Kubernetes Operator Certification? Interview Prep (2027)
No dedicated operator exam exists; CKAD covers CRDs and operators. 32 interview Q&As on reconcile, finalizers, Operator SDK, Kubebuilder and OLM.
We found no vendor-neutral certification dedicated to Kubernetes operators. The closest official exam is the Linux Foundation's CKAD, whose curriculum includes discovering and using resources that extend Kubernetes, such as CRDs and operators. This page explains which certifications cover operator skills and gives 32 interview questions with direct answers.
"Operator certification" in job posts usually means one of two things: a CNCF Kubernetes certification plus hands-on operator experience, or experience shipping an operator through the Operator Framework. This guide covers both. It links up to our Kubernetes architecture pillar and across to the keeper post, Kubernetes Operator interview prep: a 6-week plan.
Key takeaways
- CKAD lists "Discover and use resources that extend Kubernetes (CRD, Operators)" under its Application Environment, Configuration and Security domain, weighted at 25%.
- CKAD is a 2-hour exam. The Linux Foundation lists the exam-only price at USD 445.
- Operator SDK and Kubebuilder are the main Go tooling. When we checked, the latest releases were Operator SDK v1.42.3 and Kubebuilder v4.16.0.
- Operator SDK supports Go, Ansible and Helm operators and uses the controller-runtime library.
- Reconciliation is the core idea: make the actual state match the desired state in a custom resource, and return a result that tells controller-runtime whether to try again.
- Interviewers test design judgment: status reporting, finalizers, idempotency, RBAC scope and upgrades.
Which certifications cover operator skills
| Certification | How it relates to operators |
|---|---|
| CKAD (Certified Kubernetes Application Developer) | Curriculum explicitly includes using CRDs and operators |
| CKA (Certified Kubernetes Administrator) | Covers cluster operation; useful for installing and running operators |
| CKS (Certified Kubernetes Security Specialist) | Relevant to RBAC, admission and supply chain, which operators touch |
None of these asks you to write a controller. Building operators is tested in interviews and take-home tasks, which is why the questions below matter. For exam domains and prices, always check the Linux Foundation's own pages, since they change.
Core concepts
1. What is a Kubernetes operator?
An operator is a custom controller paired with one or more custom resources. It encodes operational knowledge about an application, such as how to install, upgrade, back up or scale it, and applies that knowledge automatically by watching the custom resources and reconciling the cluster to match them.
2. What is a CustomResourceDefinition?
A CRD extends the Kubernetes API with a new resource type. Once applied, users can create objects of that kind with kubectl, and the API server stores and validates them. The CRD defines the schema; a controller gives the objects behaviour.
3. What does a controller do?
The Kubebuilder book puts it as ensuring that, for any given object, the actual state of the world matches the desired state in the object. This process is called reconciling. Each controller usually focuses on one root kind.
4. What does a Reconcile function receive?
It receives a request containing only the namespaced name of an object. The reconciler fetches the current object through the client, compares it with the real state and acts. It does not receive the event type, so it must work out what to do from current state alone.
5. Why should reconciliation be idempotent?
The same object can be reconciled many times, after restarts, resyncs or unrelated events. Running reconcile twice with the same input must give the same result and must not create duplicate resources. Use create-or-update patterns and owner references to achieve this.
6. What does the reconcile result control?
The returned result and error tell controller-runtime whether to try again. An empty result with no error means the object reconciled successfully. Returning an error causes a retry with backoff; asking for a requeue after a delay suits periodic checks.
7. What are spec and status?
Spec holds the desired state written by users. Status holds what the controller observed, such as readiness and conditions. Users should not write status, and the controller should not change spec. Enabling the status subresource keeps these updates separate.
8. What are owner references used for?
They mark child objects, such as Deployments created by the operator, as owned by the custom resource. Kubernetes garbage collection then deletes children when the parent is deleted, and controllers can watch owned objects to trigger reconciliation when they change.
9. What is a finalizer?
A finalizer is a string on an object that blocks deletion until it is removed. Operators add one when they must clean up external resources, such as a cloud database, before the object disappears. The controller performs cleanup on deletion, then removes the finalizer.
10. When should you not build an operator?
When a Helm chart or plain manifests already handle the job, or when the application has no ongoing operational logic. Operators add code to maintain, test and secure, so they should earn their place through real automation such as backups, failover or version upgrades.
Tooling: Operator SDK, Kubebuilder and OLM
11. What is Operator SDK?
Operator SDK is part of the Operator Framework. Its documentation says it uses the controller-runtime library to make writing operators easier, and it provides scaffolding, code generation and extensions for common needs.
12. Which operator types does Operator SDK support?
Go, Ansible and Helm. Helm-based operators wrap an existing chart, Ansible-based operators run playbooks on reconcile, and Go-based operators give full control through controller-runtime. Capabilities differ by type, so choose based on how much custom logic you need.
13. How does Kubebuilder relate to Operator SDK?
Both scaffold Go operators on controller-runtime. Kubebuilder is a Kubernetes SIG project, and the Go project layout in Operator SDK follows the Kubebuilder style. Operator SDK adds Ansible and Helm support and integration with the Operator Lifecycle Manager.
14. What is OLM?
The Operator Lifecycle Manager installs, upgrades and manages operators on a cluster using catalogs and bundles. Operator SDK documents support for the latest three OLM minor versions at release time and can install OLM with operator-sdk olm install for testing.
15. How do you scaffold a new Go API?
Initialise a project, then create an API with a group, version and kind. The tooling generates the types file, a controller stub and manifests. A typical flow looks like this:
kubebuilder init --domain example.com --repo example.com/db-operator
kubebuilder create api --group apps --version v1alpha1 --kind Database
make manifests
make install
make run
16. What do the kubebuilder markers do?
Markers are special comments in Go types and controllers that drive code and manifest generation. They add validation rules to the CRD schema, enable the status subresource, define printer columns and generate RBAC rules for the controller.
17. How do you test a controller?
Unit test helper logic in plain Go. For controller behaviour, run tests against a real API server using envtest from controller-runtime, which starts a local control plane without a full cluster. Add end-to-end tests on a disposable cluster for upgrade and failure paths.
18. How should an operator be packaged?
Build the manager as a container image, generate CRDs and RBAC manifests, and publish either plain manifests, a Helm chart or an OLM bundle depending on how users install it. Version the CRD API and the image together.
Design and operations
19. How do you report progress to users?
Use status conditions with type, status, reason and message, and record the observed generation so users know whether status reflects the latest spec. Emit Kubernetes events for important steps and failures.
20. How do you limit an operator's permissions?
Generate RBAC from markers that list only the verbs and resources the controller needs. Prefer namespace-scoped watches when the use case allows, and avoid cluster-wide secrets access unless the design requires it.
21. How do you evolve a CRD API without breaking users?
Add new versions alongside old ones, mark one as the storage version, and use conversion webhooks when field shapes differ. Deprecate old versions with notice and migrate stored objects before removing them.
22. How does leader election help?
Running several replicas of the manager gives availability, but only one should reconcile at a time to avoid conflicting writes. Leader election picks one active replica; others take over if it fails.
23. How do you avoid hot loops?
Do not update the object on every reconcile when nothing changed, use predicates to ignore irrelevant events such as status-only updates, and return errors or delayed requeues instead of immediate requeues when waiting on external systems.
24. What metrics should an operator expose?
controller-runtime exposes reconcile counts, errors and durations, plus work queue depth. Add domain metrics such as backups completed or failover count. Alert on rising reconcile errors and growing queues.
25. How do you manage stateful applications with an operator?
Use StatefulSets with persistent volumes, coordinate ordered upgrades, handle backup and restore through custom resources, and keep status accurate about which member is primary. Our post on how operators automate stateful apps covers patterns.
Scenario questions
26. A custom resource is stuck in Terminating. What do you check?
Look at its finalizers and the operator logs. The controller may be failing cleanup of an external resource or may not be running. Fix the cleanup path; remove the finalizer manually only after confirming the external resource is handled.
27. The operator creates duplicate Services on every restart. Why?
Reconcile is creating instead of create-or-update, or it is not finding existing objects because names or labels change between runs. Use deterministic names, owner references and a get-then-update pattern.
28. CPU usage of the operator is high and logs show constant reconciles. What do you do?
Find what triggers events. Often the controller updates the object or a child on every pass, which triggers another event. Compare before writing, add predicates, and update status only when it changes.
29. After a CRD upgrade, old objects fail validation. How do you fix it?
Keep the old version served, add a conversion path, and migrate stored objects. Avoid making existing optional fields required without defaults. Test upgrades on a copy of real objects before release.
30. Security review says the operator can read all secrets. How do you respond?
Narrow RBAC to the namespaces and secret names the operator needs, or have users reference a specific secret in the custom resource. Regenerate manifests from markers and document the remaining permissions.
31. Should the team write a Helm, Ansible or Go operator?
Choose Helm if you only need install and upgrade of an existing chart, Ansible if the team already automates the app with playbooks, and Go for complex logic, external API calls and fine control over reconciliation.
32. How would you prepare for an operator interview in two weeks?
Build a small operator that manages a Deployment and a Service from a custom resource, add status conditions and a finalizer, write envtest tests, and package it. Revise CKAD-level skills with CRDs and kubectl so the basics are quick.
A practice project that covers most questions
Reading answers helps, but interviewers can tell quickly whether you have built a controller. A small project gives you real stories to tell. Pick an application you understand, such as a simple web service with a database connection string, and design a custom resource for it. The spec might hold the image, the replica count and the name of a secret. The status might hold a Ready condition, the observed generation and the service URL.
Write the reconcile loop so it creates or updates a Deployment and a Service owned by the custom resource. Then break it on purpose. Delete the Deployment by hand and watch the controller recreate it. Change the replica count and check that only the Deployment changes. Add a finalizer that writes a log line or calls a fake external API on deletion, and confirm the object stays in Terminating until cleanup finishes.
Next, add envtest tests for the create, update and delete paths, and tighten RBAC so the manager can only touch the resources it owns. Finally, add a second API version with one renamed field and work through the conversion story. By the end you will have touched almost every topic on this page, and you will be able to explain the tradeoffs from experience rather than memory.
Related guides
For more depth, read Kubernetes Operator FAQs on CRDs and finalizers, Operator Framework questions on SDK and OLM, advanced operator questions and the operator coding-round questions.
To prepare for the exams that sit closest to operator work, see our CKAD course and CKA course, offered in the Kharadi, Pune classroom and live online across India.
Frequently asked questions
Is there an official Kubernetes Operator certification?
We found no vendor-neutral exam dedicated to operators. CKAD is the closest: its curriculum includes discovering and using CRDs and operators.
Which certification should an operator developer take?
CKAD covers using CRDs and operators and application design. CKA helps if you also run clusters. Operator development itself is tested in interviews and projects.
How much does the CKAD exam cost?
The Linux Foundation lists the exam-only price at USD 445, with bundles that cost more. Check its page for current pricing and discounts.
Should I learn Operator SDK or Kubebuilder?
Learn the controller-runtime concepts first. Kubebuilder is the base Go scaffolding; Operator SDK adds Helm and Ansible operators and OLM integration. Either is fine for Go.
What is reconciliation in an operator?
It is the loop that compares the desired state in a custom resource with the actual cluster state and acts to make them match.
What is a finalizer used for?
It blocks deletion of an object until the controller finishes cleanup, such as removing an external resource, and then removes the finalizer.
References
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0