skip to content

Fleet Configuration Delivery

Configuration reaches a fleet either by a controller pushing to hosts or by agents on those hosts pulling it. That choice sets what must run on each host and how a bad change spreads.

on this pageshow

questions

5

When delivering configuration to a fleet of hosts, what do push and pull mean, and what does agentless delivery require of a host?

level: juniorimportance: must knowfreq 62%

answer

  1. who starts the run
  2. which way the connection goes
  3. controller with a list, agent on an interval
  4. agentless still needs port, credential, privilege

basics

~20 s

Push means a controller connects out to hosts and applies configuration when someone or a schedule starts it. Pull means an agent on each host fetches it on an interval. Agentless push needs a reachable remote-login port and a credential.

solid answer

~40 s

Both describe how one desired configuration reaches many hosts. With **push**, a controller holds the host list, connects to each host, usually over SSH or WinRM, and applies the change; an operator, a pipeline or a schedule starts the run. With **pull**, an agent installed on each host wakes on an interval, asks a configuration server what the host should look like and applies that locally, so the host starts the run. Agentless delivery is the usual shape of push: nothing permanent is installed, but each host must accept an inbound connection, trust a credential the controller holds and grant enough privilege to make changes. Those are usual shapes rather than laws: an agent can be told to run now, and a push can run on a schedule.

go deeper

for a junior

Recall who starts a run in each model and which way the connection goes. Then list what agentless still asks of a host: a reachable port, a trusted credential and enough privilege.

for a middle

Explain what each model needs on the host and on the network, and why a host behind a firewall that refuses inbound connections points towards an agent. Mention what happens to a host that was off.

for a senior

Show you treat these as usual shapes. Agents can be signalled to run now and pushes can be scheduled, so tie your choice to reachability, uptime and who holds which credential rather than to a preference.

for a principal

Frame push and pull as a choice about where power and operational burden sit: a central credential that logs in everywhere, or software to maintain on every host, and how that choice differs across host types.

## The problem both models solve **Configuration management**, seen as a delivery problem, asks how one **desired configuration** (the packages, files, users, services and system settings a host should have) reaches many hosts that differ in uptime and reachability. Push and pull do not change what that configuration says. They decide three things: who starts a run, which way the network connection goes, and what must be installed on each host. A **run** is one attempt to bring a host, or a set of hosts, into line with the desired configuration. ## Push: a controller reaches out In **push** delivery, a central machine called the **controller** holds the host list, the desired configuration and a credential that lets it log in. An operator, a pipeline job or a schedule starts a run, and then the controller: 1. Opens a connection to each host, commonly SSH on Linux or WinRM on Windows. 2. Carries out the required steps on that host, or copies over what it needs and runs it there. 3. Collects a result per host and reports back to whoever started the run. Between runs, nothing happens. If nobody starts a run and no schedule exists, the fleet never hears about the change. ## Pull: each host asks In **pull** delivery, an **agent** (a background service installed on each host) wakes on an **interval**, for example every 20 minutes. It asks a **configuration server** what this host should look like, applies the answer locally and reports the result. The host starts its own run, and the server waits to be asked. Some setups drop the central server and have the agent read from a shared repository or file store instead, but the direction stays the same: the host reaches out. Because the host opens the connection, it needs an outbound route to the server and no inbound port for configuration delivery. ## Side by side | Question | Push, usual shape | Pull, usual shape | |---|---|---| | Who starts a run | Operator, pipeline or schedule on the controller | Agent on each host, on its interval | | Connection direction | Controller to host, inbound on the host | Host to server, outbound from the host | | Configuration served from | The controller's copy | A configuration server or shared store | | Installed on the host | Nothing permanent | An agent that must be kept upgraded | | Credential | Controller holds a login for every host | Each host holds its own identity, commonly a certificate | | Host off during a change | Missed until a later run reaches it | Takes the current configuration when it returns and its agent next runs | ## What agentless requires of a host **Agentless** means no permanent software from the configuration tool runs on the host between runs. It does not mean the host provides nothing. Each host must still offer: - **A reachable inbound port.** A network path and a firewall opening from the controller, usually for SSH or WinRM. - **An account and a trusted credential.** Usually a key or certificate. The controller's copy matters, because a credential that logs in everywhere is one very valuable secret. - **Enough privilege.** Installing packages and editing system files need root or equivalent rights. - **Whatever the remote steps rely on.** At minimum a shell, and in some approaches an interpreter on the host. - **Being switched on.** A host that is off during a run cannot be reached, so it keeps its old configuration until a later run gets to it. A pull agent has a different list: installed software someone must keep upgraded, an identity for the host such as a certificate, and an outbound route. ## Usual shapes, not laws The table describes how each model normally looks, and real setups blur it: - **An agent can be told to run now.** Many agent setups let an operator signal hosts to run immediately, often over a connection the agent opened itself, so pull does not have to wait for the interval. - **A push can run on a schedule.** A cron job on the controller gives regular runs without installing anything on the hosts. - **Agentless and push are not synonyms.** Agentless describes what runs on the host; push describes who starts the run. They usually coincide, but a host can also pull with a cron job that fetches configuration and applies it locally. The tool is then installed on the host even though no daemon runs. - **Neither is automatically safer or faster.** A bad change can reach hosts under both, and which model fits depends on the hosts in question. ## How to say it in an interview Name who starts the run and which way the connection goes, then say what the host must provide. That framing answers most follow-ups: a host behind a firewall that refuses inbound connections suits pull, a device that cannot run extra software suits push, and a laptop that is rarely on suits a model that can catch it when it appears, usually an agent.

  • Does pull delivery of host configuration mean a host cannot be updated immediately?
    No. The interval is the usual way an agent is woken, not a limit. Many agent setups let an operator signal hosts to run now, often over a connection the agent opened itself. What a signal cannot do is reach a host that is switched off or has no route, so those hosts still catch up on their own next run.
  • Is agentless delivery the same thing as push delivery?
    Not quite. Agentless describes what runs on the host and push describes who starts the run. They usually coincide, because a controller logging in needs nothing installed. But an agent can receive pushed commands, and a host can pull using a cron job that fetches configuration and applies it locally, with the tool installed and no daemon running.
  • Why does pull often suit hosts in a network that refuses inbound connections?
    The host opens the connection, so it needs only an outbound route to the configuration server, and no firewall has to admit anything to it. A push from outside that network would be refused. A controller placed inside the network is the other answer, though that is one more machine to run and secure.

