You can edit the configuration of a cluster to change the namespace exclusions defined for the cluster.
When you onboard a cluster, you can choose to install Tanzu Service Mesh in all the namespaces on the cluster or exclude some of the namespaces from the installation by defining namespace exclusions. After the cluster is onboarded, you may need to add new namespace exclusions or edit existing ones.
For example, you have deployed a third-party security plugin in a namespace on the cluster and don't want Tanzu Service Mesh to manage that plugin. For this example, to prevent Tanzu Service Mesh from being enabled in the namespace where the plugin is deployed, you would edit the cluster configuration to add an appropriate namespace exclusion.
Prerequisites
-
If you want to enable Tanzu Service Mesh only in some of the namespaces of the cluster, decide beforehand which namespaces you want to exclude from Tanzu Service Mesh.
Procedure
Results
The message Cluster {name} updated successfully appears in the lower-left corner of the Tanzu Service Mesh Console.
When you create namespaces on the cluster, Tanzu Service Mesh will be automatically enabled in them unless they match any of the namespace exclusions that you have defined for the cluster.