OpenShift Get Labels Applied to a Node

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Get the node description with:

oc describe node <node-name>

The node's labels are listed in the "Labels:" section:

Labels:			beta.kubernetes.io/arch=amd64
			beta.kubernetes.io/os=linux
			cluster=noper430
			env=infra
			kubernetes.io/hostname=infranode1
			logging=true
			logging-infra-fluentd=true