Uninstall High Availability cluster
Remove the
FactoryTalk® Optix™
High Availability application stack, K3s cluster, and local manager data.
IMPORTANT:
Persistent Volume Claims (PVC) are deleted during uninstallation. All
database data is lost, including uploaded projects. Back up any required data before
proceeding. Rehost entitlements by using High Availability Manager or Entitlement Manager,
depending on how they were installed.
Ensure that kubectl and Helm are installed on your Windows management workstation and that kubectl is configured to connect to the target cluster.
IMPORTANT:
Rockwell Automation
is not responsible for any third-party software, including but not limited to its
performance, security, updates, or compatibility with our products. Any use of third-party
software is at your own risk, and we do not provide support, warranties, or guarantees for
such software. Users should refer to the respective third-party providers for assistance and
licensing terms.Complete all parts of this task to fully remove the application stack, the K3s cluster, and local High Availability Manager data.
- To remove the application stack, run the following commands from the Windows management workstation.
- To remove the core High Availability application, runhelm uninstall ftoptix -n ftoptix.
- To remove the database stack, runhelm uninstall ftoptix-db -n ftoptix.
- To delete leftover MariaDB custom resources in the application namespace, runkubectl api-resources --api-group=k8s.mariadb.com --namespaced=true -o name | ForEach-Object { kubectl delete $_ -n ftoptix --all --ignore-not-found --timeout=60s }.
- To delete Persistent Volume Claims, including project and log volumes, runkubectl delete pvc -n ftoptix --all --ignore-not-found.
- To delete the application namespace, runkubectl delete namespace ftoptix.
- To uninstall the MariaDB operator, runhelm uninstall mariadb-operator -n mariadb-system.
- To delete the MariaDB custom resource definitions, runkubectl get crd -o name | Select-String "k8s.mariadb.com" | ForEach-Object { kubectl delete $_ --ignore-not-found }.
- To delete the MariaDB operator namespace, runkubectl delete namespace mariadb-system.
- To prune container images related toFactoryTalk Optix, on each node run the following command.sudo ctr -n k8s.io images ls | grep -E "ra-swc|mariadb|proxysql|busybox" \ | awk '{print $1}' | xargs -r sudo ctr -n k8s.io images rm
- To remove the K3s cluster, on each Ubuntu node run the matching uninstall script.
- On a server node, runsudo /usr/local/bin/k3s-uninstall.sh.
- On an agent node, runsudo /usr/local/bin/k3s-agent-uninstall.sh.
- To remove Keepalived, on each Ubuntu node runsudo apt-get purge -y keepalived.
- To remove local application data, close High Availability Manager, then delete%LOCALAPPDATA%\Rockwell Automation\FactoryTalk Optix High Availability Manager.IMPORTANT: Close High Availability Manager before you delete the folder.
The High Availability application stack, K3s cluster, and local manager data are removed.
Provide Feedback