Skip to content

Deploy S3 Storage

Huddo Boards requires an S3 object store. This documentation will deploy a Minio S3 storage container into the Kubernetes setup.

If you already have externally hosted S3 storage please skip to the Outcomes section to determine your equivalent connection parameters.

You can also email us for support at support@huddo.com

Prerequisites

  1. Config file downloaded

Update config file

Line Key Default Value Description
21 nfs.path /pv-kudos/minio Path to storage location
22 nfs.server STORAGE_SERVER_IP IP of NFS server
ie 192.168.10.50
69 MINIO_ACCESS_KEY ioueygr4t589 Access credential
71 MINIO_SECRET_KEY 7a863d41-2d8f-4143-bc8a-02501edbea6f Access credential

Deploy instructions

  1. Create the folder at nfs.path location on the nfs.server with access 777

    Note: please ensure sufficient storage is available (ie 100GB)

  2. Ensure each Node in your Kubernetes cluster can mount this location.

    Please modify the file /etc/exports on your NFS Server to include this line

    <NFS_PATH_FOR_MINIO> <IP_RANGE_OF_YOUR_SERVERS>/<SUBNET_MASK>(rw,no_root_squash)
    

    For example:

    /pv-kudos/minio 192.168.0.0/255.255.0.0(rw,no_root_squash)
    

    Apply new NFS storage to exports

    exportfs -ra
    
  3. Install Minio

    kubectl apply -f ./minio.yaml
    

Outcomes

The following are the parameters required to connect to this S3 storage. You will need these later in the application setup. If you have your own S3 storage, please substitute your values.

Key Default Value Description
S3_ENDPOINT minio-service Hostname of this service
(as per line 84 of config)
S3_ACCESS_KEY ioueygr4t589 Credential configured above
S3_SECRET_KEY 7a863d41-2d8f-4143-bc8a-02501edbea6f Credential configured above
S3_BUCKET kudos-boards Default storage bucket