You can upgrade Spring Cloud Services for VMware Tanzu v3.x to the latest version.
In SCS v3.2, Config Server uses main
as default label, instead of master
in earlier versions. If all your service instances are configured with a label explicitly, the upgrade can be done simply by running upgrade-all-instances
errand during 3.2.x tile installation or after. But if the service instances have been relying on the default value (master
) for the label, you might need to take the following actions before running the upgrade-all-instances
errand:
Git backends: Config Server tries a branch named main
first. If main
branch does not exist, it will also try to checkout a branch named master
. If you want avoid the fallback call and let Config Server find the default label in the first attempt, you can do one of the followings:
master
branch to main
, if the git repository is only used by SCS v3.2.main
from the existing master
branch, if the git repository is used by both SCS v3.1 and v3.2.label
to master
explicitly.master
label using spring.cloud.config.label
.CredHub backends: You need to update all secrets by replacing master
with main
in their path. Alternatively, you can configure the client applications to use master
label via spring.cloud.config.label
.
SCS v3.2 utilizes the Jammy stemcell, which is larger than the now-unsupported Xenial stemcell in v3.1. Some customers have encountered upgrade errors due to lack of disk space.
In addition to increasing available space on the underlying diego cells, it can be helpful to upgrade at a slower rate than the standard 5 concurrent upgrades via the upgrade-all-instances
errand, either by upgrading sequentially via cf update-service <SI> -c '{"upgrade": true}'
or setting the upgrade count to a smaller number through the "concurrent service instance upgrade" setting.
It is also sometimes necessary to restart the backing applications after an instance upgrade has failed to completely clear the failed upgrade status before retrying.
Spring Cloud Services v3.x includes a new Service Registry service, named p.service-registry
instead of p-service-registry
as in earlier versions. It also includes a new Config Server service, named p.config-server
instead of p-config-server
as in earlier versions.
The p.config-server
service can be offered alongside, but does not replace, earlier versions of Config Server. VMware recommends deactivating the older p-config-server
service after installing Spring Cloud Services v3.1 (which includes the p.config-server
service).