Update or Disconnect a Cluster

Magalix Agent upgrades and removal

Agent Upgrade

We currently do not have an automated mechanism to upgrade the agent pod. To upgrade or apply changes to an agent instance, please download the latest YAML file and re-apply it inside the cluster. Once the below command is executed, the pod will restart and the latest official image will be applied.

    kubectl apply -f <agent-manifest.yaml>

    Let Magalix help you implement best practices for Kubernetes and cloud-native, with your team. explore what you can do with Magalix Console


    Disconnect a Cluster and Uninstall the Agent

    A cluster disconnection means that its definition and all relevant data are not accessible anymore. Once it is disconnected, Magalix backend will not receive any metrics and all cluster data will be deleted from Magalix backend. Please note, your cluster will not be impacted in any way by disconnecting it. To ensure the cluster is fully disconnected you’ll need to perform the steps below. 

    Uninstall Magalix Agent

    Removing the agent from your cluster is a simple kubectl command.

      kubectl delete deployment magalix-agent --namespace kube-system

      Disconnect Cluster

      Disconnecting your cluster from the Console is a simple process.

      1. Go to home dashboard 
      2. Click on the cluster's card side drop-down menu
      3. Select “Disconnect” 

      Magalix dashboard - how to disconnect a kubernetes cluster

      Once a cluster is disconnected all cluster's data will be erased, you cannot recover the cluster.