A Confluence Data Center Cluster has to be implemented to serve a fluctuating 15000 concurrent users. Kubernetes is chosen as the orchestrator for managing the instances needed for the load. Currently, a cluster is running as a proof of concept with three nodes. All is working fine, except for the administrative functions.
When secure administration sessions are turned on in the security configuration, there are issues regarding a security token that is invalid when making any change. After some research, this issue is most probably in relation to the WebSudo token that is sent in the request. When secure administration sessions are turned off, changes show an error that the session has expired.
Because of the load balancer that is on top of the three pods that are running, there is a small possibility that the request is sent to the same instance as before. In that case, it is actually possible to make changes. Based on this, there is probably a key for the administrative functions that is stored on the instance and is not shared between.
How should this issue be fixed? What is the location of the keys of the adminstrative functions an could it be volume mounted between pods?
Hi Tom,
Just to be sure, did you configure session affinity? You should configure the setup in away that once logged-in the session is always sent to the same node.
Reto
Hi,
I added the sessionAffinity to the definition.
spec:
sessionAffinity: ClientIP
sessionAffinityConfig:
clientIP:
timeoutSeconds: 900
Any recommendation on value for timeoutSeconds? Since this will also be used for regular users not using the administrative functions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's a tricky question.
The websudo will last for 10 minutes by default.
The user session on Confluence will be maintained over 60 minutes of inactivity by default.
Depending on your security requirements this might change.
If you keep the defaults, I would keep the session affinity slightly higher than 60 minutes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tom,
Could you share with us your k8s manifest? What cluster discovery mode you are using and how you configured cluster peers.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, would like to see the manifest as well...
We got some problem with cluster discovery mode in GCP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.