[keycloak-user] how to handle upgrade for Keycloak docker deployment

Ioan Eugen Stan ieugen at netdava.com
Sat Oct 27 04:16:38 EDT 2018


Hello,

Thank you Graham. I also upgrade from 4.0 up to 4.5 going through all the versions. Things seem to work ok but I asked because there is that chance of not being ok. I've read the upgrade docs and they do mention those steps so I imagine that is jot by accident.

It would be great if the docs where enhanced to cover this case as well.

Thank you,

Eugen Stan
Netdava International


	  Mesaj original  



De la: graham.burgess at razer.com
Trimis: 26 octombrie 2018 18:24
Către: ieugen at netdava.com; keycloak-user at lists.jboss.org
Subiect: RE: [keycloak-user] how to handle upgrade for Keycloak docker deployment


I rolled from 4.4 to 4.5 without thinking about any steps. I am running the container using the Helm chart for Kubernetes with some addons for the database but nothing that seems to need anything special for upgrades.

 Best regards,
 Graham Burgess
 RΛZΞR|stormmore
 Sr. DevOps Engineer (USA)
 Email: graham.burgess at razer.com
 DID: (415) 374 0639
 Razer Inc. Stock Code: 1337.HK
 IMPORTANT NOTICE: This e-mail may be confidential, legally privileged or otherwise protected from disclosure. If you are not an intended recipient, do not copy, distribute or use its contents. Do inform the sender that you have received the message in error and delete it from your system. E-mails are not secure and may suffer errors, computer viruses, delay, interception and amendment. Razer accepts neither risk nor liability for any damage or loss caused by this e-mail. To the extent permitted by applicable law, Razer reserves the right to retain, monitor and intercept e-mails to and from its systems.

 -----Original Message-----
 From: keycloak-user-bounces at lists.jboss.org <keycloak-user-bounces at lists.jboss.org> On Behalf Of Eugen Stan
 Sent: Friday, October 26, 2018 8:01 AM
 To: keycloak-user <keycloak-user at lists.jboss.org>
 Subject: [keycloak-user] how to handle upgrade for Keycloak docker deployment

 Hello,

 What are the steps to upgrade a Keycloak Docker deployment? The steps in [upgrade-guide] are valid for normal deployments.

 Docker upgrades can simply be done by changing the version number.

 I know some steps are necesary. I also know that databse migration can be handled by Keycloak automatically.

 What about the other steps?

 TLDR:

 We are using keycloak to secure some of our services. We have deployed it via Docker, following the instructions on [keycloak-docker].

 However, there is something that bugs me: How to to upgrades.

 I've read the [upgrade-guide] and the steps are:

 - stoping the server

 - run some script

 - start the server (to do databasse migrations).

 Our setup is simple, we have a single keycloak instance with PostgtreSQL and no changes other than a custom theme.


 [keycloak-docker] https://hub.docker.com/r/jboss/keycloak/

 [upgrade-guide] https://www.keycloak.org/docs/4.5/upgrading/

 Thanks,

 Eugen





More information about the keycloak-user mailing list