How openshift/installer works
OpenShift Installer is a CLI for creating and destroying OpenShift clusters across multiple infrastructure platforms. The documented workflow is to run create cluster, answer prompts or provide an install-config.yaml, wait for installation, then use the printed connection details; destroy cluster removes the cluster and associated resources. The tree identifies configuration, validation, infrastructure, cluster API, node-join, state, and diagnostic areas, but their call relationships are not shown in the sampled source. Dashed edges mark those unverified relationships.
Main entry points: openshift-install Installer CLI · infrastructure Infrastructure provisioning · types Install configuration · validate Configuration validation
Components 14
CLI and configuration
- Installer CLI
cmd/openshift-install - Install configuration
pkg/types - Configuration validation
pkg/validate - Installation assets
pkg/asset
Cluster provisioning
- Infrastructure provisioning
pkg/infrastructure - Cluster API
pkg/clusterapi - Node joining
pkg/nodejoiner
Lifecycle and operations
- Installer state
pkg/asset - Cluster destruction
pkg/destroy - Diagnostics
pkg/diagnostics - Log gathering
pkg/gather - Cluster access details
pkg/asset
Infrastructure platforms
- Cloud and platform services
Other components
- Installer user
Connections 14
- Installer user → Installer CLI: runs commands
README.md - Installer user → Install configuration: provides config
README.md - Installer CLI → Install configuration: prompts for
README.md - Installer CLI → Configuration validation: validates config
- Installer CLI → Installation assets: creates assets
- Installer CLI → Infrastructure provisioning: creates cluster
README.md - Infrastructure provisioning → Cloud and platform services: provisions resources
- Infrastructure provisioning → Cluster API: uses controllers
- Infrastructure provisioning → Node joining: joins nodes
- Installer CLI → Installer state: uses install directory
README.md - Installer CLI → Cluster access details: prints access details
README.md - Installer CLI → Cluster destruction: destroys cluster
README.md - Installer CLI → Diagnostics: supports troubleshooting
- Installer CLI → Log gathering: gathers logs