A scheduling feature that lets you control when system updates are applied to your Managed Kafka instance.
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, CLI, or Terraform.
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.
Open your Terraform configuration for the existing Managed Apache Kafka® resource.
Add or update the maintenance_dow
and maintenance_time
arguments.
resource "vultr_database" "kafka" {
# ...existing fields (database_engine, region, plan, label, etc.)
maintenance_dow = "sunday"
maintenance_time = "01:00"
}
Apply the configuration and observe the following output:
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
No comments yet.