Search documentation
karat

+

K

Detached mode

Most of the time, your Apollo Hub decides what Product Releases to install or upgrade in an Environment, and the Environment's Agents pick up those Plans from the Hub. This only works when the Environment has a steady connection to the Hub.

Some Environments at the edge do not have that steady connection. For these, Plans can be prepared ahead of time and delivered to the Spoke Environment, which then works through them on its own without requiring a connection to the Hub. This is called detached mode, and the Plans the Environment runs this way are called detached Plans.

How detached mode works

While an Environment is detached:

  • The Environment runs its own Plans. The Hub does not send it any new ones.
  • If the Environment can reach the Hub at all, even over a slow or unreliable connection, it reports back its status, such as how many Plans are left, which Plans have finished, and the current versions and health of its Entities.
  • Changes you make in the Hub are saved, but they will not reach the Environment until it exits detached mode and reconnects.

When an Environment becomes detached, the Hub stops any of its own Plans that were in progress for that Environment. When the Environment reconnects, the Hub takes over again. You cannot reconnect an Environment from the Hub.

Check whether an Environment is detached

If an Environment has some connection to the Hub while running Plans in detached mode, then the Environment in Apollo will show a purple Detached Plans tag in its header.

The Detached Plans tag in the Environment header, with its popover open showing a Blocked state, five completed Plans, and 12 blocked Plans.

Hover over the tag to view how far along the Environment is (up to date as of the last time the Environment was able to connect to the Hub). The popover shows:

  • The current state of the Plans (running, blocked, or completed), and how many Plans are completed, remaining, or blocked.
  • When the Environment last reported to the Hub, and whether it will reconnect on its own once its Plans are completed.

You can also view this status next to the Plans list in the Environment's Activity tab.

The Blocked status tag next to the Plans list, with its popover open showing five completed Plans and 12 blocked Plans.

StateMeaning
RunningThe Environment is still working through its detached Plans. Some Plans are running, waiting to run, or waiting on something that will be resolved on its own.
BlockedNothing is running, and the Plans that are left will not start without manual intervention.
CompletedEvery Plan has finished. This does not mean every Plan succeeded, so check the Activity tab in the Hub for failures.

Once a detached Plan finishes, it appears in the Environment's Activity tab alongside the Plans issued by the Hub, marked with a Detached Plan subtitle.

The Plans list in the Activity tab, showing completed Plans with the Detached Plan subtitle.

What works differently in the Hub

Because the Environment is running its own Plans, some Hub actions are turned off until the Environment reconnects, and others will not have the effect you might expect:

  • Actions such as issuing Commands, canceling Plans, or checking Helm chart resources are disabled until the Environment reconnects.
  • Suppression windows, maintenance windows, and maintenance window overrides can still be created, and they apply in the Hub right away. However, detached Plans that the Environment has already committed to will not respect them.
  • Other changes, such as recalls, Release Channel updates, or Environment setting changes, are saved in the Hub but will not reach the Environment until it reconnects.