-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb9a872
commit 4362c6d
Showing
16 changed files
with
199 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// * installing/installing_gcp/installing-gcp-customizations.adoc | ||
|
||
ifeval::["{context}" == "installing-gcp-network-customizations"] | ||
:with-networking: | ||
endif::[] | ||
|
||
[id="installation-gcp-config-yaml_{context}"] | ||
= Sample customized `install-config.yaml` file for GCP | ||
|
||
You can customize the `install-config.yaml` file to specify more details about | ||
your {product-title} cluster's platform or modify the values of the required | ||
parameters. | ||
|
||
[IMPORTANT] | ||
==== | ||
This sample YAML file is provided for reference only. You must obtain your | ||
`install-config.yaml` file by using the installation program and modify it. | ||
==== | ||
|
||
[source,yaml] | ||
---- | ||
apiVersion: v1 | ||
baseDomain: example.com <1> | ||
controlPlane: <2> | ||
hyperthreading: Enabled <3> <4> | ||
name: master | ||
platform: | ||
gcp: | ||
rootVolume: | ||
iops: 4000 | ||
size: 500 | ||
type: io1 | ||
type: n1-standard-4 | ||
replicas: 3 | ||
compute: <2> | ||
- hyperthreading: Enabled <3> | ||
name: worker | ||
platform: | ||
gcp: | ||
rootVolume: | ||
iops: 2000 | ||
size: 500 | ||
type: io1 <5> | ||
type: n1-standard-4 | ||
replicas: 3 | ||
metadata: | ||
name: test-cluster <1> | ||
ifdef::without-networking[] | ||
networking: | ||
endif::[] | ||
ifdef::with-networking[] | ||
networking: <2> | ||
endif::[] | ||
clusterNetwork: | ||
- cidr: 10.128.0.0/14 | ||
hostPrefix: 23 | ||
machineCIDR: 10.0.0.0/16 | ||
networkType: OpenShiftSDN | ||
serviceNetwork: | ||
- 172.30.0.0/16 | ||
platform: | ||
gcp: | ||
ProjectID: openshift-production <1> | ||
region: us-central-1 <1> | ||
pullSecret: '{"auths": ...}' <1> | ||
sshKey: ssh-ed25519 AAAA... <6> | ||
---- | ||
<1> Required. The installation program prompts you for this value. | ||
<2> If you do not provide these parameters and values, the installation program | ||
provides the default value. | ||
<3> The `controlPlane` section is a single mapping, but the compute section is a | ||
sequence of mappings. To meet the requirements of the different data structures, | ||
the first line of the `compute` section must begin with a hyphen, `-`, and the | ||
first line of the `controlPlane` section must not. Although both sections | ||
currently define a single machine pool, it is possible that future versions | ||
of {product-title} will support defining multiple compute pools during | ||
installation. Only one control plane pool is used. | ||
<4> Whether to enable or disable simultaneous multithreading, or | ||
`hyperthreading`. By default, simultaneous multithreading is enabled | ||
to increase the performance of your machines' cores. You can disable it by | ||
setting the parameter value to `Disabled`. If you disable simultaneous | ||
multithreading in some cluster machines, you must disable it in all cluster | ||
machines. | ||
+ | ||
[IMPORTANT] | ||
==== | ||
If you disable simultaneous multithreading, ensure that your capacity planning | ||
accounts for the dramatically decreased machine performance. Use larger | ||
instance types, such as `m4.2xlarge` or `m5.2xlarge`, for your machines if you | ||
disable simultaneous multithreading. | ||
==== | ||
<5> To configure faster storage for etcd, especially for larger clusters, set the | ||
storage type as `io1` and set `iops` to `2000`. | ||
<6> You can optionally provide the `sshKey` value that you use to access the | ||
machines in your cluster. | ||
+ | ||
[NOTE] | ||
==== | ||
For production {product-title} clusters on which you want to perform installation | ||
debugging or disaster recovery, you must provide an SSH key that your `ssh-agent` | ||
process uses to the installation program. | ||
==== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.