The rolling upgrade strategy is a Kong Gateway upgrade option specifically designed for DB-less mode, data planes running in hybrid mode, and Konnect. This strategy is meant for nodes that don’t use a database and are independent of each other.
This guide refers to the old version as cluster X and the new version as cluster Y.
The rolling upgrade is a process of continuously adding new nodes of version Y, while shutting down nodes of version X.
flowchart TD
yml[fa:fa-file kong.yml]
CPX(Current
Node X)
CPX2(Current
Node X)
CPX3(Current
Node X)
CPY(New
Node Y)
CPY2(New
Node Y)
CPY3(New
Node Y)
LB(Load balancer)
API(API requests)
API --> LB & LB & LB & LB
LB -.-> CPX
LB -.90%.-> CPX2
LB -.-> CPX3
LB --> CPY
LB --10%--> CPY2
LB --> CPY3
CPX -.- yml
CPX2 -.- yml
CPX3 -.- yml
CPY -.- yml
CPY2 -.- yml
CPY3 -.- yml
style API stroke:none!important
style CPX stroke-dasharray:3
style CPX2 stroke-dasharray:3
style CPX3 stroke-dasharray:3
linkStyle 3,7,8,9,13,14,15 stroke:#b6d7a8!important
Figure 1: The diagram shows a Kong Gateway upgrade using the rolling strategy with no database. New nodes are gradually deployed and pointed to the
kong.ymlfile, while traffic is gradually rerouted to the new nodes.