Kwokctl 快照恢复

kwokctl 快照恢复 #

恢复集群的快照

kwokctl snapshot restore [flags]

选项 #

      --filter strings   Filter the resources to restore, only support for k8s format (default [namespace,node,serviceaccount,configmap,secret,limitrange,runtimeclass.node.k8s.io,priorityclass.scheduling.k8s.io,clusterrolebindings.rbac.authorization.k8s.io,clusterroles.rbac.authorization.k8s.io,rolebindings.rbac.authorization.k8s.io,roles.rbac.authorization.k8s.io,daemonset.apps,deployment.apps,replicaset.apps,statefulset.apps,cronjob.batch,job.batch,persistentvolumeclaim,persistentvolume,pod,service,endpoints])
      --format string    Format of the snapshot file (etcd, k8s) (default "etcd")
  -h, --help             help for restore
      --path string      Path to the snapshot

从父命令继承的选项 #

  -c, --config strings   config path (default [~/.kwok/kwok.yaml])
      --dry-run          Print the command that would be executed, but do not execute it
      --name string      cluster name (default "kwok")
  -v, --v log-level      number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO)

另请参见 #

  • kwokctl 快照 - 快照 [保存、恢复、记录、重放、导出] 集群之一