How redhat-emea-ssa-team/hetzner-ocp4 works
This repository is an Ansible-based deployment and lifecycle toolkit for a self-hosted OpenShift 4 cluster, primarily on Hetzner bare-metal hosts. The intended workflow prepares the host, provisions virtual machines and networking, installs OpenShift, then configures public DNS, certificates, and optional add-ons; lifecycle playbooks also support stopping, starting, and destroying clusters. The README excerpt documents the overall workflow and provider choices, but no source excerpts were supplied, so implementation-level calls and ordering beyond those statements are not asserted.
Main entry points: post-install-add-ons.yml Cluster add-ons · create.yml OpenShift cluster · 00-provision-hetzner.yml Hetzner provisioning · 02-create-cluster.yml Cluster lifecycle
Components 18
Host preparation
- Host setup
ansible/01-prepare-host.yml - Hetzner provisioning
ansible/00-provision-hetzner.yml
Cluster deployment
- Cluster lifecycle
ansible/02-create-cluster.yml - OpenShift cluster
ansible/roles/openshift-4-cluster/tasks/create.yml - Load balancer
ansible/roles/openshift-4-loadbalancer/tasks/create.yml - OpenShift artifacts
ansible/roles/openshift-4-cluster/tasks/download-openshift-artifacts.yml - Cluster operations
ansible/03-stop-cluster.yml
DNS and certificates
- DNS records
ansible/roles/public_dns/tasks/create.yml - Certificate issuance
ansible/roles/letsencrypt/tasks/main.yml
Cluster extensions
- Add-on runner
ansible/run-add-ons.yml - Cluster add-ons
ansible/roles/openshift-4-cluster/tasks/post-install-add-ons.yml - RHEL entitlement
ansible/add-on-roles/cluster-entitlement/tasks/post-install.yaml - Garbage collection
ansible/add-on-roles/garbagecollection/tasks/post-install.yml - NTP configuration
ansible/add-on-roles/ntp/tasks/post-install.yml - Web terminal
ansible/add-on-roles/web-terminal/tasks/post-install.yml
Other components
- Operator
- Hetzner
- DNS provider
Connections 17
- Operator → Host setup: prepares host
- Operator → Hetzner provisioning: provisions host
- Hetzner provisioning → Hetzner: provisions
- Operator → Cluster lifecycle: installs cluster
- Cluster lifecycle → OpenShift cluster: creates cluster
- OpenShift cluster → Load balancer: configures access
- OpenShift cluster → OpenShift artifacts: downloads
- Operator → DNS records: configures DNS
README.md - DNS records → DNS provider: updates records
- Operator → Certificate issuance: sets up certificates
README.md - Operator → Add-on runner: runs optional add-ons
- Add-on runner → Cluster add-ons: configures
- Cluster add-ons → RHEL entitlement: applies
- Cluster add-ons → Garbage collection: applies
- Cluster add-ons → NTP configuration: applies
- Cluster add-ons → Web terminal: applies
- Operator → Cluster operations: stops cluster