Database backed Hybrid mode is similar to Traditional mode, but instead of every node reading from the database a single Control Plane is responsible for managing the configuration and distributing it to all active Data Planes.
In Hybrid mode, Kong Ingress Controller uses Gateway Discovery to find the Control Plane and send Kong Gateway configuration to the Admin API. This configuration is persisted to the PostgreSQL database and transmitted to the Data Planes using the Kong Gateway CP/DP protocol.
flowchart LR
A[fa:fa-kubernetes API Server]
KIC1[fa:fa-gateway KIC
(Active)]
KIC2[fa:fa-gateway KIC
(Standby)]
KIC3[fa:fa-gateway KIC
(Standby)]
CP[fa:fa-gateway Control Plane]
DP1[fa:fa-gateway Data Plane]
DP2[fa:fa-gateway Data Plane]
DP3[fa:fa-gateway Data Plane]
DB[(Config
database)]
A-.KIC watches
API server.-KIC1
subgraph B[" "]
KIC1
KIC2
KIC3
note[Deployment with
leader election]
end
subgraph C[" "]
DP1
DP2
DP3
end
KIC1 --> CP
CP --> DP1 & DP2 & DP3
CP --> DB
style B stroke-dasharray: 5 5
style C stroke-dasharray: 5 5
style note stroke:none,fill:none
_Figure 2: Kong Ingress Controller sends configuration to a Control Plane, which distributes configuration to all Data Planes and writes the configuration to the database.