您好,登錄后才能下訂單哦!
git clone https://github.com/minio/minio.git
cd minio/docs/orchestration/kubernetes/
cat << EOF > minio-standalone-pv.yaml
kind: PersistentVolume
apiVersion: v1
metadata:
name: minio-data
labels:
app: minio-data
spec:
capacity:
storage: "10Gi"
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
hostPath:
path: "/data/k8s/minio"
EOF
echo << EOF >> minio-standalone-pvc.yaml
selector:
matchLabels:
app: minio-data
EOF
kubectl create namespace minio
kubectl apply -f minio-standalone-pv.yaml
kubectl apply -n minio -f minio-standalone-pvc.yaml
kubectl apply -n minio -f minio-standalone-deployment.yaml
kubectl apply -n minio -f minio-standalone-service.yaml
cat /data/k8s/minio/.minio.sys/config/config.json |grep Key
"accessKey": "minio",
"secretKey": "minio123",
"routingKey": "",
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。