soukron / assisted-installer-sno-hetzner

Script to deploy a Single Node Openshift in a Hetzner server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Helper script for SNO with Assisted Installer in Hetzner servers

WARNING: This is neither supported nor endorsed by Red Hat or Hetzner. It is experimental and not intended for production use. Use it under your own risk.

Use this script to deploy Single Node OpenShift (SNO) clusters using Assisted Installer in Hetzner servers.

This script requires a configuration files that must be placed in a directory. You can have different directories for different servers and/or installations.

Use the placeholder files in the sno/ directory to fill them with your own data and invoke the script with the name of the directory:

./new-cluster sno

Requirements:

  • Assisted Installer Token.
  • Hetzner webservice credentials. Login in Robot, click on the user icon in the upper right corner and then on "Settings" and "Webservice and app settings".
  • Server ID.
  • Server Hostname/IP address.

What it does:

  • Creates the required items using Assisted Installer API
  • Enables rescue mode and reboots the server using Hetzner API
  • Copies the files to the server and reboots the server using a modified version of Pablo Alonso's script.
  • Starts the SNO installation using Assisted Installer API

What it doesn't do:

  • Error handling
  • Waits for the installation to complete

WARNING: This is a WIP project. I don't know if I'll ever finish or improve it more than it's now as it works for me. If might fail and you're expected to have some knowledge to troubleshoot the installation.

Pull requests are welcome!

About

Script to deploy a Single Node Openshift in a Hetzner server.


Languages

Language:Shell 100.0%