Este conteúdo não está disponível no idioma selecionado.

Chapter 1. High availability overview


Explore the different Red Hat build of Keycloak high-availability architectures.

Red Hat build of Keycloak can be deployed in a number of high-availability architectures, allowing system administrators to pick the deployment type most suitable for their needs. Ease of deployment, cost and fault-tolerance guarantees are important considerations when determining the correct architecture for your deployments.

Any Red Hat build of Keycloak deployment must be installed on a properly configured OpenShift cluster that has been configured per the OpenShift installation instructions. For any Red Hat build of Keycloak installations on OpenShift clusters that span multiple sites (i.e. single cluster or multi-clusters across multiple availability zones) the OpenShift cluster must adhere to the Guidance for Red Hat OpenShift Container Platform Clusters.

Ultimately high availability architectures involve many components in addition to the software running and the responsibility for availability of the service is with the customer. This guide has recommended practices for using the Red Hat build of Keycloak in such high availability architectures.

1.1. Architectures

This document describes two high availability architectures in which to deploy Red Hat build of Keycloak: Single-cluster deployments and multi-cluster deployments.

1.1.1. Single-cluster deployments

Deploy Red Hat build of Keycloak in a single cluster, optionally across multiple availability-zones or data centers with the required network latency and database configuration, using Single-cluster deployments.

Advantages
  • No external dependencies
  • Deployment in a single OpenShift cluster
  • Tolerate availability-zone failure or data center failure, if deployed to multiple availability zones or data centers
Disadvantages
  • OpenShift cluster is a single point of failure:

    • Control-plane failures could impact all Red Hat build of Keycloak pods

1.1.2. Multi-cluster deployments

Connect two Red Hat build of Keycloak clusters deployed for example in different OpenShift clusters in two availability zones or data centers with the required network latency and database configuration using Multi-cluster deployments.

Advantages
  • Tolerate availability-zone failure
  • Tolerate OpenShift cluster failure
  • Bridge two networks that do not offer transparent networking
  • Regulatory compliance when distinct deployments are required
Disadvantages
  • Complexity:

    • External load-balancer required
    • Separate Data Grid cluster required on each site
  • Cost:

    • Additional load-balancer required
    • Additional compute is required for external Data Grid clusters
    • Two OpenShift control-planes must be provisioned
  • Not supported with three or more availability zones

1.1.3. Next Steps

To learn more about the different high-availability architectures and their supported configurations, please consult the individual chapters.

Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat