Skip to content

Run msk beta with 2 replicas - #907

Merged
dippindots merged 1 commit into
knowledgesystems:masterfrom
dippindots:msk-beta-replicas-2
Nov 24, 2026
Merged

dippindots merged 1 commit into
knowledgesystems:masterfrom
dippindots:msk-beta-replicas-2

Conversation

@dippindots

Copy link
Copy Markdown
Collaborator

Scales the live msk beta color (eks-msk-beta-blue) from 1 to 2 replicas to reproduce the 7.2.7 SAML login failure seen on msk and genie-private. On 7.2.7, sessions stay in each pod's memory instead of Redis, so the SAML response can reach a pod that never saw the login request.

Expected on 7.2.7 with 2 pods:

  • curl -sD- -o /dev/null https://beta.cbioportal.mskcc.org/saml2/authenticate/cbio-saml-idp | grep -i set-cookie still shows JSESSIONID
  • SAML login fails on some attempts with /login?error ("Invalid credentials"). Try several times in a private window.

Then deploy a build that includes cBioPortal/cbioportal#12530: the cookie should be SESSION, and login should work on every try.

Notes:

  • The msk ingress has no sticky-session annotations, so nginx spreads requests across both pods.
  • The msk import swaps replicas between blue and green and may reset this to 1. Re-check after the next import.

@dippindots
dippindots merged commit d600779 into knowledgesystems:master Nov 24, 2026
3 checks passed
@dippindots
dippindots deleted the msk-beta-replicas-2 branch November 24, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant