...
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 authentication-prod.yml configuration file by adding the following two lines:
Code Block language yml spring.session.store-type: redis management.health.redis.enabled: true
- Add the
redis
profile to the AUTHENTICATION service:Run the command:
Code Block language bash kubectl -n yuuvis edit deploy authentication
- Extend the environment variable
SPRING_PROFILES_ACTIVE
withredis
.
Restart all AUTHENTICATION service instances. E.g., the second instance can be restarted via the command:
Code Block language bash kubectl -n yuuvis scale deploy authentication --replicas=2