Skip to content

Commit d427cda

Browse files
committed
updates to the custom install draft
1 parent 3a86d9a commit d427cda

File tree

45 files changed

+320
-248
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+320
-248
lines changed

_topic_map.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Topics:
6565
File: architecture
6666
---
6767
Name: Installing clusters on AWS
68-
Dir: installation-AWS
68+
Dir: installing-aws
6969
Distros: openshift-origin, openshift-enterprise
7070
Topics:
7171
- Name: Configuring an AWS account
File renamed without changes.

installation-AWS/installing-aws-account.adoc renamed to installing-aws/installing-aws-account.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ include::modules/installation-aws-iam-user.adoc[leveloffset=+1]
1717
.Next steps
1818

1919
* Install a {product-title} cluster. You can
20-
xref:../installing-AWS/installing-customizations-cloud.adoc#installing-customizations-cloud[install a customized cluster]
21-
or xref:../installing-AWS/installing-quickly-cloud.adoc#installing-quickly-cloud[quickly install a cluster]
20+
xref:../installing-aws/installing-customizations-cloud.adoc#installing-customizations-cloud[install a customized cluster]
21+
or xref:../installing-aws/installing-quickly-cloud.adoc#installing-quickly-cloud[quickly install a cluster]
2222
with default options.

installation-AWS/installing-customizations-cloud.adoc renamed to installing-aws/installing-customizations-cloud.adoc

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,22 @@ cluster on Amazon Web Services (AWS).
1111

1212
.Prerequisites
1313

14-
* xref:../installing-AWS/installing-aws-account.adoc#installing-aws-account[Configure an AWS account]
14+
* xref:../installing-aws/installing-aws-account.adoc#installing-aws-account[Configure an AWS account]
1515
to host the cluster.
1616

1717
include::modules/installation-overview.adoc[leveloffset=+1]
1818

1919
include::modules/installation-clouds.adoc[leveloffset=+1]
2020

21-
include::modules/installation-about-custom.adoc[leveloffset=+1]
22-
23-
include::modules/installation-preparing-custom.adoc[leveloffset=+1]
24-
25-
include::modules/installation-configuration-parameters.adoc[leveloffset=+2]
26-
27-
include::modules/installation-render-options.adoc[leveloffset=+2]
28-
2921
include::modules/installation-provide-credentials.adoc[leveloffset=+1]
3022

3123
include::modules/installation-obtaining-installer.adoc[leveloffset=+1]
3224

3325
include::modules/installation-initializing.adoc[leveloffset=+1]
3426

35-
include::modules/installation-rendering.adoc[leveloffset=+1]
36-
37-
include::modules/installation-customizing.adoc[leveloffset=+1]
27+
include::modules/installation-aws-config-yaml.adoc[leveloffset=+1]
3828

39-
include::modules/installation-preparing-assets.adoc[leveloffset=+1]
29+
include::modules/installation-configuration-parameters.adoc[leveloffset=+2]
4030

4131
include::modules/installation-launching-installer.adoc[leveloffset=+1]
4232

installation-AWS/installing-quickly-cloud.adoc renamed to installing-aws/installing-quickly-cloud.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Amazon Web Services (AWS) that uses the default configuration options.
1111

1212
.Prerequisites
1313

14-
* xref:../installing-AWS/installing-aws-account.adoc#installing-aws-account[Configure an AWS account]
14+
* xref:../installing-aws/installing-aws-account.adoc#installing-aws-account[Configure an AWS account]
1515
to host the cluster.
1616

1717
include::modules/installation-overview.adoc[leveloffset=+1]
@@ -23,3 +23,5 @@ include::modules/installation-provide-credentials.adoc[leveloffset=+1]
2323
include::modules/installation-obtaining-installer.adoc[leveloffset=+1]
2424

2525
include::modules/installation-launching-installer.adoc[leveloffset=+1]
26+
27+
include::modules/installation-default-aws-config-yaml.adoc[leveloffset=+1]
File renamed without changes.

