Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minio-console does not work with AKS ingress. #2343

Closed
williamsun-hha opened this issue Oct 7, 2024 · 7 comments
Closed

Minio-console does not work with AKS ingress. #2343

williamsun-hha opened this issue Oct 7, 2024 · 7 comments

Comments

@williamsun-hha
Copy link

NOTE

If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.

Minio-console does not work with AKS ingress controller

Expected Behavior

With ingress controller, Minio console URL should work normally but I got a 400 error.

Current Behavior

I deployed Minio to Azure AKS with helm. Operator (helm install
--namespace minio-operator
--create-namespace
minio-operator minio/operator) (k get all -n minio-operator
NAME READY STATUS RESTARTS AGE
pod/minio-operator-74dc88668d-86qxb 1/1 Running 0 11h
pod/minio-operator-74dc88668d-s6xgc 1/1 Running 0 11h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/operator ClusterIP 10.0.29.110 4221/TCP 11h
service/sts ClusterIP 10.0.142.65 4223/TCP 11h
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/minio-operator 2/2 2 2 11h
NAME DESIRED CURRENT READY AGE
replicaset.apps/minio-operator-74dc88668d 2 2 2 11h). and Tenant (helm install --namespace tenant-ns
--create-namespace tenant minio/tenant), (k get all -n tenant-ns
NAME READY STATUS RESTARTS AGE
pod/myminio-pool-0-0 2/2 Running 0 11h
pod/myminio-pool-0-1 2/2 Running 0 11h
pod/myminio-pool-0-2 2/2 Running 0 11h
pod/myminio-pool-0-3 2/2 Running 0 11h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/minio ClusterIP 10.0.153.222 443/TCP 11h
service/myminio-console ClusterIP 10.0.158.52 9443/TCP 11h
service/myminio-hl ClusterIP None 9000/TCP 11h
NAME READY AGE
statefulset.apps/myminio-pool-0 4/4 11h) . The deployment seems successful. But I am not able to connect to myminio-console with Azure approute NGINX ingress. Here is the ingress rule configured (http:
paths:

This is on the document (The *-console service corresponds to the MinIO Console. Administrators should use this service for accessing the MinIO Console and performing administrative operations on the MinIO Tenant.
). Thank you very much for your help!

Ingress controller is working normally since all of the other applications deployed are working normally. From the error code, it appears the console service does not work.

Possible Solution

If a work around to configure the ingress, that would be great while the issue being worked on.

Steps to Reproduce (for bugs)

With ingress controller, Minio console URL should work normally but I got a 400 error.

Current Behavior

I deployed Minio to Azure AKS with helm. Operator (helm install
--namespace minio-operator
--create-namespace
minio-operator minio/operator) (k get all -n minio-operator
NAME READY STATUS RESTARTS AGE
pod/minio-operator-74dc88668d-86qxb 1/1 Running 0 11h
pod/minio-operator-74dc88668d-s6xgc 1/1 Running 0 11h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/operator ClusterIP 10.0.29.110 4221/TCP 11h
service/sts ClusterIP 10.0.142.65 4223/TCP 11h
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/minio-operator 2/2 2 2 11h
NAME DESIRED CURRENT READY AGE
replicaset.apps/minio-operator-74dc88668d 2 2 2 11h). and Tenant (helm install --namespace tenant-ns
--create-namespace tenant minio/tenant), (k get all -n tenant-ns
NAME READY STATUS RESTARTS AGE
pod/myminio-pool-0-0 2/2 Running 0 11h
pod/myminio-pool-0-1 2/2 Running 0 11h
pod/myminio-pool-0-2 2/2 Running 0 11h
pod/myminio-pool-0-3 2/2 Running 0 11h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/minio ClusterIP 10.0.153.222 443/TCP 11h
service/myminio-console ClusterIP 10.0.158.52 9443/TCP 11h
service/myminio-hl ClusterIP None 9000/TCP 11h
NAME READY AGE
statefulset.apps/myminio-pool-0 4/4 11h) . The deployment seems successful. But I am not able to connect to myminio-console with Azure approute NGINX ingress. Here is the ingress rule configured (http:
paths:

This is on the document (The *-console service corresponds to the MinIO Console. Administrators should use this service for accessing the MinIO Console and performing administrative operations on the MinIO Tenant.
). Thank you very much for your help!

Ingress controller is working normally since all of the other applications deployed are working normally. From the error code, it appears the console service does not work.

Context

Without ingress, we may not be able to use minio.

Regression

helm release v5.2.0

Your Environment

  • Version used (minio --version): [helm release v5.2.0]
  • Server setup and configuration: AKS
  • Operating System and version (uname -a): AKS 1.30
@jiuker jiuker transferred this issue from minio/minio Oct 18, 2024
@jiuker
Copy link
Contributor

jiuker commented Oct 18, 2024

Could you check this values.yaml?

ingress:
api:
enabled: false
ingressClassName: ""
labels: { }
annotations: { }
tls: [ ]
host: minio.local
path: /
pathType: Prefix
console:
enabled: false
ingressClassName: ""
labels: { }
annotations: { }
tls: [ ]
host: minio-console.local
path: /
pathType: Prefix

@ramondeklein
Copy link
Contributor

Can you show the output of curl -v https://<console-hostname> (it appears you publish MinIO console on without a subpath).

@williamsun-hha
Copy link
Author

williamsun-hha commented Oct 18, 2024 via email

@williamsun-hha
Copy link
Author

williamsun-hha commented Oct 18, 2024 via email

@williamsun-hha
Copy link
Author

williamsun-hha commented Oct 18, 2024 via email

@jiuker jiuker closed this as completed Oct 18, 2024
@williamsun-hha
Copy link
Author

williamsun-hha commented Oct 19, 2024 via email

@williamsun-hha
Copy link
Author

williamsun-hha commented Oct 21, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants