Vultr Managed Apache Kafka® allows customers to set and customize their upgrade schedule by selecting the preferred day of the week and time. This flexible interface gives users control over when system upgrades occur, ensuring minimal disruption to their operations. Customers can easily adjust the upgrade window to fit their workflow and ensure their Kafka database remains up-to-date without impacting critical tasks.
Follow this guide to manage upgrade window for Vultr Managed Apache Kafka® using the Vultr Customer Portal, API, and CLI.
Navigate to Products and select Databases.
Select the target database.
Navigate to Settings, and select Upgrade Window.
Select a Day of the Week and a Start Time. Click Apply Changes.
List all the databases by sending a GET
request to the List Managed Databases endpoint and note the target database's ID.
$ curl "https://api.vultr.com/v2/databases" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a PUT
request to the Update Managed Database endpoint to update the upgrade window.
$ curl "https://api.vultr.com/v2/databases/<database-id>" \
-X PUT \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"maintenance_dow" : "tuesday",
"maintenance_time" : "13:00"
}'
List all databases and note the target database's ID.
$ vultr-cli database list --summarize
Update the maintenance day of the week and time.
$ vultr-cli database update <database-id> \
--maintenance-dow sunday \
--maintenance-time 01:00
Run vultr-cli database update --help
to view all options.