This is a cache of https://docs.openshift.com/serverless/1.28/knative-serving/config-ha-services/ha-services-overview.html. It is a snapshot of the page at 2024-11-25T17:14:34.620+0000.
High availability for Knative <strong>service</strong>s overview - Configuring high availability for Knative <strong>service</strong>s | Serving | Red Hat OpenShift Serverless 1.28
×

High availability (HA) is a standard feature of Kubernetes APIs that helps to ensure that APIs stay operational if a disruption occurs. In an HA deployment, if an active controller crashes or is deleted, another controller is readily available. This controller takes over processing of the APIs that were being serviced by the controller that is now unavailable.

HA in OpenShift Serverless is available through leader election, which is enabled by default after the Knative Serving or Eventing control plane is installed. When using a leader election HA pattern, instances of controllers are already scheduled and running inside the cluster before they are required. These controller instances compete to use a shared resource, known as the leader election lock. The instance of the controller that has access to the leader election lock resource at any given time is called the leader.