Skip to main content


sealos run

Simplest way to run your kubernetes HA cluster


sealos run labring/kubernetes:v1.24.0 --masters [arg] --nodes [arg]

sealos run [flags]


create cluster to your baremetal server, appoint the iplist:
sealos run labring/kubernetes:v1.24.0 --masters,, \
--nodes,, --passwd xxx
multi image:
sealos run labring/kubernetes:v1.24.0 calico:v3.22.1 \
--masters,, --nodes,
Specify server InfraSSH port :
All servers use the same InfraSSH port (default port: 22):
sealos run labring/kubernetes:v1.24.0 --masters,, \
--nodes,, --port 24 --passwd xxx
Different InfraSSH port numbers exist:
sealos run labring/kubernetes:v1.24.0 --masters,, \
--nodes,, --passwd xxx

create a cluster with custom environment variables:
sealos run -e DashBoardPort=8443 mydashboard:latest --masters,, \
--nodes,, --passwd xxx


      --cmd strings        set cmd for image cmd instruction
-e, --env strings set custom environment variables
-f, --force we also can input an --force flag to run app in this cluster by force
-h, --help help for run
-m, --masters string set Count or IPList to masters
--name string set cluster name variables (default "default")
-n, --nodes string set Count or IPList to nodes
-p, --passwd string set cloud provider or baremetal server password
--pk string set baremetal server private key (default "/home/ubuntu/.ssh/id_rsa")
--pk-passwd string set baremetal server private key password
--port uint16 set the sshd service port number for the server (default 22)
-u, --user string set baremetal server username (default "root")

Options inherited from parent commands

      --cluster-root string   cluster root directory (default "/var/lib/sealos")
--debug enable debug logger


  • sealos - simplest way install kubernetes tools.
Auto generated by spf13/cobra on 18-Jul-2022