Skip to main content

sealos_delete

sealos delete

delete some node

sealos delete [flags]

Examples


delete nodes:
sealos delete --nodes x.x.x.x
if accidentally deleted;
Use 'sealos add' to recover:
sealos add --nodes x.x.x.x

delete masters:
sealos delete --masters x.x.x.x

delete masters and nodes:
sealos delete --masters x.x.x.x --nodes x.x.x.x
sealos delete --masters x.x.x.x-x.x.x.y --nodes x.x.x.x-x.x.x.y

Please note that sealos will delete your master if the --masters parameter is specified.

Options

  -c, --cluster string   delete a kubernetes cluster with cluster name (default "default")
--force We also can input an --force flag to delete cluster by force
-h, --help help for delete
-m, --masters string reduce Count or IPList to masters
-n, --nodes string reduce Count or IPList to nodes

Options inherited from parent commands

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

SEE ALSO

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