How to Manage Upgrade Window for Vultr Managed Apache Kafka®

Updated on November 27, 2024

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.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products and select Databases.

    Database selection products menu

  2. Select the target database.

    Selecting a target database

  3. Navigate to Settings, and select Upgrade Window.

    Button to open the upgrade window page

  4. Select a Day of the Week and a Start Time. Click Apply Changes.

    Select a new upgrade window and apply the changes

  1. List all the databases by sending a GET request to the List Managed Databases endpoint and note the target database's ID.

    console
    $ curl "https://api.vultr.com/v2/databases" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a PUT request to the Update Managed Database endpoint to update the upgrade window.

    console
    $ 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"        
    }'
    
  1. List all databases and note the target database's ID.

    console
    $ vultr-cli database list --summarize
    
  2. Update the maintenance day of the week and time.

    console
    $ vultr-cli database update <database-id> \
    --maintenance-dow sunday \
    --maintenance-time 01:00
    

    Run vultr-cli database update --help to view all options.