1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00

4 Commits

Author SHA1 Message Date
Jeremiah Stuever
019262a6a9 GCP UPI: relax cluster name
This mirrors changes to GCP IPI in #3544

The infra id of the clusters on GCP was reduced to 12 in #2088 because
we couldn't handle the hostname seen by rhcos machine to be greater than
64.
More details on this are available in
https://bugzilla.redhat.com/show_bug.cgi?id=1809345

now since BZ 1809345 is fixed by openshift/machine-config-operator#1711
and openshift/cluster-api-provider-gcp#88 the installer can relax the
restriction on the infra-id to match the other platforms.

Why is it important?

On GCP all resources are prefixed with infra-id, which currently is 12
chars with 6 chars used by random bit, leaving only 6 chars from cluster
name. This causes trouble associating the cluster to jobs in CI as most
of the identifyable characters are dropped from the resource names in CI
due to this restriction.

Also because of the previous restriction, only one char are used from
pool's name, making is higly likely to collide in cases there are more.
2020-06-03 16:11:00 -07:00
Jeremiah Stuever
d51bf3c24f upi/gcp: control plane to use pd-ssd
This change updates the gcp upi templates to use pd-ssd disk types on
the control plane instances just like we do in gcp ipi.
2019-10-02 11:27:03 -07:00
Jeremiah Stuever
c3b97f931b upi/gcp: templates to use zone paramaters
Before this change, the GCP UPI workflow hard coded the zones in the
bootstrap and control-plane templates. It assumed every region had zones
$REGION-{a,b,c}. However, in some regions this is not the case.

This change adds the zone(s) as parameters to the templates and updates
the docs accordingly. The list of zones is now fetched from gcp, and
then used to populate the templates.
2019-09-24 16:44:45 -07:00
Jeremiah Stuever
cbe6f1549d upi/gcp: initial deployment manager templates 2019-08-08 15:00:43 -07:00