Search…
2.10.X
Multi-Cluster Management
This page describes MultiCloud Management through the Trilio Management console and explains how to connect TVK clusters together.

Overview

Trilio supports multi-cloud management (MCM) by allowing users to manage multiple TVK instances via its management console. As a result, application and data management between multiple Kubernetes clusters is simplified via a single pane of glass.
Trilio's MCM feature is built on a peer-to-peer model. Any cluster can be the primary cluster and any cluster can be the secondary cluster as per the users preference. Since Trilio's management console is completely stateless and aligned with Kubernetes RBAC, each user can connect clusters as per their RBAC and that view will be saved specifically for that user upon next login.
For example - Let's assume there are two users User1 and User2 with access to 5 Kubernetes clusters (Cluster1 through Cluster 5).
  1. 1.
    User 1 connects Cluster 3 and 5 to cluster 1 (primary) providing their kubeconfig for those clusters - This information will be saved and loaded every time the user logs into the primary instance via their kubeconfig
  2. 2.
    User 2 connects Cluster 1 and 4 to cluster 2 (primary) providing their kubeconfig for those clusters. This information will be saved and loaded every time the user logs into the primary instance via their kubeconfig
As a result, the management console becomes extremely flexible and aligned with each users view of their Kubernetes landscape (some Cluster 1 users may have access to Cluster 2, but not all) by providing them a lens into their specific clusters and not hardcoding a specific topology to align with.

Pre-requisites

  1. 1.
    TVK must be installed in the Kubernetes cluster
  2. 2.
    Web console for the TVK instance must be setup and configured before connecting it to another TVK console.
  3. 3.
    User connecting a cluster must provide a kubeconfig file to connect to the cluster
    1. 1.
      The kubeconfig file must have the correct access permissions for accessing the TVK instance in that cluster.

Adding Clusters

  1. 1.
    Ensure that you have access to the Management Console UI. Refer to Configuring the UI.
  2. 2.
    TVK supports authentication via KubeConfig files and via Dex, which is an identity service IDP plugin for other identity providers. To add clusters using LDAP and OIDC (Google SSO) authentications, you must first configure this. Refer to UI Authentication.
  3. 3.
    Carefully perform each step described in Adding New Clusters.
  4. 4.
    Ensure that you have a suitable license. Refer to Actions: License Update.
If a user is trying to connect the TVK UI of the primary cluster running on HTTP protocol to the TVK UI of secondary cluster running on HTTPS protocol then connection would fail to auto-populate the Kubernetes Distribution Type and load the different authentication options from Dex. Please follow this section to workaround this scenario.

Editing or Deleting a cluster

Connected TVK clusters can be edited or deleted from a TVK management console
  1. 1.
    Click Primary (needed to enable MCM functions)
  2. 2.
    Click the 3 dots next to the cluster you want to edit or delete
Edit or Delete a cluster within TVK Management Console
Multiple Versions
TrilioVault for Kubernetes management console supports connecting different versions of TVK clusters. In general, the primary cluster features will supersede the visualization in the console and the connected clusters will align with those features.
When connecting TVK clusters of different versions the following message will be shown: