-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: ajout de la doc pour la creation d'un bucket minio
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
sidebar_label: Comment créer un nouveau bucket sur Minio | ||
sidebar_position: 7 | ||
--- | ||
|
||
# Comment créer un nouveau bucket sur Minio | ||
|
||
_01 Août 2023_ | ||
|
||
|
||
## Contexte | ||
Lors de la création d'une nouvelle étape d'Extract / Transform / Load, il faut créer les buckets correspondant sur Minio qui accueillera les fichiers correspondants. | ||
|
||
Exemple pour les différentes étapes d'ETL des annonces de logements, je dois créer les buckets suivants : | ||
``` | ||
HOUSING_MINIO_RAW_BUCKET_NAME=housing-raw-bucket | ||
HOUSING_MINIO_TRANSFORMED_BUCKET_NAME=housing-transform-bucket | ||
HOUSING_MINIO_RESULT_BUCKET_NAME=housing-result-bucket | ||
``` | ||
|
||
## La commande | ||
Pour cela, une fois l'application déployée, on lance la commande sous le modèle suivant via l'outil CLI scalingo : | ||
|
||
```shell | ||
scalingo --region osc-fr1 --app [NOM_APPLICATION_SCALINGO] run "npm run cli -- mkbucket -b [BUCKET_NAME]" | ||
``` | ||
|
||
### Exemple | ||
Exemple en _recette_ pour la création de `HOUSING_MINIO_RAW_BUCKET_NAME` qui vaut `housing-raw-bucket`: | ||
```shell | ||
scalingo --region osc-fr1 --app 1j1s-stage-orchestrateur-transform-load run "npm run cli -- mkbucket -b housing-raw-bucket" | ||
``` | ||
|