1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/installation-gcp-marketplace.adoc
2025-10-28 14:54:43 -04:00

51 lines
1.8 KiB
Plaintext

// Module included in the following assemblies:
//
// * installing/installing_gcp/installing-gcp-customizations.adoc
:_mod-docs-content-type: PROCEDURE
[id="installation-gcp-marketplace_{context}"]
= Using the {gcp-short} Marketplace offering
Using the {gcp-short} Marketplace offering lets you deploy an {product-title} cluster, which is billed on pay-per-use basis (hourly, per core) through {gcp-short}, while still being supported directly by Red{nbsp}Hat.
By default, the installation program downloads and installs the {op-system-first} image that is used to deploy compute machines. To deploy an {product-title} cluster using an {op-system} image from the {gcp-short} Marketplace, override the default behavior by modifying the `install-config.yaml` file to reference the location of {gcp-short} Marketplace offer.
:platform-abbreviation: a {gcp-short}
:platform-abbreviation-short: {gcp-short}
[NOTE]
====
include::snippets/installation-marketplace-note.adoc[]
====
.Prerequisites
* You have an existing `install-config.yaml` file.
.Procedure
. Edit the `compute.platform.gcp.osImage` parameters to specify the location of the {gcp-short} Marketplace image:
** Set the `project` parameter to `redhat-marketplace-public`
** Set the `name` parameter to one of the following offers:
+
{product-title}:: `redhat-coreos-ocp-413-x86-64-202305021736`
{opp}:: `redhat-coreos-opp-413-x86-64-202305021736`
{oke}:: `redhat-coreos-oke-413-x86-64-202305021736`
. Save the file and reference it when deploying the cluster.
.Sample `install-config.yaml` file that specifies a {gcp-short} Marketplace image for compute machines
[source,yaml]
----
apiVersion: v1
baseDomain: example.com
controlPlane:
# ...
compute:
platform:
gcp:
osImage:
project: redhat-marketplace-public
name: redhat-coreos-ocp-413-x86-64-202305021736
# ...
----