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.24.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
Single kubernetes cluster:
sealos run labring/kubernetes:v1.24.0 --single

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


      --cluster string        name of cluster to applied run action (default "default")
--cmd strings override CMD directive in images
--config-file strings path of custom config files, to use to replace the resource
--env strings environment variables to set during command execution
-f, --force we also can input an --force flag to run app in this cluster by force
-h, --help help for run
--masters string masters to run with
--nodes string nodes to run with
-p, --passwd string use given password to authenticate with
-i, --pk string selects a file from which the identity (private key) for public key authentication is read (default "/root/.ssh/id_rsa")
--pk-passwd string passphrase for decrypting a PEM encoded private key
--port uint16 port to connect to on the remote host (default 22)
--single run cluster in single mode
-t, --transport string load image transport from tar archive file.(optional value: oci-archive, docker-archive) (default "oci-archive")
-u, --user string username to authenticate as

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 13-Oct-2022