Skip to content
$ lynuxpro

INTERVIEW PREP

Interview questions

570 questions from real DevOps, SRE, platform engineering and MLOps interviews, with the answer an interviewer wants to hear. Try answering out loud first, then open the model answer.

Showing 91–105 of 224 questions

91.What are taints and tolerations?MidKubernetes

A taint on a node keeps Pods away unless they have a matching toleration. Use them to reserve nodes, for example GPU nodes or system nodes. Combine with node affinity to also attract the right Pods there.

92.Why did my upgrade drop settings from the last release?MidHelm

helm upgrade starts from chart defaults plus what you pass now; it does not remember previous values. Pass the same values files every time, or use --reuse-values / --reset-then-reuse-values for a quick fix.

93.How do you make deploys roll back automatically?MidHelm

helm upgrade --install ... --wait --rollback-on-failure --timeout 5m (Helm 4's name for --atomic). Helm waits for readiness and rolls back if it times out or fails.

94.Why must selector labels never change?MidHelm

A Deployment's selector is immutable. If labels in it change (for example adding the version), the upgrade fails with 'field is immutable'. Keep selectors to name and instance only.

95.What is the difference between chart version and app version?MidHelm

version in Chart.yaml is the chart's own version, bumped on any chart change (SemVer). appVersion is the version of the app it deploys, often used as the default image tag.

96.What are Helm hooks?MidHelm

Annotated resources that run at points in a release, like pre-install or pre-upgrade, often a Job for database migrations. Set a hook delete policy so old hook Jobs are cleaned up.

97.How do you manage chart dependencies?MidHelm

List them under dependencies in Chart.yaml with a version range and repository, run helm dependency update, and set their values under the dependency name in your values file. Use condition to switch a dependency on or off.

98.What does helm upgrade --install --atomic do?MidHelm

--install installs if the release doesn't exist yet. --atomic waits for resources to be ready and rolls back automatically if the upgrade fails, which is safer in CI.

99.What are _helpers.tpl and named templates for?MidHelm

They hold reusable snippets, defined with define and used with include, such as standard labels or the full name. This keeps templates consistent and avoids copy-paste.

100.Name the main parts of Argo CD.MidGitOps with Argo CD

The API server (UI, CLI, API), the repo server (reads Git and renders Helm or Kustomize), the application controller (compares and syncs), and Redis (cache). Dex optionally handles single sign-on.

101.How do you handle Helm in Argo CD?MidGitOps with Argo CD

Point the source at a chart repo or a chart folder in Git, pin the chart version, and give values through valueFiles or valuesObject. Argo CD renders the chart itself, so it does not create a Helm release.

102.What is an AppProject for?MidGitOps with Argo CD

It limits which repos, clusters, namespaces and object kinds apps in it may use. It stops one team from deploying into another team's area or into kube-system.

103.When do you use sync waves and hooks?MidGitOps with Argo CD

Waves put objects in order, such as database before app. Hooks run a Job at a point in the sync, such as a PreSync migration or a PostSync smoke test.

104.What is an ApplicationSet?MidGitOps with Argo CD

A template plus a generator. It creates one Application for each item the generator finds, such as every folder, cluster or pull request.

105.What is the app-of-apps pattern?MidGitOps with Argo CD

A root Application points to a folder of Application files. Syncing the root creates every child, so one apply can set up a whole cluster.