modules/glusterfs-hardware-requirements.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * installing-BYOH/installing-existing-hosts.adoc
3+
// * installing-byoh/installing-existing-hosts.adoc
44

55
[id='glusterfs-hardware-requirements-{context}']
66
= {gluster} hardware requirements
Lines changed: 46 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,52 @@
11
// Module included in the following assemblies:
22
//
3-
// * installing-AWS/installing-customizations-cloud.adoc
3+
// * orphaned
44

55
[id='installation-about-custom-{context}']
66
= About the custom installation
77

8-
The custom installation is divided into four phases:
9-
10-
* Initialization, where you create and customize the installation configuration
11-
file
12-
* Rendering, where you provide YAML files that describe further customizations
13-
* Preparing, where the system creates assets based on the rendered data
14-
* Launching, where you create the cluster in your cloud.
15-
16-
During initialization, you generate and customize a cluster configuration file that
17-
defines high level configuration and topology and specifies your cloud provider
18-
credentials. This configuration file contains a limited set of parameters that
19-
most clusters require.
20-
21-
During rendering, you do a thing with a bunch of yaml files that allows you to
22-
provide more customization to your cluster. You can specify ...
23-
24-
During the preparing phase, the assets that you render...
25-
26-
Finally, you launch the installation. The installation program first creates the
27-
infrastructure for the cluster, such as the load balancers, security groups, and
28-
VPCs, and then creates an initial configuration on a bootstrap master node.
29-
The bootstrap master then completes the configuration of the cluster by
30-
self-configuring and loading other components. By default, all the cluster nodes
31-
run Red Hat CoreOS as the operating system.
32-
33-
After the installation and configuration process is complete, instructions for
34-
connecting to the cluster displays.
35-
36-
[discrete]
37-
== Key concepts
38-
39-
Before you complete a customized installation, review the following key concepts.
40-
41-
[discrete]
42-
=== Targets
43-
44-
The {product-title} installer operates on the notion of creating and destroying
45-
targets. Similar to other tools that operate on a graph of dependencies, like
46-
`make` and `systemd`, each target represents a subset of the dependencies in the
47-
graph. The main target in the installation program creates a cluster, but the other targets
48-
allow the user to interrupt this process and use or modify the intermediate
49-
artifacts, such as the the Kubernetes manifests that are installed into the
50-
cluster. Only the immediate dependencies of a target are written to disk by the
51-
installer, but you can run the installation program multiple times to update more
52-
dependencies.
53-
54-
The installation program can create the following targets:
55-
56-
`install-config`::
57-
The installation configuration contains the main parameters
58-
for the installation process. This configuration provides you with more options
59-
than the interactive prompts and comes pre-populated with default values.
60-
`manifest-templates`:: These are the unrendered Kubernetes manifest templates
61-
that `manifests` target uses. This target is unstable.
62-
`manifests`::
63-
You can generate the Kubernetes manifests that will be installed on the cluster.
64-
This target is unstable.
65-
`ignition-configs`::
66-
These files contain the Ignition configurations for the bootstrap, master, and
67-
worker machines.
68-
`cluster`::
69-
This target provisions the cluster and its associated infrastructure.
70-
71-
The following targets can be destroyed by the installation program:
72-
73-
`cluster`::
74-
This destroys the created cluster and its associated infrastructure.
75-
`bootstrap`::
76-
This destroys the bootstrap infrastructure.
77-
78-
[discrete]
79-
=== Multiple invocations
80-
81-
Because you must run the installation program to generate the assets that you need to
82-
customize your installation, you can run the installation program multiple times. The
83-
installation state is stored in a hidden file in the asset directory which
84-
contains all of the intermediate artifacts. Storing the artifacts in this way
85-
lets you pause installation and modify the intermediate artifacts.
86-
87-
For example, if you wanted to create a different number of worker machines, you
88-
must first run the installation program with the `install-config` target with the
89-
`openshift-install create install-config` command. After you provide the required
90-
parameters to the interactive installer, it writes the installation
91-
configuration into the target directory. You can then modify the installation
92-
configuration and run the installation program with the `cluster` target with the
93-
`openshift-install create cluster` command. The installation program reads the install
94-
configuration from disk, removes it from the target directory, and creates a
95-
cluster from the provided configuration.
8+
You can use the {product-title} installation program to customize four levels
9+
of the program:
10+
11+
* {product-title} itself
12+
* The cluster platform
13+
* Kubernetes
14+
* The cluster operating system
15+
16+
Changes to {product-title} and its platform are managed and supported, but
17+
changes to Kubernetes and the cluster operating system currently are not. If
18+
you customize unsupported levels program levels, future installation and
19+
upgrades might fail.
20+
21+
When you select values for the prompts that the installation program presents,
22+
you customize {product-title}. You can further modify the cluster platform
23+
by modifying the `install-config.yaml` file that the installation program
24+
uses to deploy your cluster. In this file, you can make changes like setting the
25+
number of machines that the control plane uses, the type of virtual machine
26+
that the cluster deploys, or the CIDR range for the Kubernetes service network.
27+
28+
It is possible, but not supported, to modify the Kubernetes objects that are injected into the cluster.
29+
A common modification is additional manifests in the initial installation.
30+
No validation is available to confirm the validity of any modifications that
31+
you make to these manifests, so if you modify these objects, you might render
32+
your cluster non-functional.
33+
[IMPORTANT]
34+
====
35+
Modifying the Kubernetes objects is not supported.
36+
====
37+
38+
Similarly it is possible, but not supported, to modify the
39+
Ignition Configs for the bootstrap and other machines. No validation is
40+
available to confirm the validity of any modifications that
41+
you make to these Ignition Configs, so if you modify these objects, you might render
42+
your cluster non-functional.
43+
44+
[IMPORTANT]
45+
====
46+
Modifying the Ignition Configs is not supported.
47+
====
48+
49+
To complete a custom installation, you use the installation program to generate
50+
the installation files and then customize them.
51+
The installation status is stored in a hidden
52+
file in the asset directory and contains all of the installation files.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * installing-aws/installing-customizations-cloud.adoc
4+
5+
[id='installation-aws-config-yaml-{context}']
6+
= Customized `install-config.yaml` file for AWS
7+
8+
You can customize the `install-config.yaml` file to specify more details about
9+
your {product-title} cluster's platform or modify the values of the required
10+
parameters.
11+
12+
[source,yaml]
13+
----
14+
apiVersion: v1beta1
15+
baseDomain: example.com <1>
16+
machines:
17+
- name: master <2>
18+
platform:
19+
aws:
20+
zones:
21+
- us-west-2a
22+
- us-west-2b
23+
replicas: 3 <2>
24+
- name: worker <2>
25+
platform:
26+
aws:
27+
iamRoleName: elastictranscoder-access
28+
rootVolume:
29+
iops: 4000
30+
size: 500
31+
type: io1
32+
type: c5.9xlarge
33+
zones:
34+
- us-west-2c
35+
replicas: 5 <2>
36+
metadata:
37+
name: test-cluster <1>
38+
networking: <2>
39+
clusterNetworks:
40+
- cidr: 10.128.0.0/14
41+
hostSubnetLength: 9
42+
machineCIDR: 10.0.0.0/16
43+
serviceCIDR: 172.30.0.0/16
44+
type: OpenshiftSDN
45+
platform:
46+
aws:
47+
region: us-west-2 <1>
48+
userTags:
49+
adminContact: jdoe
50+
costCenter: 7536
51+
pullSecret: '{"auths": ...}' <1>
52+
sshKey: ssh-ed25519 AAAA... <1>
53+
----
54+
<1> Required. The installation program prompts you for this value.
55+
<2> If you do not provide these parameters and values, the installation program
56+
provides the default value.

