Outils pour utilisateurs

Outils du site


tech:notes_minio_s3

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
tech:notes_minio_s3 [2025/03/24 15:06] – créée - modification externe 127.0.0.1tech:notes_minio_s3 [2025/11/06 09:36] (Version actuelle) Jean-Baptiste
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 {{tag>Brouillon S3 Cloud Stockage HTTP}} {{tag>Brouillon S3 Cloud Stockage HTTP}}
  
-Notes MinIO s3+Notes MinIO s3 
 + 
 +Voir :  
 +  * https://blog.alterway.fr/directpv-avoir-du-stockage-bloc-distribue-facilement-dans-kubernetes.html 
 +  * MinIO Operator 
 +  * https://dev.to/giveitatry/how-to-install-minio-in-kubernetes-in-15-min-47h9 
 + 
 +Voir aussi : 
 +  * Garage S3 
 +  * https://rclone.org/commands/rclone_serve_s3/
  
-<code bash> 
-docker run -p 9000:9000 -p 9001:9001 minio/minio server /data --console-address ":9001" 
-</code> 
  
 Then open a web browser to http://localhost:9001/ and enter the default credentials: Then open a web browser to http://localhost:9001/ and enter the default credentials:
  
-<code -> +|              |            | 
-Usernameminioadmin +| -------      | -------  | 
-Passwordminioadmin +| **Username** | minioadmin | 
-</code>+| **Password** | minioadmin | 
  
 Next, navigate to “Buckets”, click the “Create Bucket” button in the top right corner and then click the “Save” icon. Name your bucket, "mybkt". Next, navigate to “Buckets”, click the “Create Bucket” button in the top right corner and then click the “Save” icon. Name your bucket, "mybkt".
Ligne 20: Ligne 28:
  
  
 +## Client S3 mc
  
 +Voir :
 +  * https://docs.min.io/enterprise/aistor-object-store/reference/cli/
  
  
 +~~~bash
 +mkdir -p ~/minio/data
 +nerdctm run \
 +   -p 9000:9000 \
 +   -p 9001:9001 \
 +   --name minio \
 +   -v ~/minio/data:/data \
 +   -e "MINIO_ROOT_USER=ROOTNAME" \
 +   -e "MINIO_ROOT_PASSWORD=CHANGEME123" \
 +   quay.io/minio/minio server /data --console-address ":9001"
 +~~~
  
 +~~~bash
 +mc alias set myminio http://127.0.0.1:9000 ROOTNAME CHANGEME123
 +mc admin info myminio
 +~~~
 +
 +~~~bash
 +mc mb myminio/plop
 +mc put ~/Documents/k8s_kind.txt myminio/plop/
 +~~~
 +
 +https://github.com/minio/mc
 +
 +<code bash>
 +mc --autocompletion
 +</code>
  
 +URL check ping http://localhost:9000/minio/health/live
tech/notes_minio_s3.1742825205.txt.gz · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki