Skip to content

Commit bd67f4c

Browse files
authored
Merge pull request #52617 from mjpytlak/osdocs-4506
OSDOCS-4506: Updated GCP marketplace doc with missing offers
2 parents 6c14958 + 0e98907 commit bd67f4c

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

_attributes/common-attributes.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ endif::[]
9595
:odo-title: odo
9696
//alibaba cloud
9797
:alibaba: Alibaba Cloud
98+
//OpenShift Kubernetes Engine
99+
:oke: OpenShift Kubernetes Engine
100+
//OpenShift Platform Plus
101+
:opp: OpenShift Platform Plus
98102
//openshift virtualization (cnv)
99103
:VirtProductName: OpenShift Virtualization
100104
:VirtVersion: 4.11

modules/installation-creating-gcp-worker.adoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ EOF
111111
<2> `infra_id` is the `INFRA_ID` infrastructure name from the extraction step.
112112
<3> `zone` is the zone to deploy the worker machine into, for example `us-central1-a`.
113113
<4> `compute_subnet` is the `selfLink` URL to the compute subnet.
114-
<5> `image` is the `selfLink` URL to the {op-system} image. To deploy using a GCP Marketplace image, specify `image: \https://www.googleapis.com/compute/v1/projects/redhat-marketplace-public/global/images/redhat-coreos-ocp-48-x86-64-202210040145`.
114+
<5> `image` is the `selfLink` URL to the {op-system} image. ^1^
115115
<6> `machine_type` is the machine type of the instance, for example `n1-standard-4`.
116116
<7> `service_account_email` is the email address for the worker service account that you created.
117117
<8> `ignition` is the contents of the `worker.ign` file.
@@ -127,6 +127,14 @@ file.
127127
$ gcloud deployment-manager deployments create ${INFRA_ID}-worker --config 06_worker.yaml
128128
----
129129

130+
[.small]
131+
--
132+
1. To use a GCP Marketplace image, specify the offer to use:
133+
** {product-title}: `\https://www.googleapis.com/compute/v1/projects/redhat-marketplace-public/global/images/redhat-coreos-ocp-48-x86-64-202210040145`
134+
** {opp}: `\https://www.googleapis.com/compute/v1/projects/redhat-marketplace-public/global/images/redhat-coreos-opp-48-x86-64-202206140145`
135+
** {oke}: `\https://www.googleapis.com/compute/v1/projects/redhat-marketplace-public/global/images/redhat-coreos-oke-48-x86-64-202206140145`
136+
--
137+
130138
ifeval::["{context}" == "installing-gcp-user-infra-vpc"]
131139
:!shared-vpc:
132140
endif::[]

modules/installation-gcp-marketplace.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ $ openshift-install create manifests --dir <installation_dir>
2626
** `<installation_dir>/openshift/99_openshift-cluster-api_worker-machineset-1.yaml`
2727
** `<installation_dir>/openshift/99_openshift-cluster-api_worker-machineset-2.yaml`
2828

29-
. In each file, edit the `.spec.template.spec.providerSpec.value.disks[0].image` property to `projects/redhat-marketplace-public/global/images/redhat-coreos-ocp-48-x86-64-202210040145`.
29+
. In each file, edit the `.spec.template.spec.providerSpec.value.disks[0].image` property to reference the offer to use:
30+
+
31+
{product-title}:: `projects/redhat-marketplace-public/global/images/redhat-coreos-ocp-48-x86-64-202210040145`
32+
{opp}:: `projects/redhat-marketplace-public/global/images/redhat-coreos-opp-48-x86-64-202206140145`
33+
{oke}:: `projects/redhat-marketplace-public/global/images/redhat-coreos-oke-48-x86-64-202206140145`
3034

3135
.Example compute machine set with the GCP Marketplace image
3236
[source,yaml]

0 commit comments

Comments
 (0)