If we want to upgrade shuffle servers by specifying replicas, we need to edit the rss object as follows:
- update
.spec.shuffleServer.image
with new image version of shuffle server - set
.spec.shuffleServer.sync
field totrue
- update
.spec.shuffleServer.upgradeStrategy
field:- set
.spec.shuffleServer.upgradeStrategy.type
to beSpecificUpgrade
- update
.spec.shuffleServer.upgradeStrategy.specificNames
field, which means the pod name we want to upgrade
- set
spec:
shuffleServer:
image: "${rss-shuffle-server-image}"
sync: true
upgradeStrategy:
type: "SpecificUpgrade"
specificNames: [ "rss-shuffle-server-demo-0" ]
We can refer to the example.