console
console copied to clipboard
Error in accessing minio console behing load balancer
I have k8s environment where there are 4 minio pods running. The k8s has a service for port 9443 which is binds to all 4 pods. I use istio service mesh to expose the virtual service to outside with a DNS name.
When I access the console UI it shows me login screen when I type accesskey/secretkey it repeatedly goes to login screen itself. Looks like the request is going to any of the 4 pods and session is not synchronized between the pods.
When I use mc command to interact everything is fine.
Here is my setup details:
mc admin info ostore
● ostore-ss-0-0.ostore-hl.ostore.svc.cluster.local:9000
Uptime: 5 hours
Version: 2022-02-05T04:40:59Z
Network: 4/4 OK
Drives: 1/1 OK
Pool: 1st
● ostore-ss-0-1.ostore-hl.ostore.svc.cluster.local:9000
Uptime: 5 hours
Version: 2022-02-05T04:40:59Z
Network: 4/4 OK
Drives: 1/1 OK
Pool: 1st
● ostore-ss-0-2.ostore-hl.ostore.svc.cluster.local:9000
Uptime: 5 hours
Version: 2022-02-05T04:40:59Z
Network: 4/4 OK
Drives: 1/1 OK
Pool: 1st
● ostore-ss-0-3.ostore-hl.ostore.svc.cluster.local:9000
Uptime: 5 hours
Version: 2022-02-05T04:40:59Z
Network: 4/4 OK
Drives: 1/1 OK
Pool: 1st
4 drives online, 0 drives offline
kubectl describe svc -n ostore ostore-console
Name: ostore-console
Namespace: ostore
Labels: <none>
Annotations: <none>
Selector: v1.min.io/tenant=ostore
Type: ClusterIP
IP Family Policy: SingleStack
IP Families: IPv4
IP: 10.103.136.80
IPs: 10.103.136.80
Port: https-console 9443/TCP
TargetPort: 9443/TCP
Endpoints: 192.168.130.214:9443,192.168.208.175:9443,192.168.208.176:9443 + 1 more...
Session Affinity: None
Events: <none>
@kesavkolla are you using operator here?
Yes k8s environment is installed via operator