Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelsoccupied committed May 16, 2024
1 parent 084de6f commit 0814dd6
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions docs/image-based-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,8 @@ The Lifecycle Agent provides orchestration of an IBU on the target SNO via the `
- Prep
- This stage can only be set when the IBU is idle.
- During this stage,
LCA does as much preparation as possible for the upgrade without impacting the current running version.
This includes downloading the seed image,
unpacking it as a new ostree stateroot and pulling all images specified by the image list built into the seed image.
If for whatever reason prep stage is interrupted (e.g pod restarts or system reboot),
the stage will be marked as fail, and the only way to recover is to move back `Idle` stage
(see above).
But before moving to Idle,
please consider using [must-gather](must-gather.md) to allow for easier debugging later.
LCA does as much preparation as possible for the upgrade without impacting the current running version. This includes downloading the seed image, unpacking it as a new ostree stateroot and pulling all images specified by the image list built into the seed image. If for whatever reason prep stage
is interrupted (e.g pod restarts or system reboot), the stage will be marked as fail, and the only way to recover is to move back `Idle` stage (see above). But before moving to Idle, please consider using [must-gather](must-gather.md) to allow for easier debugging later.

- Upgrade
- This stage can only be set if the prep stage completed successfully.
Expand Down Expand Up @@ -314,9 +308,9 @@ The "Prep" stage will:
- Unpack the seed image and perform various validations such as assert that the desired upgrade version matches the version of the seed image
- Create a new ostree stateroot
> ⚠️ Caution
> At this point of `Prep` stage (Step 2), it is VERY important to let it run to completion.
> To help avoid unintended consequences of accidental deletion (e.g moving to `Idle` stage while `Prep` in progress), there are blocks in place to allow it to run its normal course before continuing with the deletion request.
> During this wait (could be up to several minutes), please refer to the pod logs for more information.
>
> At this point of `Prep` stage (Step 2), it is VERY important to let it run to completion. To help avoid unintended consequences of accidental deletion (e.g moving to `Idle` stage while `Prep` in progress), there are blocks in place to allow it to run its normal course before continuing with
the deletion request. During this wait (could be up to several minutes), please refer to the pod logs for more information.
3. Pull all images specified by the image list built into the seed image to streamline the
upgrade process. This step is also referred to as `Precache`.

Expand Down

0 comments on commit 0814dd6

Please sign in to comment.