Skip to content

openshift-infrastructure

OpenShift Infrastructure Node labeling profile

This profile marks a worker machine as an infrastructure node by contributing a single label to openshift/machine-labels:

YAML
node-role.kubernetes.io/infra: ""

Because openshift/machine-labels is a compose-expanded map, this profile can be applied alongside other label-contributing profiles and their entries will merge. After cluster install, the openshift-label-machines task runs oc label node <name> node-role.kubernetes.io/infra= --overwrite on every machine carrying this profile.

Typically applied in combination with the openshift-worker profile on machines reserved for ingress, monitoring, registry, or logging workloads.

Usage

Bash
drpcli machines addprofile <machine-uuid> openshift-infrastructure

Pair with the cluster-wide openshift-cluster-infrastructure profile so the cluster ships an IngressController that targets these nodes.

Objects that Reference openshift-infrastructure

Not used in current content packs

Objects used by openshift-infrastructure