Check the Health of a Load Balancer

Learn how to view the status of a load balancers associated with the instance's Kubernetes cluster manged by Oracle WebLogic Server for OKE.

  1. Access the administration compute instance for your domain.
  2. Run the following command:
    kubectl get services --all-namespaces
    Output example:
    NAMESPACE                 NAME                                   TYPE           CLUSTER-IP      EXTERNAL-IP       PORT(S)                      AGE
    default                   kubernetes                             ClusterIP      10.96.0.1       <none>            443/TCP                      27h
    ingress-nginx             okename-internal                       LoadBalancer   10.96.185.81    100.121.170.271   80:32144/TCP                 27h
    jenkins-ns                jenkins-service                        ClusterIP      10.96.121.100   <none>            8080/TCP,50000/TCP           27h
    kube-system               kube-dns                               ClusterIP      10.96.7.5       <none>            53/UDP,53/TCP,9153/TCP       27h
    kube-system               tiller-deploy                          ClusterIP      10.96.76.135    <none>            44134/TCP                    27h
    okename-domain-ns         mydomain-cluster-okename-cluster       ClusterIP      10.96.143.98    <none>            8001/TCP                     27h
    okename-domain-ns         mydomain-okename-adminserver           ClusterIP      None            <none>            30012/TCP,7001/TCP           27h
    okename-domain-ns         mydomain-okename-managed-server1       ClusterIP      None            <none>            8001/TCP                     27h
    okename-domain-ns         mydomain-okename-managed-server2       ClusterIP      None            <none>            8001/TCP                     27h
    okename-domain-ns         okename-external                       LoadBalancer   10.96.162.263   144.25.10.101     80:32148/TCP,443:31808/TCP   27h
    okename-operator-ns       internal-weblogic-operator-svc         ClusterIP      10.96.92.254    <none>            8082/TCP                     27h

    Make a note of the IP address of the services with type LoadBalancer and in the EXTERNAL-IP column.

  3. Disconnect from the administration compute instance.
  4. Sign in to the Oracle Cloud Infrastructure Console.
  5. Click the navigation menu Navigation Menu icon and select Networking > Load Balancers.
  6. Select the Compartment that contains your stack.
  7. Find the required load balancer by searching with the IP addresses that you noted in Step2.
  8. Click the name of the load balance against the IP address you searched for.
  9. Under Resources on the left, click Metrics.

    The Metrics tab displays a default set of charts for the selected load balancer.