modules/installation-aws-iam-user.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Module included in the following assemblies:
22
//
3-
// * installing-AWS/installing-aws-account.adoc
3+
// * installing-aws/installing-aws-account.adoc
44

5-
[id='installation-aws-iam-user-{context}']
5+
[id='installing-aws-iam-user-{context}']
66
= Creating an IAM user
77

88
Each Amazon Web Services (AWS) account contains a root user account that is

modules/installation-aws-limits.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Module included in the following assemblies:
22
//
3-
// * installing-AWS/installing-aws-account.adoc
3+
// * installing-aws/installing-aws-account.adoc
44

5-
[id='installation-aws-limits-{context}']
5+
[id='installing-aws-limits-{context}']
66
= AWS account limits
77

88
The {product-title} cluster uses a number of Amazon Web Services (AWS)

modules/installation-aws-route53.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Module included in the following assemblies:
22
//
3-
// * installing-AWS/installing-aws-account.adoc
3+
// * installing-aws/installing-aws-account.adoc
44

5-
[id='installation-aws-route53-{context}']
5+
[id='installing-aws-route53-{context}']
66
= Configuring Route53
77

88
To install {product-title}, the Amazon Web Services (AWS) account you use must

modules/installation-base-packages.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * installing-BYOH/installing-existing-hosts.adoc
3+
// * installing-byoh/installing-existing-hosts.adoc
44

