IBM Cloud Private monitoring gets 502 bad gateway

The management console sometimes displays a 502 Bad Gateway Error after installation or rebooting the master node. If you recently installed IBM Cloud Private, wait a few minutes and reload the page.

If you rebooted the master node, take the following steps:

  1. Configure the kubectl command line interface. See Accessing your IBM Cloud Private cluster by using the kubectl CLI.

  2. Obtain the IP addresses of the icp-ds pods. Run the following command:

kubectl get pods -o wide -n kube-system | grep "icp-ds"

The output resembles the following text:

icp-ds-0 1/1 Running 0 1d 10.1.231.171 10.10.25.134

In this example, 10.1.231.171 is the IP address of the pod.

In high availability (HA) environments, an icp-ds pod exists for each master node.

  1. From the master node, ping the icp-ds pods. Check the IP address for each icp-ds pod by running the following command for each IP address:

    ping 10.1.231.171

    If the output resembles the following text, you must delete the pod:

    connect: Invalid argument

    1. Delete each pod that you cannot reach:

    kubectl delete pods icp-ds-0 -n kube-system

    In this example, icp-ds-0 is the name of the unresponsive pod.

    In HA installations, you might have to delete the pod for each master node.

    1. Obtain the IP address of the replacement pod or pods. Run the following command:

    kubectl get pods -o wide -n kube-system | grep "icp-ds"

    The output resembles the following text:

    icp-ds-0 1/1 Running 0 1d 10.1.231.172 10.10.2

    1. Ping the pods again. Check the IP address for each icp-ds pod by running the following command for each IP address:

    ping 10.1.231.172

    If you can reach all icp-ds pods, you can access the IBM Cloud Private management console when that pod enters the available state.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值