Upgrading PAM on a Puppet-supported cluster
Upgrade Puppet Application Manager (PAM) on a Puppet-supported cluster to take advantage of new features and bug fixes, and to upgrade your cluster to the latest version of Kubernetes when one is available.
There are four possible upgrade types for Puppet Application Manager installations:
- Online - For standalone or HA installations with a connection to the internet.
- Offline - For air-gapped standalone or HA installations without a connection to the internet.
- Online legacy - For standalone or HA installations created prior to April 2021 with a connection to the internet.
- Offline legacy - For air-gapped standalone or HA installations created prior to April 2021 without a connection to the internet.
How to look up your Puppet Application Manager architecture
kubectl get installer --sort-by=.metadata.creationTimestamp -o jsonpath='{.items[-1:].metadata.name}' ; echo
-
HA architecture:
puppet-application-manager
-
Standalone architecture:
puppet-application-manager-standalone
-
Legacy architecture: Any other value, for example,
puppet-application-manager-legacy
,cd4pe
, orcomply
Upgrade PAM online
Upgrade Puppet Application Manager (PAM) to take advantage of new features and bug fixes, and to upgrade your cluster to the latest version of Kubernetes when one is available.
Make sure you have captured an up-to-date snapshot of your PAM installation, which you can use to fall back the current version if there is an issue with the upgrade process. Learn more about snapshots at Backing up PAM using snapshots.
If you are upgrading from a version of PAM that used Weave (versions 1.100.3 and earlier) to a version of PAM that uses Flannel (versions 1.102.2 and later), pod-to-pod networking now depends on UDP port 8472 being open instead of ports 6783 and 6784.
force-reapply-addons
flag is deprecated and generates a
warning on use. If you are upgrading to a version prior to 1.97.0, you need to add
the force-reapply-addons
flag to the bash
command using the -s
flag.Upgrade PAM offline
Users operating in environments without direct access to the internet must use the links below to upgrade to the latest version of Puppet Application Manager (PAM).
Make sure you have captured an up-to-date snapshot of your PAM installation, which you can use to fall back the current version if there is an issue with the upgrade process. Learn more about snapshots at Backing up PAM using snapshots.
If you are upgrading from a version of PAM that used Weave (versions 1.100.3 and earlier) to a version of PAM that uses Flannel (versions 1.102.2 and later), pod-to-pod networking now depends on UDP port 8472 being open instead of ports 6783 and 6784.
force-reapply-addons
flag is deprecated and generates a
warning on use. If you are upgrading to a version prior to 1.97.0, you need to add
the force-reapply-addons
flag in Step 3 to
the bash
command after -s
airgap
.To upgrade Puppet Application Manager:
http://<PUPPET APPLICATION MANAGER ADDRESS>:8800
- and verify that the new version number is displayed in the bottom left corner of the
web UI. PAM legacy upgrades
The legacy architecture is no longer supported. However, if you have not yet migrated to a supported architecture, you can use this method to upgrade Puppet Application Manager (PAM).
To upgrade a legacy version of Puppet Application Manager on nodes with internet access:
PAM offline legacy upgrades
The legacy architecture is no longer supported. However, if you have not yet migrated to a supported architecture, you can use this method to upgrade Puppet Application Manager (PAM) on offline nodes.
To upgrade Puppet Application Manager on nodes without a connection to the internet: