-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add concept for Package and Image Mode Hosts #3611
base: master
Are you sure you want to change the base?
Add concept for Package and Image Mode Hosts #3611
Conversation
@ianballou This is the concept for Package and Image Mode hosts. The procedure for https://issues.redhat.com/browse/SAT-28185 will be in another PR. |
The PR preview for b1901a6 is available at theforeman-foreman-documentation-preview-pr-3611.surge.sh The following output files are affected by this PR: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small comments only here!
guides/common/modules/con_understanding-package-mode-and-image-mode-hosts.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/con_understanding-package-mode-and-image-mode-hosts.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/con_understanding-package-mode-and-image-mode-hosts.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/con_understanding-package-mode-and-image-mode-hosts.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/con_understanding-package-mode-and-image-mode-hosts.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/con_understanding-package-mode-and-image-mode-hosts.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/con_understanding-package-mode-and-image-mode-hosts.adoc
Outdated
Show resolved
Hide resolved
f9ca843
to
ded44c2
Compare
guides/common/modules/con_understanding-package-mode-and-image-mode-hosts.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/con_understanding-package-mode-and-image-mode-hosts.adoc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The purpose of this concept module us unclear to me. It currently describes the user interface, which we don't do.
Try to think harder about what the user needs to learn before they get to manage image mode hosts:
- What is the "image mode"?
- Why is it relevant?
- What are the advantages of the image mode vs. the package mode?
- The keyword "bootc" should probably appear here.
Also, I'm not sure if this assembly is the right place. Should it go to a standalone chapter maybe? Have you considered that? Why yes? Why not?
Please, try again.
guides/common/modules/con_understanding-package-mode-and-image-mode-hosts.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/con_understanding-package-mode-and-image-mode-hosts.adoc
Outdated
Show resolved
Hide resolved
A new card appears on the Details tab for registered hosts, displaying the additional fields from `Bootc`. | ||
|
||
.Important Notes | ||
* *Pull-Mode Remote Execution*: For pull-mode remote execution users, related packages must be included in the image mode host's container image. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this should be a prerequisite in the procedure? (I'm not sure because it isn't clear to me why that's needed.)
ded44c2
to
b1901a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Brian, that's better!
|
||
The distinction between package mode and image mode provides greater flexibility in managing hosts and streamlines operations for image-based deployments. | ||
|
||
{Project} enables registration, monitoring, and update support for image mode hosts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{Project} enables registration, monitoring, and update support for image mode hosts. | |
In {Project}, you can register, monitor, and update image mode hosts. |
{Project} identifies an image mode host as any system that reports a container image from its bootc status through `subscription-manager`. | ||
It classifies all other hosts as package mode hosts. | ||
|
||
Image mode simplifies enterprise operations by enabling development, operations, and solution providers to use the same container-native tools and techniques to manage both applications and the underlying OS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Image mode simplifies enterprise operations by enabling development, operations, and solution providers to use the same container-native tools and techniques to manage both applications and the underlying OS. | |
Image mode simplifies enterprise operations by enabling development, operations, and solution providers to use the same container-native tools and techniques to manage both applications and the underlying operating system. |
I'm surprised that Vale hasn't reported this. 🤔
@@ -0,0 +1,25 @@ | |||
[id="package-mode-and-image-mode-hosts_{context}"] | |||
= Package mode and image mode hosts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
= Package mode and image mode hosts | |
= Image mode hosts |
I'd simplify it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about this...
[id="package-mode-and-image-mode-hosts_{context}"] | ||
= Package mode and image mode hosts | ||
|
||
You can operate hosts in two modes: package mode and image mode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can operate hosts in two modes: package mode and image mode. | |
You can operate hosts in two modes: package mode and image mode. |
I'd drop this sentence because this can be inferred from the overall context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about this.
{Project} identifies an image mode host as any system that reports a container image from its bootc status through `subscription-manager`. | ||
It classifies all other hosts as package mode hosts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would lead with this - move it to the top.
|
||
Image mode simplifies enterprise operations by enabling development, operations, and solution providers to use the same container-native tools and techniques to manage both applications and the underlying OS. | ||
|
||
The distinction between package mode and image mode provides greater flexibility in managing hosts and streamlines operations for image-based deployments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 11 doesn't seem useful to me. Looks like fluff.
|
||
{Project} enables registration, monitoring, and update support for image mode hosts. | ||
Register image mode hosts like any other host, view their `bootc` statuses in a centralized location, and trigger updates remotely using remote execution. | ||
For more information on image mode concepts, refer to the https://www.redhat.com/en/blog/image-mode-red-hat-enterprise-linux-quick-start-guide[RHEL Image Mode quick start guide]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move to "Additional resources" at the bottom.
.Image mode hosts | ||
Image mode hosts include additional fields that reflect their boot status. | ||
These fields track the container images used in various scenarios: | ||
|
||
* *Booted Image & Digest*: Indicates the container image the host is currently using. | ||
* *Staged Image & Digest*: Indicates the container image the host uses after the next reboot. | ||
* *Available Image & Digest*: Represents the container image cached by running `bootc upgrade --check`. | ||
* *Rollback Image & Digest*: Represents the container image the host reverts to after the next reboot if `Bootc rollback` is applied. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't these things described in the web UI?
@@ -55,6 +55,8 @@ include::common/assembly_host-status.adoc[leveloffset=+1] | |||
|
|||
include::common/assembly_managing-packages.adoc[leveloffset=+1] | |||
|
|||
include::common/assembly_package-mode-and-image-mode-hosts.adoc[leveloffset=+1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's quite important and I'd include it in common/assembly_overview-of-hosts.adoc
|
||
You can operate hosts in two modes: package mode and image mode. | ||
|
||
{Project} identifies an image mode host as any system that reports a container image from its bootc status through `subscription-manager`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{Project} identifies an image mode host as any system that reports a container image from its bootc status through `subscription-manager`. | |
{Project} identifies an image mode host as any system that reports a container image from its bootc status through Subscription Manager. |
SM is an established term.
I'm still missing one more bit of information: What can the user do on hosts in Package mode that they cannot do on hosts in Image mode? My guess: manage packages (as described in the chapter Managing packages) |
Did you know you could display a column in the New UI of All Hosts page with a mode indicator? |
What changes are you introducing?
Adding a concept for understanding package
mode and image mode hosts.
Why are you introducing these changes? (Explanation, links to references, issues, etc.)
This is in reference to https://issues.redhat.com/browse/SAT-28164.
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
Checklists
Please cherry-pick my commits into: