The following describes how to upgrade to new versions of Appian on Kubernetes for self-managed customers. This includes upgrades to both the Appian operator and the Appian images.
Download the new Appian operator Helm chart, pull the new Appian operator and Appian container images, and push the new images to your organization's registry.
To upgrade both the Appian operator and Appian images at the same time, you would:
The following describes how to upgrade the Appian operator and Appian custom resource definition (CRD).
With Helm 3, CRDs included in charts are not upgraded when running helm upgrade
. For more information as to why this is the case, refer to Helm's documentation on custom resource definitions. Therefore, the Appian CRD must be extracted from the Appian operator Helm chart and upgraded manually.
The following steps walk through first upgrading the CRD manually, then upgrading the Appian operator.
Decompress / unpack the Appian operator Helm chart by running:
1
tar -xzf appian-operator-<APPIAN_OPERATOR_VERSION>.tgz
The decompressed / unpacked chart contains a crds/
directory that contains the Appian CRD. Upgrade the Appian CRD by running:
1
kubectl replace -f appian-operator/crds/
If you chose to install the Appian operator in a namespace other than the appian-operator
namespace, update the namespace of the Appian operator's conversion webhooks in the Appian custom resource definition:
1
kubectl patch crd appians.crd.k8s.appian.com -p '{"spec":{"conversion":{"webhook":{"clientConfig":{"service":{"namespace":"<NAMESPACE>"}}}}}}'
Upgrade the Appian operator by running helm upgrade
:
1
2
3
helm --namespace appian-operator upgrade appian-operator appian-operator-<APPIAN_OPERATOR_VERSION>.tgz \
--reuse-values \
--wait
If you have restricted the Appian operator's cluster-wide access and installed the operator's controllers in additional namespaces, repeat this step once for each namespace - substituting --namespace appian-operator
with --namespace <NAMESPACE>
.
If you have any trouble upgrading the operator, see Troubleshooting Appian on Kubernetes.
The following steps will upgrade the component images of the Appian site including webapp, data-server, and other components. This is typically done when there are new features released.
.spec.[COMPONENT].image.tag
field to be the new version of the image.If you have any trouble upgrading Appian, see Troubleshooting Appian on Kubernetes.