Kubernetes Simulator

advanced · ~10 min

One server first

arena-server 1.1 changes the netcode. If it's wrong, every match drops at once — so it goes to one server first, and the others wait.

A StatefulSet updates from the highest ordinal down. updateStrategy.rollingUpdate.partition: N holds every pod below ordinal N on the old version: with 3 servers and a partition of 2, only arena-2 takes 1.1. Set the partition *before* the new image, or all three roll.

Objectives

  • arena-2 runs 1.1
  • arena-0 and arena-1 stay on 1.0, all three ready
  • Bonus: Watch it with kubectl rollout status sts/arena

Best on a computer with a keyboard. It works on a phone, with shortcuts under the terminal.