Skip to content

Latest commit

 

History

History

partition-upgrade

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Specific Upgrade of Shuffle Servers

If we want to upgrade shuffle servers in partition mode, 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 to true
  • update .spec.shuffleServer.upgradeStrategy field:
    • set .spec.shuffleServer.upgradeStrategy.type to be PartitionUpgrade
    • update .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.