1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

Update installing-aws-load-balancer-operator-cli.adoc

Verification

1. Get the name of the install plan from the subscription:

$ oc -n aws-load-balancer-operator \
    get subscription aws-load-balancer-operator \
    --template='{{.status.installplan.name}}{{"\n"}}'
2. Check the status of the install plan:

$ oc -n aws-load-balancer-operator \
    get ip <install_plan_name> \
    --template='{{.status.phase}}{{"\n"}}'
The above commands are not structured properly.
We can use the above command as well, and it will execute perfectly.
But it's structure is not as per our standard procedure.
Hence it needs to be changed.
Here is the updated look:

Verification

1. Get the name of the install plan from the subscription:

$ oc -n aws-load-balancer-operator \
  get subscription aws-load-balancer-operator \
  --template='{{.status.installplan.name}}{{"\n"}}'
2. Check the status of the install plan:

$ oc -n aws-load-balancer-operator \
  get ip <install_plan_name> \
  --template='{{.status.phase}}{{"\n"}}'
This commit is contained in:
Prithviraj Patil
2025-07-09 00:18:58 +05:30
committed by openshift-cherrypick-robot
parent 8965c5ccbd
commit 4db22dcddf

View File

@@ -95,8 +95,8 @@ $ oc apply -f subscription.yaml
[source,terminal]
----
$ oc -n aws-load-balancer-operator \
get subscription aws-load-balancer-operator \
--template='{{.status.installplan.name}}{{"\n"}}'
get subscription aws-load-balancer-operator \
--template='{{.status.installplan.name}}{{"\n"}}'
----
. Check the status of the install plan:
@@ -104,8 +104,8 @@ $ oc -n aws-load-balancer-operator \
[source,terminal]
----
$ oc -n aws-load-balancer-operator \
get ip <install_plan_name> \
--template='{{.status.phase}}{{"\n"}}'
get ip <install_plan_name> \
--template='{{.status.phase}}{{"\n"}}'
----
+
The output must be `Complete`.