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

61 Commits

Author SHA1 Message Date
qiowang721
5d0f45f9a4 CORS-3680: update docs to include C4/C4A machine types 2024-11-10 22:50:09 -05:00
qiowang721
9c6be9e5c1 Add GCP N4 Machine Series to tested instances for OCP 2024-09-17 23:12:22 -04:00
Brent Barbachem
905b5731ea OCPBUGS-35366: Update upi references to api-internal
** Updated the UPI references in docs and scripts to use api-internal to the name to match those of the
capg and terraform resources.
2024-07-16 06:47:22 -04:00
openshift-merge-bot[bot]
7536c78392 Merge pull request #8198 from shiftstack/gcp_docs
OCPBUGS-31275: gcp: Validate install-config examples
2024-06-20 18:27:48 +00:00
Jianli Wei
a602ef6d39 add machine series 'A3' and 'C3D' to 'Tested instance types for GCP' 2024-05-30 20:01:38 +08:00
Pierre Prinetti
dd44022ab7 gcp: Validate install-config examples
Fix examples that didn't conform to the install-config specs.
2024-03-21 17:04:07 +01:00
Jianli Wei
90049c59eb as 'A2' as tested machine types on GCP 2024-03-13 17:16:15 +08:00
OpenShift Merge Robot
32302a8cb4 Merge pull request #7381 from jianli-wei/gcp-machine-types
OSDOCS-6999: tested machine series 'C3', 'C2D'
2023-09-07 07:17:28 +02:00
Kelly Brown
8c664ee394 Adding 64-bit ARM GCP instance types to documentation 2023-08-03 10:41:47 -04:00
jiwei
38c66073d9 OSDOCS-6999 add machine series 'C3', 'C2D' and 'Tau T2A' to 'Tested instance types for GCP' 2023-08-02 09:34:40 +08:00
Rafael Fonseca
bb0df49c82 docs: gcp: upi: update obtaining RHCOS source image
* Updated the link to the rhcos.json to point to the new location in the
  Installer repo (data/data/coreos/rhcos.json)
* Updated the json path to include the architecture and the images
  content.
* Changed the instruction to use the existing boot image in the
  rhcos-cloud project instead of copying it as a new image.
2023-04-06 17:36:51 +02:00
rna-afk
c418c4863a upi: Document removal of CPMS for UPI installation
Documenting the extra step of removing the control plane
machine set files created for Azure and GCP which need to be
removed for UPI installation.
2022-12-21 10:19:39 -05:00
jiwei
c440fe3b67 Use Google official machine series names 2022-09-02 16:09:53 +08:00
Dan Winship
68f22f89ed Print the "export KUBECONFIG=..." command on its own line for easier cut-and-paste 2022-06-16 10:54:28 -04:00
Cody Hoag
e7ccede4ab Tested instance type lists for AWS/Azure/GCP 2022-01-31 14:41:58 -05:00
OpenShift Merge Robot
dd432a87fb Merge pull request #4828 from rna-afk/gcp_upi_shorten_instance_group_suffix
Bug 1921627: Shorten instance group suffix to ig
2021-12-14 19:56:57 +01:00
Mikel Olasagasti Uranga
c0ff5a9434 Update URL from cloud.redhat.com to console.redhat.com
The console applications currently in cloud.redhat.com have been moved to
to a new URL at console.redhat.com.

https://cloud.redhat.com/blog/check-out-our-new-look

Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2021-12-01 23:09:56 +01:00
Vladimir Belousov
51a40345a7 docs: correct spelling in docs
Correct spelling to improve the readability of the documentation
2021-11-01 09:54:42 +03:00
Jeremiah Stuever
056450b2f2 gcp upi: clarify ROUTER_IP needs to be set 2021-08-23 10:54:27 -07:00
OpenShift Merge Robot
0e70ca7af7 Merge pull request #4849 from shellyyang1989/gcp-remove-etcd-records
doc/gcp: remove no-longer-needed etcd records
2021-06-24 15:43:30 -04:00
Juan Hernandez
6f714a1f9a docs/user/aws/install: Update cloud install links
This patch updates the "cloud-install" links in the documentation to
point to the current location.

Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
2021-05-14 12:24:41 +02:00
Yang Yang
0db922921e [upi-on-gcp]: remove no-longer-needed etcd records 2021-04-14 16:45:43 +08:00
rna-afk
2313481d99 gcp_upi: Shorten instance group suffix to ig
GCP has a size restriction of 63 for the instance group name which
is mostly taken up by the suffix -instance-group that is being added
to make sure the resources have unique name. Reducing the size
of the suffix from -instance-group to -ig would help in restricting
the size of the name and would also help in keeping the names
unique.
2021-04-07 19:49:19 -04:00
staebler
5898ebf55f gcp: divide machine CIDR into 2 networks for subnets
Instead of dividing the IPv4 machine CIDR into 8 networks and
only using 2 of those 8, divide into only 2 networks.

