Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Some new features require manual configuration in order to operate properly after the update to the new yuuvis® Momentum version.

Core

Fail-safe AUTHENTICATION Service

In order to enable the shared usage of the session state for multiple instances of the AUTHENTICATION service, the session state has to be stored in a Redis database. In the default configuration of yuuvis® Momentum, the session state is stored by the individual AUTHENTICATION service instances. Thus, in order to enable the central storage of the session state in Redis, manual configuration steps are required.

  • Extend the the authentication-prod.yml configuration file by adding the following two lines:

    Code Block
    languageyml
    spring.session.store-type: redis
    management.health.redis.enabled: true


  • Add the redis profile to the AUTHENTICATION service:
    • Run the command:

      Code Block
      languagebash
      kubectl -n yuuvis edit deploy authentication


    • Extend the environment variable  SPRING_PROFILES_ACTIVE environment variable with redis.
  • Restart all AUTHENTICATION instances of the AUTHENTICATION service instances. E.g., the second instance .
    • For example, instance 2 can be restarted

    via
    • using the following command:

      Code Block
      languagebash
      kubectl -n yuuvis scale deploy authentication --replicas=2