Movatterモバイル変換


[0]ホーム

URL:


ContentsMenuExpandLight modeDark modeAuto light/dark, in light modeAuto light/dark, in dark modeSkip to content
Juju documentation
Juju documentation
Back to top

Agent

In Juju, anagent is ajujud /containeragent process that works to realise the state declared by a Juju end-user with a Juju client (e.g.,the juju CLI) for a Juju entity (e.g.,controller,model,machine,unit) viaworkers.

On machines, an agent is managed bysystemd.

Types of agents

Controller agent

On machine and Kubernetes clouds, ajujud process running workers responsible for acontroller. This includes, among others, theapiserver worker, which is responsible for running the Juju API server.

Machine agent

On machine clouds, ajujud process running workers responsible for amachine.

Model agent

On machine and Kubernetes clouds, ajujud process running workers responsible for all themodels associated with a given controller.

Unit agent

On machine / Kubernetes clouds, ajujud /containeragent process responsible for aunit.

When a Juju user uses the client (e.g., types a command in the CLI), this goes to the controller agent’sapiserver, which passes it on to the database. The database runs a background process that checks if anything has changed and, if so, emits an event (think “I’ve seen something that’s changed. Do you care about it?”). The event cascades through Juju. The unit agent becomes aware of it by always polling the controller agent as part of a reconciliation loop trying to reconcile the unit agent’s local state to the remote state on the controller (i.e., the state in the controller’s database).

Contents

[8]ページ先頭

©2009-2026 Movatter.jp