55
[id='installing-base-packages-{context}']
66
= Installing base packages

modules/installation-byo-cloud-requirements.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * installing-BYOH/installing-existing-hosts.adoc
3+
// * installing-byoh/installing-existing-hosts.adoc
44

55
[id='installation-BYO-cloud-requirements-{context}']
66
= Cloud requirements for BYO installations

modules/installation-byo-system-requirements.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * installing-BYOH/installing-existing-hosts.adoc
3+
// * installing-byoh/installing-existing-hosts.adoc
44

55
[id='installation-byo-system-requirements-{context}']
66
= System requirements for installing on BYO

modules/installation-clouds.adoc

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Module included in the following assemblies:
22
//
3-
// * installing-AWS/installing-quickly-cloud.adoc
4-
// * installing-AWS/installing-customizations-cloud.adoc
3+
// * installing-aws/installing-quickly-cloud.adoc
4+
// * installing-aws/installing-customizations-cloud.adoc
55

66
[id='cloud-installations-{context}']
77
= {product-title} clusters on Installer Provisioned Infrastructure
@@ -13,14 +13,24 @@ Web Services (AWS).
1313
====
1414

1515
You can install either a standard cluster or a customized cluster. With a
16-
standard cluster, you provide only some details about your AWS account to the
17-
installer, and it creates a cluster.
16+
standard cluster, you provide minimum details that you need to install the
17+
cluster. With a customized cluster, you can specify more details about the
18+
platform, such as the number of machines that the control plane uses, the type
19+
of virtual machine that the cluster deploys, or the CIDR range for the
20+
Kubernetes service network.
1821

19-
With a customized cluster, you can specify more details of the installation,
20-
such as ...
22+
[IMPORTANT]
23+
====
24+
It is possible to modify Kubernetes and the Ignition Configs that control
25+
the underlying Red Hat CoreOS operating system during installation. However,
26+
no validation is available to confirm the suitability of any modifications that
27+
you make to these objects. If you modify these objects, you might render
28+
your cluster non-functional. Because of this risk, modifying Kubernetes and
29+
Ignition Configs is not supported.
30+
====
2131

2232
When you install {product-title} cluster with Installer Provisioned Infrastructure (IPI), you download the
23-
installer from link:try.openshift.com. This site manages:
33+
installer from link:try.openshift.com[the OpenShift start page]. This site manages:
2434

2535
* REST API for accounts
2636
* Registry tokens, which are the pull secrets that you use to obtain the required

0 commit comments

Comments
 (0)