Has anybody got the console-openshift-console.apps-crc.testing working on a cloud sever?

Latest response

Hi,
I have been trying to setup CRC in my IBM cloud server for the past week, but I can't get the console to work.

I won't go into huge detail, but I only have access to a single public IP that I use for ssh and also run NGINX to capture web requests.

Ideally, I would like to get the CRC console working the same way I have setup Ansible:
--> https://my.public.ip
......
.. # take the traffic and hand it off to the next webserver.

This works for Ansible

proxy_pass https://192.168.130.111:443

ideally I would do something like this

proxy_pass https://console-openshift-console.apps-crc.testing/;

All my local nslookups work to resolve the local ip of 192.168.130.11, but because I am running this from the cloud and accessing the webpage from my home, it seems to want to resolve https://console-openshift-console.apps-crc.testing as a public IP.

CRC is the latest version, centos 08 with the enterprise add-ons. Using the haproxy (as per documentation) doesn't really work for me as I need to have a webserver listening on the ports to allow pages to be displayed.

Sorry if this is vague, but has anybody succeeded in this type of setup? There does seem a solution by using a vpn between my laptop and the cloud server, but it will need a bit more thought.

Responses