1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-06 00:48:45 +01:00
Patrick Dillon b241c4e115 OCPBUGS-57348: add MCO operator manifest for boot image management (#9783)
* pkg/asset/manifests: add MCO operator manifest

Adds manifest generation for MCO configuration.
Currently the manifest is only generated when
custom boot images are specified, in order
to disable MCO management of those boot images.

The manifest generation uses a golang template
as testing revealed that API server validation
would not permit the manifests generated from
serializing the golang structs, which would
be more consistent with how we generate manifests
for other openshift operators. As golang will
populate the zero value for any non-pointer struct
this triggered validation, where the API server
expected certain required fields for these zero-value
structs. Using a template allows us to bypass this
problem.

Fixes OCPBUGS-57348

* fixup! pkg/asset/manifests: add MCO operator manifest

* fixup! pkg/asset/manifests: add MCO operator manifest
2025-06-19 15:09:54 +00:00
2025-05-28 13:10:41 -04:00
2025-04-16 12:52:32 -04:00
2019-01-04 11:56:51 -08:00
2023-12-08 07:37:03 -08:00
2023-09-19 13:14:35 -04:00
2023-06-23 14:56:10 -04:00
2025-05-21 15:52:21 +02:00
2025-01-30 17:06:24 -05:00

OpenShift Installer

Supported Platforms

Quick Start

First, install all build dependencies.

Clone this repository. Then build the openshift-install binary with:

hack/build.sh

This will create bin/openshift-install. This binary can then be invoked to create an OpenShift cluster, like so:

bin/openshift-install create cluster

The installer will show a series of prompts for user-specific information and use reasonable defaults for everything else. In non-interactive contexts, prompts can be bypassed by providing an install-config.yaml.

If you have trouble, refer to the troubleshooting guide.

Connect to the cluster

Details for connecting to your new cluster are printed by the openshift-install binary upon completion, and are also available in the .openshift_install.log file.

Example output:

INFO Waiting 10m0s for the openshift-console route to be created...
INFO Install complete!
INFO To access the cluster as the system:admin user when using 'oc', run
    export KUBECONFIG=/path/to/installer/auth/kubeconfig
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.${CLUSTER_NAME}.${BASE_DOMAIN}:6443
INFO Login to the console with user: kubeadmin, password: 5char-5char-5char-5char

Cleanup

Destroy the cluster and release associated resources with:

openshift-install destroy cluster

Note that you almost certainly also want to clean up the installer state files too, including auth/, terraform.tfstate, etc. The best thing to do is always pass the --dir argument to create and destroy. And if you want to reinstall from scratch, rm -rf the asset directory beforehand.

Description
Install an OpenShift cluster
Readme 1.2 GiB
Languages
Go 85.1%
HCL 10.8%
Shell 2.8%
Python 1.2%