By using the following commands, we can handle the operations on Node like node describe, node in yaml, get node, cordon & uncordon node.
Node Describe
Table of Contents
By Using this command, we can get the describe node in the namespace.
kubectl describe node <node-space>
Get Node in yaml
Using this command we can get the Get node in yaml in the namespace.
kubectl get node <name-space> -o yaml
Get Node
Using this command we can get the Get node in the namespace.
kubectl get node <name-space>
Drain Node
Using this command, we can get the drain node details in the namespace.
kubectl drain node <name-space>
Cordon Node
By Using this command, we can get the cordon node in the namespace.
kubectl cordon node <name-space>
Uncordon Node
Using this command, we can get the Uncordon node in the namespace.
kubectl uncordon node <name-space>
Hello! I am Narayanaswamy founder and admin of narayanatutorial.com. I have been working in the IT industry for more than 12 years. NarayanaTutorial is my web technologies blog. My specialties are Java / J2EE, Spring, Hibernate, Struts, Webservices, PHP, Oracle, MySQL, SQLServer, Web Hosting, Website Development, and IAM(ForgeRock) Specialist
I am a self-learner and passionate about training and writing. I am always trying my best to share my knowledge through my blog.