Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonswine/poc-mongo-migrate-accros-clusters
https://github.com/simonswine/poc-mongo-migrate-accros-clusters
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/simonswine/poc-mongo-migrate-accros-clusters
- Owner: simonswine
- Created: 2016-08-08T15:56:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:39:42.000Z (about 2 years ago)
- Last Synced: 2023-03-11T19:37:09.195Z (almost 2 years ago)
- Language: Makefile
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stateful app migration A=>B
## Mongo PoC
* See [slides](https://docs.google.com/presentation/d/1n-ecaRCtU34XAsNVBpBm6OwQyIxb-jki8AQPVUXP954/edit?usp=sharing
## [Makefile](yaml/Makefile) approach
* `10_create_volumes` creates AWS ebs volumes in right AZ
* `20_create_app_in_A` creates mongo in cluster A
* `30_enable_mongo_rs` enables replicaset for mongo
* `40_enable_svc_in_B` creates duplicated services in cluster B
* `50_prepare_svc_in_A` migrates to empty selector services in cluster A
* `60_remove_pod_A` removes pod A from client facing service
* `61_remove_pod_B` removes pod A from client facing service
* `62_scale_down` scale down pod A in cluster A
* `63_move` move pv,pvc,demployment from A to B
* `64_scale_up`: scale up pod A in cluster B
* `65_update_endpoints_in_A` Update service endpoints in Cluster A
* `66_update_endpoints_in_B` Update service endpoints in Cluster B