https://github.com/bmoussaud/tmc-gitops-demo
Tanzu Mission Control & GitOps it's possible.
https://github.com/bmoussaud/tmc-gitops-demo
gitops tanzu
Last synced: 2 days ago
JSON representation
Tanzu Mission Control & GitOps it's possible.
- Host: GitHub
- URL: https://github.com/bmoussaud/tmc-gitops-demo
- Owner: bmoussaud
- Created: 2021-05-12T13:10:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-21T13:26:38.000Z (over 4 years ago)
- Last Synced: 2025-09-21T05:42:14.529Z (4 months ago)
- Topics: gitops, tanzu
- Language: Shell
- Homepage:
- Size: 299 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# tmc-gitops-demo
This is a demo repo that showcases how the GitOps model might be used to create/manage TMC objects like LCM clusters, policies etc.
Tested with
* tmc version: 0.2.1-7e9c62fc
* clustergroup
* cluster
* workspace
* namespaces
* policies: IAM, Registry, Network
Based on the [video](https://youtu.be/_ROS1xIBxmA) by [Keith Richard Lee](https://github.com/KeithRichardLee)
# Before
1. Create the Cluster Group defined in [tmc-objects/clustergroups/dev.yaml](tmc-objects/clustergroups/dev.yaml)
2. Create the dev cluster defined in [tmc-objects/clusters/dev-cluster-01.yaml](tmc-objects/clusters/dev-cluster-01.yaml)
# Demo
1. Update the Cluster Group defined in [tmc-objects/clustergroups/dev.yaml](tmc-objects/clustergroups/dev.yaml)
2. Create a new Cluster: duplicated the file [tmc-objects/clusters/dev-cluster-01.yaml](tmc-objects/clusters/dev-cluster-01.yaml) and change its name (#3)
3. Create a new Workspace [tmc-objects/workspaces/micropet-dev-ws.yaml](tmc-objects/workspaces/micropet-dev-ws.yaml)
4. Create a namespace into this Workspace [tmc-objects/namespace/micropet-ns-dev.yaml](tmc-objects/namespace/micropet-ns-dev.yaml)
4. Apply policies on clusters : access, images, network directory
5. Upgrade the demo cluster from `1.19.4-1-amazon2` -> `1.19.6-2-amazon2`
6. Walkthrough UI.
# After the demo
````
./clean.sh
`````