Skip to content

Trouble in Accessing minIO console through Virtual Service  #2149

@ashujain2

Description

@ashujain2

Issue :-

I have deployed minio into EKS cluster now my aim is to create virtual-service and using prefix defined into VS ,User should be able login into minio-console UI.

Post creation of VS , I am getting Response from URL -http://localhost:3100/source-cserver/ with Status Code: 200 OK
but webpage is not getting opened up .

Expected Behavior :-

User will click into URL http://localhost:3100/source-cserver/ and minio console UI should open.

Current Behavior

When we try to hit uri with prefix source-cserver then it goes to minio-console somehow (Infact, status code is 200 ok ) but page is blank with 3 blocks.

Webpage-Status

Desired Output

When Port is being forwarded through LENS / or kubectl port-forward pods/console-XXXXXXX -n=source-cserver
I got the desired result , similar expectation I aim to achieve by creating virtual service

minio-console

Steps to Reproduce

VirtualService-

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  labels:
    app: minio-console
    app.kubernetes.io/component: server
    app.kubernetes.io/name: minio
  annotations:
    sidecar.istio.io/inject: "false"
  name: minio-console
  namespace: source-cserver
spec:
  gateways:
    - kubeflow/kubeflow-gateway
  hosts:
    - '*'
  http:
    - retries:
        attempts: 3
        perTryTimeout: 2s
      match:
        - uri:
            prefix: /source-cserver/
      route:
        - destination:
            host: source-cserver-console.source-cserver.svc.cluster.local
            port:
              number: 9090

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions