2.6 KiB
Port Forwarding
Note
Some Kubernetes deployments may experience issues with timeouts
during port-forwarding operations with the Operator Console. Select the
NodePorts
section
to view instructions for alternative access. You can alternatively
configure your preferred Ingress to grant access to the Operator Console
service. 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 required token for logging into the Operator Console.
You can deploy a new MinIO Tenant <minio-k8s-deploy-minio-tenant>
from the Operator Dashboard.
NodePorts
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