Enable the ROUTE_ADC_BACKUP Flag
-
Login to the MongoDB interactive shell:
kubectl exec -it mongodb-0 -n avx -- mongo --authenticationDatabase admin -u admin -p `grep "mongo" ~/appviewx/.appviewx_configuration | cut -d "=" -f 2` appviewx -
Enable the routing flag:
db.getCollection('avx_app_metadata').updateOne( { "_id": "ROUTE_ADC_BACKUP" }, { $set: { "description": "Route ADC Backup adc-device-backup-bot pod", "subsystem": "adc", "value": "true" } }, { upsert: true } )Note: Backup requests will be routed to the avx_device_backup_bot pod only if theROUTE_ADC_BACKUPflag is set totrue.
