IBM Support

How to determine internal IP addresses assigned to worker nodes on Red Hat OpenShift Container Platform

How To


Summary

This guide provides steps to determine the internal IP address of worker nodes within Red Hat OpenShift Container Platform.

This information can be useful for administrators who want these IP addresses to configure firewall/proxy/network policies for traffic to and from Cloud Pak for Security

Steps

Log in to the Red Hat® OpenShift® cluster and issue the following oc command:
oc describe nodes -l node-role.kubernetes.io/worker | grep InternalIP: | awk {' print $2 '}
The output is a list of your worker node internal IP addresses

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTDPP","label":"IBM Cloud Pak for Security"},"ARM Category":[{"code":"a8m3p000000PCQYAA4","label":"OpenShift-\u003EInfrastructure"}],"ARM Case Number":"","Platform":[{"code":"PF118","label":"Red Hat OpenShift Platform"}],"Version":"All Versions"}]

Document Information

Modified date:
30 June 2023

UID

ibm17008977