跳到主要内容

Machines

A Machine is a physical or virtual host that CasOS can connect to over SSH and manage as part of the cluster. Registering machines lets CasOS reach them directly — for example, to turn a machine into a worker node — instead of you configuring each host by hand.

Machines are managed from Infrastructure → Machines.

Adding a machine

Click Add Machine and fill in the connection details:

FieldDescription
Name / Display nameIdentifier and friendly label for the machine.
IPAddress CasOS uses to reach the machine.
PortSSH port (usually 22).
UsernameSSH user to log in as (typically root).
Auth typeHow CasOS authenticates: Password or Private key.
Password / Private keyThe credential matching the chosen auth type.
RoleWhether the machine is a master or worker node.
Operating systemThe host's OS (for your own reference).
DescriptionOptional notes.

CasOS also shows a Status for each machine that reflects its current state — for example Deploying, Deployed, or Failed once you deploy it as a node.

Editing and deleting

Open a machine to update its connection details, then save. Deleting a machine removes it from CasOS; it does not uninstall anything already deployed on the host.

Deploying a machine as a node

Once a machine is registered, CasOS can install the kubelet and container runtime over SSH and join it to the cluster as a worker node — see Worker Node Deployment for the deployment flow and the SSH prerequisites the target machine must meet.