This file contains hidden or 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
export INFRA_ID=$(jq -r .infraID metadata.json) | |
echo $INFRA_ID |
This file contains hidden or 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
openshift-install create ignition-configs |
This file contains hidden or 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
openshift-install create manifests | |
rm -f openshift/99_openshift-cluster-api_master-machines-*.yaml openshift/99_openshift-cluster-api_worker-machineset-*.yaml | |
sed -i 's/mastersSchedulable: true/mastersSchedulable: False/g' manifests/cluster-scheduler-02-config.yml |
This file contains hidden or 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
cat <<EOF >install-config.yaml | |
apiVersion: v1 | |
baseDomain: ${CLUSTER_DOMAIN} | |
compute: | |
- hyperthreading: Enabled | |
name: worker | |
platform: {} | |
replicas: 0 | |
controlPlane: | |
hyperthreading: Enabled |
This file contains hidden or 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
mkdir install | |
cd install |
This file contains hidden or 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
export CLUSTER_NAME=ocp47 | |
export BASE_DOMAIN=example.com | |
export MASTER_COUNT=3 | |
export WORKER_COUNT=2 | |
export NETWORK_NAME=<network_name> | |
export RHCOS_IMAGE_ID=<rhcos_image_id> | |
export PULL_SECRET="<pull-secret-text>" |