https://issues.redhat.com/browse/CORS-1660
2021-03-12 18:50:08 -05:00
Joel Speed
8dfa2429b6 Update GCP Customization doc to reflect CMEK additions 2020-12-10 15:53:40 +00:00
W. Trevor King
19c91a21d7 docs/user/gcp/install_upi: Drop unused 'region' from compute
The consuming script has not been changed since it landed in
cbe6f1549d (upi/gcp: initial deployment manager templates,
2019-07-29, #2117).

The associated Markdown landed with a 'region' in the docs and YAML in
cbe6f1549d.  It was removed from the YAML in 998a518a17 (gcp upi:
split templates to simplify shared vpc workflow, 2019-10-25, #2574),
but not the surrounding Markdown (until this commit).
2020-07-06 14:51:15 -07:00
OpenShift Merge Robot
12320ec653 Merge pull request #3713 from jstuever/gcp_relax_clustername
GCP UPI: relax cluster name
2020-06-12 22:14:35 -04:00
OpenShift Merge Robot
64f1a13dbe Merge pull request #3430 from amorenoz/wip/gcp_nested
Add nested support for GCP
2020-06-04 07:21:33 +02:00
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
Aditya Narayanaswamy
206fdc77c1 GCP: Set validations for GCP disk sizes.
Current disk size restrictions for GCP is set to be above 0.
The current size of the image is 16GB and hence the disk sizes
must at least be 16GB. Also, the maximum disk size limit on GCP
is 65536GB so users must not be allowed to create disks above that
limit. Added the validations to the install config input for GCP.
2020-05-26 13:29:46 -04:00
Aditya Narayanaswamy
d90c19151f GCP: Enable disk type and size customization
Currently, the installer does not allow the users to customize the
type and size of the disks for the workers and control plane.
Added the option for the user to specify the type and the size of
the disks for both machines in GCP.

The user can specify two types of disks, pd-standard and pd-ssd disks
which are the options that GCP/Terraform provides. pd-standard is not
recommended for control planes and will not be allowed as a value in
the DefaultMachinePlatform and the master compute section.
2020-05-18 16:28:59 -04:00
Adrian Moreno
7827bab98c GCP: add support for image licenses
Add an optional parameter in the GCP install-config that
contains a list of license URLs to be added to the compute image

Credits:
Based on the work by Colin Walters

Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
2020-04-24 10:26:06 +02:00
patrickdillon
79bd68d3bc docs/user/aws: update docs to include BYO subnets example
Provide brief explanation of BYO VPC subnets and give example install-config.
2020-04-13 15:33:24 -04:00
Jeremiah Stuever
e2164175c9 gcp upi: document how to tag the masters and workers
This change documents how to add custom tags to the bootstrap, master,
and worker nodes at install time. This will enable users with custom
firewall rules to use previously known tags to enable communications to
their cluster.
2020-03-30 13:23:48 -07:00
Jeremiah Stuever
f512a3c77d GCP UPI: document how to install into a Shared VPC
This change adds direction in the GCP UPI install document about how to
install a cluster using a Shared VPC. Because the VPC, networks,
subnets, and dns zones are in a different project (the host project),
the installer has problems finding them while creating the Ignition
files. Furthermore, some changes are required to the cloud-provider in
order for the cluster to properly provision resources in the subnets. In
addition, it is assumed the service account in the service project will
likely not have sufficient permissions in the host project to perform
all of the required tasks.
2020-03-30 11:19:21 -07:00
Jeremiah Stuever
f158e6e181 gcp upi: add bootstrap to instance group
Previously, the bootstrap host was being added to the first master
instance group. This causes an issue if the gcp cloud provider attempts
to create internal load balancers for the cluster because it ignores the
first master's instance groupd and tries to put it into a new instance
group. If there are workers that are in a different subnet, then the
cloud provider throws an error and never creates the ingress lbs.

This change creates an instance group for the bootstrap host, and
updates the doc to utilize it. It also removes the steps of adding and
removing the bootstrap host from the external target pools, as that is
not what we are doing with ipi.
2020-03-17 20:21:48 -07:00
Jeremiah Stuever
45ccd3fe2c gcp upi: enable internal load balancers
This change adds 02_lb_int.py template to the workflow to enable
internal load balancers. The cluster will begin communicating to the api
and mcs through the internal load balancers. The external load balancer
can optionally be disabled for private clusters.

This change also updates the documentation to use the $(command) syntax
to be in line with the other platforms.

In addition, the variable definitions were all moved to immediately
after the associated resources were created. This will help make clear
where their origins are.
2020-03-14 10:53:17 -07:00
Jeremiah Stuever
998a518a17 gcp upi: split templates to simplify shared vpc workflow.
Prior to this change, users needed to edit the gcp upi python templates
in order to provision an cluster using a shared VPC. This was prone to
user error.

This change breaks up the templates so that only the yaml files need to
be modified, thus greatly simplifying the process. All of the resources
that would be provisioned in the host project are now in their own
python templates (01_vpc.py, 02_dns.py, and 03_firewall.py). These
resources can be removed from the yaml files to be run against the
service project and placed into yaml files to be run against the host
project instead.
2020-03-09 16:39:52 -07:00
Abhinav Dahiya
73eeef70fb *: add OWNERS for all platform specific directories
`<platform>-approvers` and `<platform>-reviewers` alias from `OWNER_ALIASES` should be used to maintain membership.
2019-12-10 09:55:42 -08:00
Patrick Dillon
dd4c28b46e Fix projectID typo in GCP customization docs
Correcting typo project -> projectID for GCP customization.
2019-11-18 11:05:22 -05:00
patrickdillon
f1b05d4e3a GCP: Add install-config.yaml customization doc
Create a doc specifying GCP-specific platform install config fields. Documents GCP cluster isolation in customization doc. Adds examples for GCP install config platform customization.
2019-10-25 14:58:59 -04:00
Christoph Blecker
a86e20a32c docs: clarify enabling GCP service APIs
Move the step of enabling GCP service APIs to it's own step. These APIs
must also be enabled prior to DNS configuration.

Signed-off-by: Christoph Blecker <cblecker@redhat.com>
2019-10-15 13:27:48 -07:00
W. Trevor King
2b870fca56 docs/user/gcp/install_upi: "create ... to" -> "add ... to" typo fix
We could have used "create ... in", but "add" echos:

  gcloud dns record-sets transaction add ...
2019-10-07 10:46:31 -07:00
OpenShift Merge Robot
31d81f2ad0 Merge pull request #2448 from patrickdillon/gcp-int-lb-cors-1235
Add internal load balancer to GCP.
2019-10-03 16:03:50 -07:00
patrickdillon
bb4b95374c Fix GCP firewall limit doc. 2019-10-03 09:13:53 -04:00
W. Trevor King
485057af68 docs/user/*/install_upi: Explicitly set control-plane unschedulable
We grew replicas-zeroing in c22d042 (docs/user/aws/install_upi: Add
'sed' call to zero compute replicas, 2019-05-02, #1649) to set the
stage for changing the 'replicas: 0' semantics from "we'll make you
some dummy MachineSets" to "we won't make you MachineSets".  But that
hasn't happened yet, and since 64f96df (scheduler: Use schedulable
masters if no compute hosts defined, 2019-07-16, #2004) 'replicas: 0'
for compute has also meant "add the 'worker' role to control-plane
nodes".  That leads to racy problems when ingress comes through a load
balancer, because Kubernetes load balancers exclude control-plane
nodes from their target set [1,2] (although this may get relaxed
soonish [3]).  If the router pods get scheduled on the control plane
machines due to the 'worker' role, they are not reachable from the
load balancer and ingress routing breaks [4].  Seth says:

> pod nodeSelectors are not like taints/tolerations.  They only have
> effect at scheduling time.  They are not continually enforced.

which means that attempting to address this issue as a day-2 operation
would mean removing the 'worker' role from the control-plane nodes and
then manually evicting the router pods to force rescheduling.  So
until we get the changes from [3], we can either drop the zeroing [5]
or adjust the scheduler configuration to remove the effect of the
zeroing.  In both cases, this is a change we'll want to revert later
once we bump Kubernetes to pick up a fix for the service load-balancer
targets.

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1671136#c1
[2]: https://github.com/kubernetes/kubernetes/issues/65618
[3]: https://bugzilla.redhat.com/show_bug.cgi?id=1744370#c6
[4]: https://bugzilla.redhat.com/show_bug.cgi?id=1755073
[5]: https://github.com/openshift/installer/pull/2402/
2019-10-02 13:11:25 -07:00
Jeremiah Stuever
eafaaa8d64 gcp: Collapse the firewall rules
Before this change, gcp used individual firewall rules for each
service/port used. This caused quota issues where multiple clusters were
provisoned to the same project.

This change collapses the firewall rules where approperiate to reduce
the number of firewall rules used.
2019-09-27 14:10:29 -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
patrickdillon
b94643f923 Fix typo in GCP limits doc.
Removes unintentional token.
2019-09-20 16:12:46 -04:00
patrickdillon
19cd1a49a4 Update GCP user docs.
Update all GCP user docs to bring up to standard of equivalent AWS docs.
2019-09-13 21:02:33 -04:00