How to check where the router-default FQDN and A record in ARO
Environment
- Azure Red Hat OpenShift 4 (ARO)
Issue
- How to check where the router-default FQDN and A record in ARO ?
Resolution
Using below command can help to retrieve related information
1, Using below command to check router-default domain name of cluster
$ oc get ingresses.config cluster -o yaml
apiVersion: config.openshift.io/v1
kind: Ingress
metadata:
name: cluster
spec:
domain: apps.xxxxxx.eastus.aroapp.io
2, Using below command to check A record setting for router-default of cluster
$ oc debug node/xxxx-xxxx-worker-eastus1-xxxx
sh-4.4# chroot /host
sh-4.4# cd etc
sh-4.4# cat dnsmasq.conf
...
address=/.apps.xxxxxx.eastus.aroapp.io/xx.xxx.xx.xxx
...
3, Double check the IP in step 2 by using below command
(the IP is also the public load balance address in Azure)
$ oc get cluster cluster -o jsonpath="{.spec.ingressIP}"
xx.xxx.xx.xxx
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments