Skip to content

Instantly share code, notes, and snippets.

@vikram-raj
Last active July 29, 2025 13:36
Show Gist options
  • Select an option

  • Save vikram-raj/f231e8f452ea4ed44a60fe1fe0209025 to your computer and use it in GitHub Desktop.

Select an option

Save vikram-raj/f231e8f452ea4ed44a60fe1fe0209025 to your computer and use it in GitHub Desktop.
Steps to create a AWS OpenShift cluster
1. Download the installer of the version you want to install from https://openshift-release.apps.ci.l2s4.p1.openshiftapps.com/
2. Extract and rename the installer to include the version number (e.g., openshift-install-4.8.4)
3. If using a Mac, un-quarantine the installer so it can be executed:
```
xattr -d com.apple.quarantine /path/to/file
```
4. Login to <https://console-openshift-console.apps.ci.l2s4.p1.openshiftapps.com/>
5. Select "Copy login command" from the user menu
6. Paste the login command into your terminal
7. Download pull secret from <https://console.redhat.com/openshift/downloads> (Note: pull secrets do expire around 30 days)
8. Add the CI registry to your pull secret:
```
oc registry login --to /path/to/pull-secret.txt
```
9. Remove newlines from the pull-secret.txt with a command like `cat /path/to/pull-secret.txt | tr '\n' ' '`
10. Create a cluster using the aforementioned:
```
openshift-install-x.y.z create cluster --dir /path
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment