Managed Kubernetes
5.11
Overview
Getting Started
Clusters
PMK CLI
APIs
In Cluster Monitoring
Catapult Remote Monitoring
Platform9 Managed Add-ons
Platform Administration
Workloads & Apps
Support
Powered By

Page
Code Steps
Category
Label
Link
Separator
Title
Message
Page icon
No icon. This page keeps the plain index row.
orSVG or PNG, square, at least 32×32.
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Attach-node Command
Copy Markdown
Open in ChatGPT
Open in Claude
The attach-node CLI command binds a specified node or nodes to an existing cluster as either a Master or Worker node.
Syntax Example
pf9ctl attach-node
All Available Commands and Flags
#pf9ctl attach-node --help
Attach nodes to existing cluster. One a time, multiple workers but only one master can be attached
Usage:
pf9ctl attach-node [flags] cluster-name
Flags:
-h, --help help for attach-node
-m, --master-ip strings master node ip address
-w, --worker-ip strings worker node ip address
Global Flags:
--verbose print verbose logs
Important
We have seen users who try to attach either a master or worker nodes to a cluster, without first creating a (master/worker) type cluster. This can lead to errors which can be confusing. Please ensure a cluster is up and running before attempting to attach a node.
Command Example
pf9ctl attach-node -m 172.20.7.66 -w 172.20.7.58 test-cluster
✓ Loaded Config Successfully
2021-05-26T11:58:01.9579Z INFO Worker node(s) [bf5364cf-e2fd-4500-97fb-0b01be26084f] attached to cluster
2021-05-26T11:58:03.6328Z INFO Master node(s) [615c1042-48a3-42e8-8003-ac135d12e6f4] attached to cluster
Last updated by Anagha Pamidi on Jan 26, 2026
Was this page helpful?
Next to read:
Detach-node CommandDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message