Upgrading the Anjuna Nitro Kubernetes Toolset

Follow these procedures when you need to upgrade the toolset.

To upgrade the Anjuna Nitro Kubernetes Toolset, first download the desired version of the Anjuna Nitro Kubernetes Toolset tarfile from the Anjuna Resource Center.

Tearing down resources

Change your working directory to the "anjuna-tools" directory of your previous version of the Anjuna Nitro Kubernetes Toolset deployment:

$ cd [previous deployment dir]/anjuna-tools

If you used Helm to deploy your older version of the Anjuna Nitro Kubernetes Toolset, follow the Helm teardown instructions in the Tearing down the Anjuna Nitro Kubernetes Toolset section.
Otherwise, follow the Manual teardown instructions in the Tearing down the Anjuna Nitro Kubernetes Toolset section.

Do not delete the K8s TLS secret as instructed as the first step under the Tearing down the Anjuna Nitro Kubernetes Toolset section; only follow the steps under the Helm teardown or Manual teardown headings.

Upgrading procedure

Change your directory to the directory containing the newer version of the Anjuna Nitro Kubernetes Toolset tarfile.

Follow the Prepare the workspace instructions in the Preparing the environment section.

Follow the instructions in the Creating the Anjuna Docker images section.

From the anjuna-tools directory of your previous version of the Anjuna Nitro Kubernetes Toolset deployment, find the webhook-tls directory containing the Anjuna Nitro Webhook TLS certificate and key. Copy it to the anjuna-tools directory of the new version of the Anjuna Nitro Kubernetes Toolset deployment:

$ cp -r \
      [old deployment dir]/anjuna-tools/webhook-tls \
      webhook-tls

Create an environment variable to store a base64-encoded version of the CA certificate:

$ export CA_BUNDLE=$(cat webhook-tls/caBundle.txt)

If you want to use Helm, follow the Helm deployment instructions in the Configuring the Anjuna Nitro Kubernetes Toolset section.
Otherwise, follow the Manual deployment instructions in the Configuring the Anjuna Nitro Kubernetes Toolset section.

Follow the instructions in the Deploying the Anjuna Nitro Kubernetes Toolset section.