Install a patch release
Big picture
Install an older patch release of Calico Enterprise.
Concepts
Installing a patch release is easy:
- Download and "un-tar" a patch release to a local directory.
- Apply the downloaded manifests.
Before you begin
This feature is:
- Available in 3.0 and later
- Not available for Helm with operator
How to
Go to the Releases tab, and navigate to the appropriate release (3.0 and later).
In the left navigation, click Release notes, and click the link, Release archive.
Untar the release-x.x.x.tgz to a local directory.
tar xzvf release-x.y.z.tgz
- Kubernetes
- OpenShift
- Features
In the patch release archive, navigate to the manifests
folder.
Follow the quickstart installation, making the following changes:
Install Tigera operator and custom resource definitions.
kubectl create -f <your-local-directory-archive>/manifests/tigera-operator.yaml
If you are not using an existing Prometheus operator, install it.
kubectl create -f <your-local-directory-archive>/manifests/tigera-prometheus-operator.yaml
Install Tigera custom resources.
kubectl create -f <your-local-directory-archive>/manifests/custom-resources.yaml
noteFor platforms like AKS or EKS, you must modify the command to be platform specific. EKS example:
kubectl create -f <your-local-directory-archive>/manifests/eks/custom-resources.yaml
In the patch release archive, navigate to the ocp-manifests
folder which contains three folders install-manifests
,
enterprise-resources
, and upgrade-manifests
.
install-manifests
contains all the manifests needed for minimal OCP cluster.enterprise-resources
contains the Calico Enterprise resources.upgrade-manifests
folder contains all the manifests needed for upgrading Calico Enterprise.
Create the cluster by following the standard installation, with the following caveat:
After the Kubernetes manifests directory is generated, copy the files from
install-manifests
instead of downloading the manifests.noteBefore creating the cluster, be sure to add an image pull secret in
install-manifests/02-pull-secret.yaml
Install Calico Enterprise resources:
cd <your-local-directory-archive>/ocp-manifests/enterprise-resources && oc create -f
In the patch release archive, there are additional manifests relating to specific features.
Examples
To apply the patch release for threat defense features.
cd <your-local-directory-archive>/manifests/threatdef && kubectl create -f ejr-vpn.yaml.yaml
cd <your-local-directory-archive>/manifests/threatdef && kubectl create -f tor-exit-feed.yaml