Upgrade: Kubernetes Operator Offline
Prerequisites
- Confirm there is 3gb of available space on the mount where the Installation TGZ will be moved
- Access to the Linux VM where the original vFunction Server was installed (with kubectl and access to the Kubernetes Cluster)
- Add the new vFunction Container Images from the Upgrade TGZ to the Container Repository
- Gather the most recent MySQL Nightly Backup from the vfunction-mysql Persistent Volume in the /opt/vfunction/backup/ directory. This can be used to rebuild the environment if all else fails
Upgrade Steps
- Download the vFunction Server Operator Kubernetes Offline Installation TGZ
- SCP the Server TGZ package to the Linux VM where the initial vFunction Server Installation was performed
- Move the Server TGZ to the same location where the vfunction-server-for-kubernetes directory was initially created
- Unpack the Server TGZ package. Note that there is no need to backup the previous folder as the upgrade script will retrieve required values about the previous installation from the cluster
### Replace VERSION with the release version, such as "4.2.1723"
tar -xvzf vfunction-server-offline-installation-kubernetes.vVERSION.tgz
- Run the Upgrade Script
### Replace NAMESPACE with the Namespace used previously for the vFunction Server
cd vfunction-server-for-kubernetes
bash upgrade.sh -n NAMESPACE