tree: ae3088c54ace5f7e4338957a230b5890317bff34 [path history] [tgz]
  1. README.md
  2. rss-partition-upgrade.yaml
deploy/kubernetes/operator/examples/partition-upgrade/README.md

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.