Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install minio using k8s

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

k8s install minio pull code git clone https://github.com/minio/minio.gitcd minio/docs/orchestration/kubernetes/modify yamlpv (because my environment only has one node, so use hostpath, please choose pv type according to actual situation)cat minio-standalone-pv.yamlkind: PersistentVolumeapiVersion: v1metadata: name: minio-data labels: app: minio-dataspec: capacity: storage: "10Gi" accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Retain hostPath: path: "/data/k8s/minio"EOFpvcecho > minio-standalone-pvc.yaml selector: matchLabels: app: minio-dataEOF install create namespacekubectl create namespace minio create pvkubectl apply -f minio-standalone-pv.yaml create pvckubectl apply -n minio -f minio-standalone-pvc.yaml create deploymentkubectl apply -n minio -f minio-standalone-deployment.yaml create servicekubectl apply -n minio -f minio-standalone-service.yaml View login password cat/data/k8s/minio/.minio.sys/config/config.json| grep Key "accessKey": "minio", "secretKey": "minio123", "routingKey": "",

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report