2.6 KiB
Port Forwarding
Note
Some Kubernetes deployments may experience issues with timeouts during port-forwarding operations with the Operator Console. Use one of the methods in the other tabs on this section as a work-around. See https://github.com/kubernetes/kubectl/issues/1368 for more information.
Run the kubectl minio proxy command to temporarily forward
traffic from the MinIO Operator Console <minio-operator-console>
service to your local machine:
k8s and not openshift
kubectl minio proxy
openshift
oc minio proxy
The command output includes a JWT token you must use to log into the Operator Console.
You can deploy a new MinIO Tenant <minio-k8s-deploy-minio-tenant>
from the Operator Dashboard.
Node Ports
Use the following command to identify the NodePorts <concepts/services-networking/service/#type-nodeport>
configured for the Operator Console. If your local host does not have
the jq utility installed, you can run the first command and
locate the spec.ports section of the output.
kubectl get svc/console -n minio-operator -o json | jq -r '.spec.ports'
The output resembles the following:
[
{
"name": "http",
"nodePort": 31055,
"port": 9090,
"protocol": "TCP",
"targetPort": 9090
},
{
"name": "https",
"nodePort": 31388,
"port": 9443,
"protocol": "TCP",
"targetPort": 9443
}
]Use the http or https port depending on
whether you deployed the Operator with Console TLS enabled via kubectl minio init --console-tls.
Append the nodePort value to the externally-accessible
IP address of a worker node in your Kubernetes cluster.
Use the following command to retrieve the JWT token necessary for logging into the Operator Console:
kubectl get secret/console-sa-secret -n minio-operator -o json | jq -r '.data.token' | base64 -d
