Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Crow committed Dec 11, 2024
1 parent 9c1bc6f commit 17074d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion content/modules/ROOT/pages/pxe-osv-01.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Take a look at our current manifest by using the cat utility:

[source,sh,role=execute]
----
cat $HOME/px-spec.yaml
cat -n $HOME/px-spec.yaml
----

* Line 9 tells Portworx that we are installing on an Openshift cluster
Expand Down
8 changes: 4 additions & 4 deletions content/modules/ROOT/pages/pxe-osv-05.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
annotations:
cdi.kubevirt.io/storage.usePopulator: "false"
labels:
app: autopilot
expand: true
spec:
preallocation: false
source:
Expand Down Expand Up @@ -97,7 +97,7 @@ spec:
##### selector filters the objects affected by this rule given labels
selector:
matchLabels:
app: autopilot
expand: true
##### conditions are the symptoms to evaluate. All conditions are AND'ed
conditions:
# volume usage should be less than 30%
Expand Down Expand Up @@ -127,13 +127,13 @@ The rule will:

=== Task 3: Label our Virtual Machine PVC

Autopilot will expand PVCs that have the `app: autopilot` label applied.
Autopilot will expand PVCs that have the `expand=true` label applied.
We will apply that label to our virtual machine's PVC.

[source,sh,role=execute]
----
oc label pvc centos-stream9-autopilot-data-disk \
app=autopilot --overwrite
expand=true --overwrite
----

[source,sh,role=execute]
Expand Down

0 comments on commit 17074d3

Please sign in to comment.