This topic describes how to upgrade Tanzu Cloud Service Broker for Azure.
New Redis v6 is now available through Cloud Service Broker for Azure.
Note: All brokerpak-provided plans set the Redis version to v4 to maintain compatibility with the instances already created. These plans are deprecated and will be removed from the brokerpak in future releases in favor of custom-defined plans in the tile. VMware recommends that you update all instances to use custom-defined plans instead.
To update to Redis v6:
Before updating the Redis version, make sure you read the Microsoft Azure upgrade recommendations and understand any possible consequences to the service.
Identify the instance that you want to update to use Redis v6.
Identify the plan used to create the instance by running:
cf service INSTANCE-NAME
Where INSTANCE-NAME
is the name of the service to be updated.
Find the plan definition of the plan you identified. If it is a custom plan, you can find its definition in the tile configuration. If is is a brokerpak-provided plan, you can find the corresponding properties in the brokerpak definition.
If the plan is a custom plan, you can update the instance to use Redis v6 by running:
cf update-service INSTANCE-NAME -c '{"redis_version": "6"}'
Where INSTANCE-NAME
is the name of the service to be updated.
If the plan is a brokerpak-provided one, you can either define a plan with or without a specified Redis version. Choose one of the following options:
Option 1: Define the custom-created plan with a specified Redis version.
Define a custom plan that specifies the Redis version. For example:
{
"name": "custom-plan-v6",
"id": "ba3d28f0-6b17-11ed-91ca-1f5af50ef86f",
"description": "Custom plan",
"sku_name": "Basic",
"family": "C",
"capacity": 1,
"tls_min_version": "1.2",
"firewall_rules": [],
"redis_version": "6"
}
Important: All other service properties must match the plan the instance is already on. If you set the redis_version
property in the plan, users cannot change that property during create or update instance operations.
Update the instance to the new plan by running:
cf update-service INSTANCE-NAME -p NEW-PLAN-NAME
Where NEW-PLAN-NAME
is the name of the plan created in previous step.
Option 2: Define a custom-created plan without a specified Redis version.
Define a custom plan that does not specify the Redis version. For example:
{
"name": "custom-plan-v6",
"id": "ba3d28f0-6b17-11ed-91ca-1f5af50ef86f",
"description": "Custom plan",
"sku_name": "Basic",
"family": "C",
"capacity": 1,
"tls_min_version": "1.2",
"firewall_rules": []
}
Important: All service properties, other than name
, id
and description
must match the plan the instance is already on.
Update the instance to the new plan by running:
cf update-service INSTANCE-NAME -p NEW-PLAN-NAME -c '{"redis_version": "6"}'
Where NEW-PLAN-NAME
is the name of the plan created in previous step.
To upgrade the Cloud Service Broker for Azure to a later version: