Access the Load Balancer IP for No Bastion Host
Use kubectl
commands to access the internal and external
load balancer IP addresses if you provision an Oracle WebLogic Server for
OKE domain without a bastion.
To get the IP addresses of the load balancer.
-
Access the administration compute instance for your domain. See Access the Administration Instance.
-
Run the following command:
- For the internal load balancer IP address:
kubectl get svc -n ingress-nginx -l app.kubernetes.io/name=ingress-nginx / -o jsonpath='{.items[*].status.loadBalancer.ingress[0].ip}'
Output example:
<internal_lb_ip1>
You can use this internal load balancer IP address to access the Jenkins Console and WebLogic Console. See Access the Jenkins Console and Access the WebLogic Console.
- For the external load balancer IP address:
kubectl get svc -n ingress-nginx -l app.kubernetes.io/name=ingress-nginx-external / -o jsonpath='{.items[*].status.loadBalancer.ingress[0].ip}'
Output example:
<external_lb_ip1>
You can use this external load balancer IP address to access the WebLogic Cluster Load Balancer.
The URL format is:
weblogic_cluster_lb_url=https://<external_lb_ip1>/<application context>
- For the internal load balancer IP address: