You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user/overview.md
+37-2Lines changed: 37 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,10 @@ The OpenShift Installer operates on the notion of creating and destroying target
36
36
The following targets can be created by the installer:
37
37
38
38
-`install-config` - The install config contains the main parameters for the installation process. This configuration provides the user with more options than the interactive prompts and comes pre-populated with default values.
39
+
-`manifest-templates` - These are the unrendered Kubernetes manifest templates that feed the `manifests` target.
40
+
This target is [unstable](versioning.md).
39
41
-`manifests` - This target outputs all of the Kubernetes manifests that will be installed on the cluster.
42
+
This target is [unstable](versioning.md).
40
43
-`ignition-configs` - These are the three Ignition Configs for the bootstrap, master, and worker machines.
41
44
-`cluster` - This target provisions the cluster and its associated infrastructure.
42
45
@@ -47,6 +50,38 @@ The following targets can be destroyed by the installer:
47
50
48
51
### Multiple Invocations
49
52
50
-
In order to allow users to customize their installation, the installer can be invoked multiple times. The state is stored in a hidden file in the target directory and contains all of the intermediate artifacts. This allows the installer to pause during the installation and wait for the user to modify intermediate artifacts.
53
+
In order to allow users to customize their installation, the installer can be invoked multiple times. The state is stored in a hidden file in the asset directory and contains all of the intermediate artifacts. This allows the installer to pause during the installation and wait for the user to modify intermediate artifacts.
51
54
52
-
For example, if changes to the install config were desired (e.g. the number of worker machines to create), the user would first invoke the installer with the `install-config` target: `openshift-install create install-config`. After prompting the user for the base parameters, the installer writes the install config into the target directory. The user can then make the desired modifications to the install config and invoke the installer with the `cluster` target: `openshift-install create cluster`. The installer will consume the install config from disk, removing it from the target directory, and proceed to create a cluster using the provided configuration.
55
+
For example, you can create an install config and save it in a cluster-agnostic location:
The installer uses [Semantic Versioning][semver] for its user-facing API.
4
+
Covered by the versioning are:
5
+
6
+
*`openshift-install [options] create install-config`, which will always create `install-config.yaml` in the asset directory, although the version of the generated install-config may change.
7
+
*`openshift-install [options] create ignition-configs`, which will always create `bootstrap.ign`, `master.ign`, and `worker.ign` in the asset directory, although the content of the generated files may change.
8
+
*`openshift-install [options] create cluster`, which will always launch a new cluster.
9
+
*`openshift-install [options] destroy bootstrap`, which will always destroy any bootstrap resources created for the cluster.
10
+
*`openshift-install [options] destroy cluster`, which will always destroy the cluster resources.
11
+
*`openshift-install [options] help`, which will always show help for the command, although available options and unstable commands may change.
12
+
*`openshift-install [options] version`, which will always show sufficient version information for maintainers to identify the installer, although the format and content of its output may change.
13
+
* The install-config format. New versions of this format may be released, but within a minor version series, the `openshift-install` will continue to be able to read previous versions.
0 commit comments