Advanced OpenShift Interview Questions (2027)
56 advanced OpenShift interview questions for experienced engineers: Operators, OLM v1, MachineConfig, OVN-Kubernetes, SCC design, multi-cluster, DR.
Advanced OpenShift interview questions test design judgement on a running platform: how the control plane and Operators reconcile state, how MachineConfig changes roll through nodes, how OVN-Kubernetes routes and restricts traffic, how SCCs and admission work together, and how you run many clusters with GitOps and Advanced Cluster Management. This page has 56 questions for engineers with three or more years of experience.
Answers were checked against Red Hat documentation in November 2026. Red Hat lists OpenShift Container Platform 5.0 as generally available from 3 November 2026, and many production clusters still run 4.x, so the answers note where behaviour depends on the release. For the full question bank start with our 120+ OpenShift interview questions, and for day-2 admin tasks such as backups, identity providers and updates see the OpenShift administration guide.
Key takeaways
- Experienced candidates are judged on mechanisms: which Operator owns a setting, what reconciles it, and what happens to nodes when it changes.
- DeploymentConfig is deprecated. Use Kubernetes Deployments, and expect a question on migrating old DeploymentConfigs.
- OpenShift SDN was removed in 4.17. OVN-Kubernetes is the only supported network plugin, so egress, network policy and troubleshooting answers should use OVN terms.
- New clusters use the
restricted-v2SCC by default. Do not edit default SCCs; create a custom SCC and grant it to a service account. - OLM v1 (ClusterExtension and ClusterCatalog) is generally available alongside the older Subscription model. Know both.
- Multi-cluster answers should mention Red Hat Advanced Cluster Management, OpenShift GitOps (Argo CD) and hosted control planes, with trade-offs.
How this guide differs from our other OpenShift posts
| Post | Angle |
|---|---|
| 120+ OpenShift questions | Broad bank from basics to senior, the main OpenShift interview page |
| OpenShift administration | Day-2 operations: users, quotas, backups, updates, certificates |
| This page | Architecture and engineering depth: Operators, MachineConfig, OVN, security design, multi-cluster, performance |
| Scenario-based OpenShift | Troubleshooting stories in the order you would work them |
Architecture refresher (fresher-level questions experienced candidates still get)
1. How does OpenShift extend Kubernetes?
OpenShift is a Kubernetes distribution that adds an integrated install and update path, RHCOS as the node operating system, cluster Operators that manage every platform component, a built-in image registry, Routes and the Ingress Operator, Security Context Constraints, OAuth-based authentication, and a web console. The key idea for interviews is that the platform itself is managed by Operators.
2. What is the Cluster Version Operator?
The CVO is the top-level Operator that applies a release payload. It reads the ClusterVersion resource, rolls out the cluster Operators listed in that release in order, and reports update progress. When you run an update, you are asking the CVO to move to a new release image.
3. What does oc get clusteroperators tell you?
It lists every cluster Operator with its Available, Progressing and Degraded conditions. It is the first command for any platform health question, because a Degraded Operator names the component at fault, such as ingress, authentication or machine-config.
4. What is RHCOS and why is it managed differently from RHEL?
Red Hat Enterprise Linux CoreOS is an image-based, mostly immutable OS for OpenShift nodes. You do not SSH in and edit files; you describe changes as MachineConfig objects and the Machine Config Operator applies them. That keeps every node in a pool identical.
5. What runs on control plane nodes?
etcd, the Kubernetes API server, controller manager and scheduler, plus the OpenShift API server, OAuth server and their Operators. A standard highly available cluster has three control plane nodes so etcd keeps quorum when one fails.
6. How do Routes differ from Kubernetes Ingress?
Routes are an OpenShift API that the Ingress Controller (HAProxy based) serves, with edge, passthrough and re-encrypt TLS termination. OpenShift also accepts Kubernetes Ingress objects and converts them into Routes, and Gateway API support exists in recent releases. Know the three TLS modes well.
7. What is a project compared with a namespace?
A project is a namespace with extra annotations and a self-service request flow. Users create projects through oc new-project, and administrators can template what every new project gets, such as default quotas and network policies.
Operators and platform extension (3 to 5 years experience)
8. What is the difference between a cluster Operator and an OLM-managed Operator?
Cluster Operators are part of the release payload and are managed by the CVO; you cannot uninstall them. OLM-managed Operators are optional add-ons, such as OpenShift GitOps or OpenShift Data Foundation, installed from catalogs and updated on their own channels.
9. Explain the classic OLM objects.
A CatalogSource points to an index of Operators. A Subscription asks for an Operator on a channel. An InstallPlan lists what will be installed, which can require manual approval. A ClusterServiceVersion describes the installed Operator version, its permissions and owned CRDs. An OperatorGroup sets which namespaces the Operator watches.
10. What does OLM v1 change?
OLM v1, generally available since 4.18, uses ClusterExtension to install an extension and ClusterCatalog to provide content. It simplifies the model and gives administrators more control over versions and permissions. The 5.0 release notes deprecate the spec.serviceAccount field on ClusterExtension, so check the release you run before writing manifests.
11. When would you build a custom Operator instead of using Helm?
Build an Operator when the application needs ongoing operational logic: backups, failover, scaling decisions or upgrades that depend on live state. Helm installs and upgrades templates but does not watch the application afterwards. Operator SDK supports Go, Ansible and Helm-based Operators, so a Helm chart can be a first step.
12. What makes a good reconcile loop?
It is idempotent, reads current state each time, makes one step of progress, updates status conditions, and requeues instead of blocking. It uses owner references so child objects are garbage collected and finalizers only when external cleanup is needed.
13. How do you set Operator update approval in production?
Set the Subscription's install plan approval to Manual so an upgrade waits for review, test the new version in a lower cluster, then approve. Automatic approval is fine for lab clusters but risky when an Operator manages data, such as a database or storage Operator.
14. How do you run Operators in a disconnected cluster?
Mirror the release images and the Operator catalog content into a local registry with oc-mirror (v2; v1 is deprecated), apply the generated ImageDigestMirrorSet or ImageTagMirrorSet and catalog resources, and point the cluster at the mirrored catalog. ImageContentSourcePolicy is deprecated in favour of those two resources.
Nodes, MachineConfig and scaling (3 to 5 years experience)
15. What happens when you apply a MachineConfig?
The Machine Config Operator renders a new combined config for the target pool, and the Machine Config Daemon on each node applies it one node at a time (or up to maxUnavailable), usually cordoning, draining and rebooting the node. Some changes, such as certain registry and SSH key changes, apply without a reboot.
16. What is a MachineConfigPool and why create a custom one?
A pool groups nodes that receive the same configuration, such as master and worker. A custom pool, for example infra or gpu, lets you give a subset of nodes their own kernel arguments or files and roll changes to them separately.
17. How do you pause configuration rollouts during a critical period?
Set spec.paused: true on the MachineConfigPool. Changes queue up and apply when you unpause. Do not leave pools paused for long, because certificate rotation also flows through MachineConfig.
18. What are Machine, MachineSet and the cluster autoscaler?
On installer-provisioned infrastructure, the Machine API creates Machines from MachineSets the way a ReplicaSet creates pods. The ClusterAutoscaler and per-MachineSet MachineAutoscaler add or remove machines based on pending pods. A MachineHealthCheck replaces unhealthy machines automatically.
19. Why create infrastructure nodes?
Router, registry, monitoring and logging workloads can run on infra nodes labelled and tainted for that purpose, which keeps them away from application workloads and, under Red Hat's subscription terms, can reduce the subscription count. Move those components with node selectors and tolerations on their Operator configs.
20. How do you tune nodes for latency-sensitive workloads?
Use the Node Tuning Operator with a PerformanceProfile to set isolated and reserved CPUs, huge pages, real-time kernel and NUMA-aware topology. Pair it with guaranteed QoS pods that request whole CPUs so the static CPU manager pins them.
21. What is a hosted control plane?
With hosted control planes, the control plane of a cluster runs as pods in a management cluster instead of on dedicated nodes. It reduces cost and start-up time for many clusters and separates control plane from workers. The trade-off is a dependency on the management cluster and a different operational model.
22. How do you plan capacity for a cluster?
Size from requests, not usage, because the scheduler uses requests. Track allocatable versus requested per node, leave headroom for a node failure and rolling updates, and set ClusterResourceQuotas or per-project quotas so one team cannot request the cluster dry.
Networking with OVN-Kubernetes (3 to 5 years experience)
23. What does OVN-Kubernetes provide?
It is the cluster network plugin based on Open vSwitch and OVN. It implements pod networking, Services, NetworkPolicy, egress IPs, egress firewall and hybrid networking. OpenShift SDN was removed in 4.17, so clusters must migrate to OVN-Kubernetes before upgrading past that release.
24. How do you give a namespace a fixed source IP for outbound traffic?
Create an EgressIP object that selects the namespace (and optionally pods) and label the nodes allowed to host the address with k8s.ovn.org/egress-assignable. Traffic from matching pods leaves through that IP, which is how you satisfy firewall allow-lists on external databases.
25. How do you restrict which external hosts a project can reach?
Use an EgressFirewall in the namespace with allow and deny rules by CIDR or DNS name. Combine it with NetworkPolicy for pod-to-pod rules inside the cluster.
26. What is a good default network policy set for a new project?
Deny all ingress by default, allow traffic from pods in the same namespace, allow traffic from the ingress controller namespace so Routes work, and allow from the monitoring namespace if user workload monitoring scrapes the app. Put these in the project template so every project starts locked down.
27. What are AdminNetworkPolicy and BaselineAdminNetworkPolicy?
They are cluster-scoped policy APIs from the Kubernetes network policy working group, supported by OVN-Kubernetes in recent OpenShift releases. Cluster administrators use them to set rules that namespace owners cannot override (AdminNetworkPolicy) or defaults that namespaces can refine (BaselineAdminNetworkPolicy).
28. When would you add a secondary network with Multus?
When a workload needs a separate interface, such as a storage network, a telco data plane with SR-IOV, or a VM on a VLAN. You define a NetworkAttachmentDefinition and annotate the pod. The default cluster network still carries Kubernetes traffic.
29. How do you troubleshoot a Route returning 503?
A 503 from the router usually means no ready endpoints. Check that the Service selector matches pod labels, the pods pass readiness probes, the target port is right, and network policies allow traffic from the ingress namespace. Then look at router pod logs.
30. How do you shard ingress traffic?
Create additional IngressController resources with a route selector or namespace selector, each with its own domain or load balancer. This separates internal and external traffic or isolates a noisy tenant.
Security design (senior)
31. How do SCCs relate to Pod Security Admission?
Both run. SCCs are OpenShift admission controls that decide which security settings a pod can use, based on the SCCs its service account or user can use. Pod Security Admission applies Kubernetes pod security standards per namespace, and OpenShift synchronizes namespace labels with SCC permissions for most namespaces. A pod must pass both.
32. How do you let one application run as a specific UID?
Create a custom SCC (or use an existing one such as nonroot-v2 if it fits), then grant it to the application's service account through a Role and RoleBinding with the use verb on that SCC. Never edit restricted-v2 or grant anyuid to a broad group.
33. How do you check which SCC admitted a pod?
Read the openshift.io/scc annotation on the pod. To test what a service account could use, run oc adm policy scc-subject-review against a pod spec.
34. How do you enforce compliance benchmarks?
Install the Compliance Operator, create a ScanSettingBinding for profiles such as CIS, and review ComplianceCheckResults. It can generate remediations as MachineConfigs, which you should review before applying because they roll through nodes.
35. How do you restrict which images can run?
Use the cluster image configuration to allow or block registries, configure signature verification policies for images you sign, and use an admission policy engine or Red Hat Advanced Cluster Security for richer rules such as blocking critical CVEs.
36. How should secrets be handled for regulated workloads?
Enable etcd encryption, keep secret values out of Git by using an external secret store with an operator such as the External Secrets Operator or Secrets Store CSI driver, and restrict get on secrets through RBAC. Rotate credentials on a schedule.
37. How do you audit API access?
The API server writes audit logs on control plane nodes, with a configurable audit profile. Forward them with the logging stack to a SIEM and alert on sensitive actions such as SCC grants or cluster-admin bindings.
Storage, delivery and multi-cluster (senior)
38. How do storage classes and CSI drivers work in OpenShift?
Each storage class names a CSI provisioner and parameters. A PVC that references the class gets a dynamically provisioned volume. Set one default class, use WaitForFirstConsumer binding for topology-aware storage, and enable volume snapshots where the driver supports them.
39. When would you choose OpenShift Data Foundation?
When you need software-defined block, file and object storage inside the cluster, for example on bare metal without an external array, or when you want one storage layer across clouds. It costs node capacity and operational effort, so for cloud clusters the provider's CSI driver is often enough.
40. How do you build images in OpenShift today?
BuildConfig with Source-to-Image or Docker strategies is still supported, Builds for Red Hat OpenShift (based on Shipwright) is the newer option, and OpenShift Pipelines (Tekton) runs full CI pipelines. The Jenkins pipeline build strategy is deprecated.
41. How do you replace a DeploymentConfig?
Create a Deployment with the same pod template, convert ImageStream triggers to the image.openshift.io/triggers annotation if you still need them, move lifecycle hooks to init containers or Jobs, and switch the Service selector once the Deployment is healthy.
42. What does OpenShift GitOps add over upstream Argo CD?
It is Red Hat's supported Argo CD distribution installed through an Operator, with integration into OpenShift authentication and RBAC and a default instance for cluster configuration. You manage Argo CD instances through the ArgoCD custom resource.
43. How would you manage 30 clusters?
Use Red Hat Advanced Cluster Management for cluster lifecycle, placement and governance policies, and OpenShift GitOps for application and configuration delivery, often with ApplicationSets generated from ACM placements. Keep cluster configuration in Git so a new cluster converges to the baseline.
44. How do you plan updates across a fleet?
Choose a channel such as stable or EUS, update lower environments first, check Operator compatibility before each hop, and pause worker MachineConfigPools when you want to update the control plane and workers in separate windows. EUS-to-EUS updates can reduce worker reboots.
45. How do you run monitoring for applications?
Enable user workload monitoring in the cluster-monitoring-config ConfigMap, then teams create ServiceMonitor or PodMonitor objects in their namespaces. Platform metrics stay in the platform Prometheus, and alerts route through Alertmanager.
46. What is the current logging stack?
Red Hat OpenShift Logging 6 uses ClusterLogForwarder to collect and forward logs, with the Loki Operator and LokiStack for in-cluster storage and the Cluster Observability Operator for the console view. The older Elasticsearch and Fluentd stack is gone from current releases.
Scenario-based advanced OpenShift questions
47. A MachineConfig change has left a worker pool Degraded. What do you do?
Run oc get mcp and oc describe mcp worker to find the failing node, then read the Machine Config Daemon logs on it. Common causes are a pod blocking drain (a PodDisruptionBudget allowing zero disruptions) or invalid file content. Fix the cause or revert the MachineConfig; the pool converges once the node can apply a valid config.
48. After an update, the authentication Operator is Degraded. How do you approach it?
Read the Operator's conditions with oc describe co authentication. Typical causes are an identity provider that is unreachable, an expired or wrong CA for LDAP, or the OAuth route failing because ingress is unhealthy. Check ingress first, because authentication depends on it.
49. Pods in one namespace cannot reach an external database after migration to OVN-Kubernetes. Why?
The database firewall probably allowed node IPs or an old egress setup. Configure an EgressIP for the namespace and label assignable nodes, then update the firewall to allow that IP. Also check that no EgressFirewall in the namespace denies the destination.
50. A vendor's container fails with permission denied writing to its data directory. What is the safe fix?
Under restricted-v2 the container runs with a random UID in the root group. Fix the image so the directory is group-writable by GID 0, or mount a volume there. If the vendor requires a fixed UID, grant a narrow custom SCC to that service account only.
51. etcd latency alerts fire and the API is slow. What do you check?
Check disk latency on control plane nodes first, because etcd needs fast storage. Then look for large numbers of objects (for example thousands of events or secrets), heavy list calls from a misbehaving controller, and etcd database size and defragmentation status.
52. A team's Operator upgrade broke their database. How do you prevent a repeat?
Set the Subscription to Manual approval, test new versions in staging, and take backups or volume snapshots before approving. With OLM v1, pin a version range in the ClusterExtension so upgrades happen only when you change it.
53. The cluster autoscaler is not adding nodes even though pods are pending. Why?
Check that a MachineAutoscaler exists for the right MachineSet and is below its max, that the pending pods would actually fit on a new node of that type (large requests or node selectors may not match), and that the cloud account has quota. Autoscaler logs state why it skipped scaling.
54. A Route works internally but external users get certificate errors. What is wrong?
The Route probably uses edge or re-encrypt termination with the default ingress certificate, which covers the cluster wildcard domain but not the custom hostname. Add the correct certificate to the Route or replace the default ingress certificate, and check the full chain is included.
55. Two teams need strong isolation on one cluster. What options do you compare?
Namespaces with quotas, network policies and RBAC give soft isolation. Dedicated node pools with taints add compute isolation. User-defined networks in recent OVN-Kubernetes releases can separate network segments. If they need separate control planes, hosted control planes or separate clusters are cleaner.
56. How would you design disaster recovery for a production OpenShift platform?
Take regular etcd backups for control plane recovery, back up application data and resources with OADP, keep cluster configuration in Git so a new cluster can be rebuilt, and run applications active-passive or active-active across clusters using ACM and GitOps. Test restores on a schedule, because untested backups are the usual gap.
How to prepare
- Install a small cluster (or use the Developer Sandbox for app-level tasks) and break a MachineConfigPool on purpose, then recover it.
- Configure an EgressIP and an EgressFirewall and confirm with a curl from a pod.
- Write a custom SCC and grant it to one service account; check the pod annotation.
- Install an Operator with Manual approval and walk through the InstallPlan.
- Read the 5.0 release notes deprecated features table so you can answer "what changed".
Our OpenShift training in Pune (Kharadi classroom and live online) covers these labs. Strong Kubernetes fundamentals help too; see the 200+ DevOps interview questions guide for the general rounds.
FAQs
What is asked in an advanced OpenShift interview?
Operators and OLM, MachineConfig and node pools, OVN-Kubernetes egress and policy, SCC design, storage, builds and GitOps, multi-cluster management, updates and disaster recovery, plus troubleshooting scenarios.
Is DeploymentConfig still used?
It still works but is deprecated. Red Hat recommends Kubernetes Deployments, so expect to explain how to migrate.
Is OpenShift SDN still supported?
No. It was removed in OpenShift 4.17. OVN-Kubernetes is the only supported cluster network plugin.
What is the default SCC in new OpenShift clusters?
restricted-v2 for clusters installed on 4.11 or later. It drops all capabilities, runs as a non-root random UID and uses the RuntimeDefault seccomp profile.
What is OLM v1?
The newer Operator Lifecycle Manager API, generally available since 4.18, using ClusterExtension and ClusterCatalog resources instead of Subscriptions and CatalogSources.
Which OpenShift version should I study for 2027?
Learn 4.x behaviour because most clusters run it, and read the 5.0 release notes, since Red Hat made 5.0 generally available in November 2026.
How is this different from the OpenShift administration questions?
The administration guide covers day-2 operations such as users, quotas, backups and updates. This page goes deeper into architecture, networking design, security design and multi-cluster platforms.
References
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0