OpenShift Node Operations

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

A node is a Linux container host. More details about nodes are available here:

OpenShift Concepts - Nodes

Getting Information about a Node

oc get nodes
oc get node <node-name>
oc describe node/<node-name>

Starting/Stopping a Node

Get Labels Applied to a Node

Get Labels Applied to a Node

Update Labels on a Node

TODO: https://docs.openshift.com/container-platform/3.5/admin_guide/manage_nodes.html#updating-labels-on-nodes

Other Procedures

Adding a New Node

New nodes can be added with the scaleup.yml playbook. The playbook generates and distributes new certificates for the new hosts, then runs the configuration playbook on the new hosts only.


https://docs.openshift.com/container-platform/3.5/install_config/adding_hosts_to_existing_cluster.html#adding-nodes-advanced

Removing a Node

TODO: https://docs.openshift.com/container-platform/3.5/admin_guide/manage_nodes.html#deleting-nodes