Installing Astronomer on a private ARO cluster
This content is authored by Red Hat experts, but has not yet been tested on every supported configuration.
see here for public clusters.
This assumes you’ve already got a private ARO cluster installed. You could also follow the same instructions to create a public Astronomer, just use a regular DNS zone and skip the private parts.
A default 3-node cluster is a bit small for Astronomer, If you have a three node cluster you can increase it by updating the replicas count machinesets in the openshift-machine-api namespace.
Create a private DNS
-
Log into Azure and click to private dns
-
Click + Add
-
Set the Resource Group to match your ARO Resource Group
-
Set Name to your TLD (astro.mobb.ninja in the example)
-
Click Review and Create and create the Zone
-
Inside the Domain settings click Virtual network links -> + Add
-
Link Name: astro-aro
-
Select the correct Subscription and Network from the dropdown boxes
-
Click OK
Create TLS Secret
-
Next we need a TLS Secret to use. You could create a self-signed certificate using a CA that you own, or use certbot (if you have a valid DNS provider, note records don’t need to be public)
-
Follow certbot’s instructions (something like ):
-
Create a Secret from the Cert (use the paths provided from the above command):
Deploy Astronomer
-
update the
values.yamland setbaseDomain: astro.mobb.ninja -
Install
While that’s running add our DNS
-
In another shell run
-
Go back to your private DNS zone in Azure and create a record set
*and copy the contents ofEXTERNAL-IPfrom the above command.
Fix SCCs for elasticsearch
Validate the Install
-
Check the Helm install has finished
-
Since this is a private LB you’ll need to access it from inside the network. The quick hacky way to do this is
and you should see