Kubernetes:61.kubeadm upgrade
2019-08-16 本文已影响0人
小六的昵称已被使用
语法
[10:08:08 root@ceshi-01 ~ $]kubeadm upgrade --help
Upgrade your cluster smoothly to a newer version with this command
使用此命令将群集平滑升级到更新版本
用法:
kubeadm upgrade [flags]
kubeadm upgrade [command]
可用命令:
apply Upgrade your Kubernetes cluster to the specified version
将Kubernetes群集升级到指定版本
diff Show what differences would be applied to existing static pod manifests. See also: kubeadm upgrade apply --dry-run
显示将对现有静态窗格清单应用的差异。 另请参阅:kubeadm upgrade apply --dry-run
node Upgrade commands for a node in the cluster
升级群集中节点的命令
plan Check which versions are available to upgrade to and validate whether your current cluster is upgradeable.
检查可用于升级的版本,并验证当前群集是否可升级。
To skip the internet check, pass in the optional [version] parameter
要跳过互联网检查,请传入可选的[version]参数
Flags:
-h, --help help for upgrade
Global Flags:
--log-file string If non-empty, use this log file
--log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
--rootfs string [EXPERIMENTAL] The path to the 'real' host root filesystem.
--skip-headers If true, avoid header prefixes in the log messages
--skip-log-headers If true, avoid headers when opening log files
-v, --v Level number for the log level verbosity
Use "kubeadm upgrade [command] --help" for more information about a command.