Kubernetes Node Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 8: Line 8:
=Apply a Label to a Node=
=Apply a Label to a Node=
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
kubectl label node ip-172-01-01-01.us-west-2.compute.internal help color=blue
kubectl label node ip-172-01-01-01.us-west-2.compute.internal color=blue
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 19:30, 17 May 2022

Internal

Overview

List all Pods on a Specific Node

Kubernetes Pod Operations | List all Pods on a Specific Node

Apply a Label to a Node

kubectl label node ip-172-01-01-01.us-west-2.compute.internal color=blue