Installing on an S3 Compatible Environment
If you want to install Optimizer Hub on a platform which provides S3 compatibility mode, instead of cloud native blob storage, you need the following additional settings.
Configuring Storage
Use the S3
compatible storage and specify a bucket name in your values-override.yaml
:
storage:
blobStorageService: s3
s3:
commonBucket: opthub-storage0
Additional settings may be needed, for example, when using MinIO and Minikube:
storage:
blobStorageService: s3
s3:
commonBucket: opthub
credentialsType: "static"
storageEndpoint: http://minio.minio-dev.svc.cluster.local:9000
Specifying Bucket Location
By default, the Kubernetes namespace is used to define the path inside the bucket defined in commonBucket
:
storage:
pathPrefix: "%namespace%"
You can change this value in your values-override.yaml
file, some examples:
-
Extend it with a subdirectory:
pathPrefix: "%namespace%/test1"
-
Use a custom subdirectory:
pathPrefix: "custom-path-for-opthub"
Configuring S3 Authentication
Add the S3
authentication keys in your values-override.yaml
or check Using Externally Defined Secrets for more options.
secrets:
blobStorage:
s3:
accesskey: KEY
secretkey: SECRET