Skip to content

A jenkins job to backup running bitnami Keycloak in a K8s cluster

License

Notifications You must be signed in to change notification settings

hepapi/jenkins-keycloak-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Job for Keycloak Backups

This Jenkins job can be used to backup a Bitnami distribution of Keycloak instance running in a Kubernetes cluster.

Capable of uploading the backup to any S3 compatible storage.

Features

  • 🔒 Creates a separate Keycloak container and connects to same DB to create a backup
    • So that the keycloak instance is unaffected
  • 🔍 Finds the Keycloak image:tag from the running pods and uses the same image for the backup
    • Backups should be made with the same version of Keycloak to avoid compatibility issues
    • You can use this pipeline for any version of Keycloak
  • 💾 Accepts any S3 compatible storage endpoint
  • 🚀 Backups container runs on the Kubernetes cluster, not on the Jenkins server
    • Connects to the DB from the same Kubernetes Node, so no need to expose the DB

Index

Documentation

Files

Next Step

Follow the Implementation Steps page to implement the Keycloak Backups.

About

A jenkins job to backup running bitnami Keycloak in a K8s cluster

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •  

Languages