If we want to upgrade shuffle servers in partition mode, we need to edit the rss object as follows:
.spec.shuffleServer.image
with new image version of shuffle server.spec.shuffleServer.sync
field to true
.spec.shuffleServer.upgradeStrategy
field:.spec.shuffleServer.upgradeStrategy.type
to be PartitionUpgrade
.spec.shuffleServer.upgradeStrategy.partition
field, which has the same meaning as .spec.updateStrategy.rollingUpdate.partition
field in StatefulSet workload (the replicas whose index is less than this value will keep the old version, and the replicas whose index is greater than or equal to this value will be updated to the new version)spec: shuffleServer: image: "${rss-shuffle-server-image}" sync: true upgradeStrategy: type: "PartitionUpgrade" partition: 2
We can refer to the example.