A courier delivering notices door to door is push: the courier needs every address and a way in, and a resident who is away misses the notice until the courier comes again. A notice board that residents check on their daily walk is pull: nobody needs their address, and someone back from holiday reads what is on the board now, not every notice taken down while they were gone.

  • Agentless means a host needs to provide nothing at all for configuration delivery.
  • Choosing push or pull changes what the desired configuration says, not only how it travels.
  • An agent on an interval can never apply a change any sooner than its next scheduled wake-up.
  • In pull delivery, the configuration server connects into each host to hand over its configuration.
  • A pushed run reaches every host on its list, including hosts that are switched off.
open as a page

How do you choose between a configuration agent and agentless SSH delivery for a host group, including hosts often off when changes ship?

level: middleimportance: should knowfreq 50%

basics

~20 s

Choose from what the group can do. Agents suit hosts with only outbound reach or irregular uptime; agentless suits always-on hosts that accept inbound logins or cannot run an agent. A host that was off needs a later run either way.

open as a page

Why do configuration agents on a 4,000-host fleet pulling from one configuration server every 20 minutes need random splay, and what does it cost?

level: middleimportance: should knowfreq 36%

basics

~20 s

Agents sharing a schedule hit the configuration server together, so requests queue and time out. A random delay spreads them across a window, which lowers the peak. The cost is a longer worst-case wait before every host has a new revision.

open as a page

When a bad configuration change starts failing hosts in a 4,000-host fleet, how does it spread under controller push versus agent pull, how is each stopped, and how do you establish which host is where?

level: seniorimportance: should knowfreq 38%

basics

~20 s

Push spreads at the controller's pace and stops when its run stops. Pull spreads on the agents' schedule and stops when the server serves something else. Neither undoes changed hosts, so a per-host record of revision and result establishes state.

open as a page

What host configuration delivery model do you standardise on for 4,000 long-lived Linux hosts in two data centres and a cloud account, plus network devices and often-offline laptops, and where do you allow exceptions?

level: principalimportance: should knowfreq 26%

basics

~20 s

No single mechanism fits: network devices usually need a controller and laptops something on the device. Decide the Linux hosts from reachability and team capacity, and standardise one configuration source, revision identifier, per-host report and stop procedure.

open as a page