IBM湖仓一体与向量数据库:访问MinIO控制台(Accessing the MinIO console)
_1、从密钥中复制S3凭证并保存 (Copy the S3 credentials from the secret and save it )
oc extract secret/ibm-lh-config-secret -n ${PROJECT_CPD_INST_OPERANDS} --to=- --keys=env.properties | grep -E "LH_S3_ACCESS_KEY|LH_S3_SECRET_KEY"
[root@bastion watsonx.data]# oc extract secret/ibm-lh-config-secret -n ${PROJECT_CPD_INST_OPERANDS} --to=- --keys=env.properties | grep -E "LH_S3_ACCESS_KEY|LH_S3_SECRET_KEY"
# env.properties
LH_S3_ACCESS_KEY="t77A4CB3ck7t3cvx47j6osm8"
LH_S3_SECRET_KEY="c7095bp53w5DFEcDbF0d8pf8"
[root@bastion watsonx.data]#
_3、创建 an edge route
oc create route edge ibm-lh-lakehouse-minio-console --service=ibm-lh-lakehouse-minio-svc --port=9001 -n ${PROJECT_CPD_INST_OPERANDS}
oc get route ibm-lh-lakehouse-minio-console -n ${PROJECT_CPD_INST_OPERANDS}
案例:
oc create route edge ibm-lh-lakehouse-minio-console --service=ibm-lh-lakehouse-minio-svc --port=9001 -n ${PROJECT_CPD_INST_OPERANDS}
route.route.openshift.io/ibm-lh-lakehouse-minio-console created
[root@bastion watsonx.data]# oc create route edge ibm-lh-lakehouse-minio-console --service=ibm-lh-lakehouse-minio-svc --port=9001 -n ${PROJECT_CPD_INST_OPERANDS}
route.route.openshift.io/ibm-lh-lakehouse-minio-console created
[root@bastion watsonx.data]# oc get route ibm-lh-lakehouse-minio-console -n ${PROJECT_CPD_INST_OPERANDS}
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
ibm-lh-lakehouse-minio-console ibm-lh-lakehouse-minio-console-cpd-operands.apps.prod.cpd.com ibm-lh-lakehouse-minio-svc 9001 edge None
[root@bastion watsonx.data]#
_3、将路由主机名复制到浏览器中(Copy and paste the route hostname into your browser.)。
Remember: Ensure that the browser is using https:// and not http://.
Example:
https://ibm-lh-lakehouse-minio-console-zen.apps.mycluster.com
Remember: Ensure that the port is either unspecified or 443.
_4、使用在第一步中获得的凭证登录到MinIO控制台(Log in to the MinIO console by using the credentials obtained in step 1.)。
Tip: The MinIO console uses the storage's S3 access key as username and the S3 secret key as password.
在用户名和密码输入框分别输入第一步产生的 LH_S3_ACCESS_KEY和LH_S3_SECRET_KEY ,点击 login
# env.properties
LH_S3_ACCESS_KEY="t77A4CB3ck7t3cvx47j6osm8"
LH_S3_SECRET_KEY="c7095bp53w5DFEcDbF0d8pf8"
系统显示MinIO主界面