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

Title
Message
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
Javascript
xxxxxxxxxxpf9ctl attach-nodeAll Available Commands and Flags
Javascript
xxxxxxxxxx#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 logsWe 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
Javascript
xxxxxxxxxxpf9ctl attach-node -m 172.20.7.66 -w 172.20.7.58 test-cluster✓ Loaded Config Successfully2021-05-26T11:58:01.9579Z INFO Worker node(s) [bf5364cf-e2fd-4500-97fb-0b01be26084f] attached to cluster2021-05-26T11:58:03.6328Z INFO Master node(s) [615c1042-48a3-42e8-8003-ac135d12e6f4] attached to clusterType to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on Jan 23, 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