Enable the ROUTE_ADC_BACKUP Flag

  1. 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
  2. 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 the ROUTE_ADC_BACKUP flag is set to true.