Update the Consul K8s CLI
Consul K8s CLI is a tool for quickly installing and interacting with Consul on Kubernetes. Ensure that you are running the correct version of the CLI prior to upgrading your Consul on Kubernetes deployment, as the CLI and the control plane are version dependent.
Upgrade the CLI
These instructions describe how to upgrade the current installed version of the CLI to the latest version. If you are looking to upgrade to a specific version, please follow Install a specific version of the CLI.
The Homebrew package manager is required to complete the following installation instructions. The brew upgrade
command assumes that Hashicorp tap
repository has already been installed from a prior install.
Upgrade the Consul K8s CLI with the latest
consul-k8s
package.$ brew upgrade consul-k8s
(Optional) Issue the
consul-k8s version
command to verify the installation:$ consul-k8s version
consul-k8s 0.39.0
Upgrade all the available packages on your system.
$ sudo apt-get update
Upgrade the Consul K8s CLI with the latest
consul-k8s
package.$ sudo apt-get --only-upgrade install consul-k8s
(Optional) Issue the
consul-k8s version
command to verify the installation:$ consul-k8s version
consul-k8s 0.39.0
Upgrade all the available packages on your system.
$ sudo yum update
Upgrade the Consul K8s CLI with the latest
consul-k8s
package.$ sudo yum update consul-k8s
(Optional) Issue the
consul-k8s version
command to verify the installation:$ consul-k8s version
consul-k8s 0.39.0