helm部署minio

添加仓库:

sudo helm repo add bitnami https://charts.bitnami.com/bitnami

[root@k8s-n0 workspace]# helm repo list
NAME                    URL                                                                      
azure                   http://mirror.azure.cn/kubernetes/charts                                 
incubator_mirror        https://aliacs-app-catalog.oss-cn-hangzhou.aliyuncs.com/charts-incubator/
harbor_local            http://192.168.145.28:1603/chartrepo/chart_repo                          
stable                  https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts                   
aliyun                  https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts                   
kaiyuanshe              http://mirror.kaiyuanshe.cn/kubernetes/charts/                           
elastic                 https://helm.elastic.co                                                  
bitnami                 https://charts.bitnami.com/bitnami                                       
[root@k8s-n0 workspace]#

部署minio:

[root@k8s-n0 workspace]# sudo helm install minio minio-6.1.3.tgz -n dmgeo-lib

暴露端口:

[root@k8s-n0 workspace]# sudo kubectl expose deploy minio -n dmgeo-lib --port=9000 --target-port=9000 --type=NodePort --name=minio-svc
service/minio-svc exposed
[root@k8s-n0 workspace]# sudo kubectl get svc -n dmgeo-lib
minio                            ClusterIP   10.104.120.196   <none>        9000/TCP                                    4h1m
minio-svc                        NodePort    10.109.79.100    <none>        9000:59377/TCP                              8s

查看密码:

[root@k8s-n0 workspace]# sudo kubectl get secret --namespace dmgeo-lib minio -o jsonpath="{.data.access-key}" | base64 --decode
D0qYvbSnsS
[root@k8s-n0 workspace]# 
[root@k8s-n0 workspace]# sudo kubectl get secret --namespace dmgeo-lib minio -o jsonpath="{.data.secret-key}" | base64 --decode
TLS8MR7nqsS1JjEGVm1IRLkWsKIHKyZBh1kRDiPz
[root@k8s-n0 workspace]#

helm部署minio

上一篇:升级到Workspace App LTSR的十大理由


下一篇:maya中获取当前打开mb文件及工程目录mel命令