This topic describes how to log on to the MyBase cluster console and access its services, such as node management and database management.
Prerequisites
You have deployed MyBase.
Procedure
Obtain the cluster console address
Scenario 1: The access machine can connect to the MyBase 2.0 network
Run `kubectl get ingress -A` to obtain domain name information. The actual output depends on your environment.

Configure domain name resolution for the access machine. Add the host mappings for the Ingresses named `dbaas-portal`, `dbaas-portal-health`, `duakng`, `lafite-k8s-rm-operator`, and `openapi` to the `/etc/hosts` file. Replace `xxx.xxx.xxx.xxx` with the IP address of the OPS machine.
xxx.xxx.xxx.xxx dbstack-console.inter.test-dbstack.com xxx.xxx.xxx.xxx dbstack-console.intra.test-dbstack.com xxx.xxx.xxx.xxx dbstack-console-health.inter.test-dbstack.com xxx.xxx.xxx.xxx dukang.dbstack.inter.test-dbstack.com xxx.xxx.xxx.xxx lafite-web.dbstack.inter.test-dbstack.com xxx.xxx.xxx.xxx openapi.dbstack.inter.test-dbstack.com
Scenario 2: The access machine cannot directly connect to the MyBase 2.0 network
This solution is recommended only for staging environments. For production environments, configure F5 or CoreDNS for domain name resolution.
Configure a proxy server.
This example uses tinyproxy to configure the proxy server.
On a machine that can connect to both the K8s cluster and the internet (referred to as OPS1), install tinyproxy. Copy the file and script (tinyproxy-1.11.2.tar.gz) to OPS1.
tar -xvzf tinyproxy-1.11.2.tar.gz cd tinyproxy-1.11.2 sh install-tiny.sh ps -ef | grep tinyproxy tail -n20 /var/log/tinyproxy.logConfigure an HTTP proxy to access the portal.
Install SwitchyOmega.
Configure the HTTP proxy. Set the proxy protocol to HTTP, the proxy server to the IP address of the proxy server, and the proxy port to 8888.
Log on to the cluster console
Access the cluster console. The URL is typically https://dbstack-console.inter.test-dbstack.com.
The initial username and password are typically
root/DBStack4rootorroot/DBStack4root1.