You must stand up a new Jenkins controller for a team in under an hour, identical to the existing ones. How?
IntermediateScenarioPlatform: plugins, JCasC & Kubernetes agents
Answer
Situation read → Needs image + JCasC + Job DSL + secrets.
What I'd do →
- Reuse the platform controller image (pinned core and plugins).
- Create a values/overlay file for the team: URL, SSO group mapping, folder names, credentials references.
helm upgrade --install jenkins-payments jenkins/jenkins -f base.yaml -f payments.yaml -n jenkins-payments.- Job DSL in JCasC creates the team's org folder; indexing creates all jobs.
- Verify with a smoke pipeline.
Why → Everything is parameterized code, so a controller is a deployment, not a project.
Interview tip → Mention the same mechanism doubles as disaster recovery.
More on Platform: plugins, JCasC & Kubernetes agents
You inherit a controller with 230 plugins, half unused, on a version two LTS lines behind. Plan the cleanup and upgrade.AdvancedAn admin changes a cloud setting in the UI, and it reverts after the next controller restart. Developers are confused. What is your policy?BeginnerBuilds wait 2–3 minutes before starting because new agent pods are slow to schedule. How do you speed up agent startup?AdvancedDevelopers need Docker image builds in Kubernetes agents, but the cluster runs containerd and security forbids privileged pods. What do you choose?AdvancedThe controller needs to provision agents in three Kubernetes clusters in different regions. How do you configure it?AdvancedYou want to roll out a new version of the `jnlp` inbound-agent image to all pod templates. How?Beginner