Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 2.15 KB

File metadata and controls

56 lines (33 loc) · 2.15 KB

Multi-cluster governance with Tanzu Mission Control

Start here.

Then acquaint yourself with the concepts.

Put a workload cluster under management

We're going to attach a workload cluster to Tanzu Mission Control.

Authenticate

Here's a sample interaction

ubuntu@ip-172-31-25-21:~$ tmc login
i If you don't have an API token, visit the VMware Cloud Services console, select your organization, and create an API token with the TMC service roles:
  https://console.cloud.vmware.com/csp/gateway/portal/#/user/tokens
? API Token ****************************************************************
? Login context name pacphi
? Select default log level info
? Management Cluster Name zoolabs-mgmt
? Provisioner Name pacphi

Create a cluster group

Groups are used to coalesce and manage workload clusters

tmc clustergroup create --name {NAME} --description "{DESCRIPTION}"

You may also do this from the UI

Attach a workload cluster

tmc cluster attach -g {GROUP} -n {NAME} -o {NAME}-tmc-attach-k8s-manifest.yml
kubectl apply -f  {NAME}-tmc-attach-k8s-manifest.yml

Refer to What Happens When You Attach a Cluster

You may also do this from the UI

Implementing policy management across clusters

Consult Policy-driven cluster management.

Peruse this git repository for some examples to get started with.