how do you guys deploy fusionaith with multiple pod in kubernetes?
Issue: it getting error in login page "You must log in to access that page" when deploy more than 1 pod in EKS
However, it works fine if only 1 pod have
here is my setup
EKS: 1.20
Fusionauth: 1.15.8
Aurora mysql: 5.6
I know the 1.15.8 is really old, but we cannot upgrade for company issue..
deploy.yaml
(ref https://github.com/FusionAuth/fusionauth-issues/issues/113 i have try both use pods name or ip address as below setup to make fusionauth_url can connect the other)
- name: MY_POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP- name: FUSIONAUTH_URL
value: $(MY_POD_IP):9011
- name: FUSIONAUTH_URL
also exec into one of fusionauth pod and do the curl with <ip>:9011 . it successfully access to the other fusionauth pod
log from pod 1
After deploy, it is able to see from the log, the fusionauth_url set to the right address
log from pod2
it seems work, but cannot login, and the log didn't have any response either.
Not sure if the root cause is the version too old. I try 1.30.1 successfully runing with multi pods.
any suggestion for the old version?
thanks