Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rgolangh/migration-cluster-day2
https://github.com/rgolangh/migration-cluster-day2
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rgolangh/migration-cluster-day2
- Owner: rgolangh
- License: apache-2.0
- Created: 2024-09-19T15:45:27.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T12:46:32.000Z (2 months ago)
- Last Synced: 2024-11-13T13:46:49.750Z (2 months ago)
- Language: HTML
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# migration-cluster-day-2
The Day-2 configuration of a cluster for migration is setup using an ArgoCD application.
See the installation instruction in charts/migration-cluster-day-2/README.mdThis repo maintains 2 components:
- the ArgoCD helm application in charts/migration-cluster-day-2
- the mtv-init application> [!Note]
> 2 things that must be set for the argo application to deploy properly:
> 1. an annotation on resources which need their CRD by prior waves. For example
> the LVMCluster have this:
> ```
> annotations:
> argocd.argoproj.io/sync-wave: "2"
> argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
> ```
>
> This makes sure the wave is after the operator is deployed so the CRD is there
> and that the CRD is okay to be missing in the dry run check
>
> 2. Every target namespace we create needs this label so ArgoCD will have permissions to create resources there:
> ```
> labels:
> argocd.argoproj.io/managed-by: openshift-gitops
> ```# Architecture
> [!Note]
> Needs an update```mermaid
architecture-betagroup srcDC[VSPhere]
group agent(cloud)[Agent VM] in srcDC
service agentd(server)[Agent] in agent
group amservice(cloud)[Assisted Migration Service]
service amserviced(server)[AMService] in amservice
service db1(database)[Database] in amservicegroup targetcluster[Target Cluster]
group mta(server)[MTA] in targetcluster
service mtaAPI[migration CRD] in mta
``````mermaid
architecture-betaMA[mtv-init Service]
MA --> MB[HTTP API: /, /upload, /vmware, /vmware/done]
MB --> MC[vddk-task Job]
MC --> MD[Download vddk.tar.gz]
MC --> ME[Trigger vddk build config
to build image]ME --> MF[vddk build config]
MC --> MG[Update MTV Operator Resource
with vddk Image URL]
MG --> MH[mtv-operator Resource]
```