-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds back Hitach and Storj storage configurations (#1141)
Signed-off-by: Sean Pomeroy <sean.pomeroy@gmail.com> Co-authored-by: Chip Zoller <chipzoller@gmail.com>
- Loading branch information
1 parent
f27bec3
commit ce7bdb1
Showing
4 changed files
with
61 additions
and
1 deletion.
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
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
30 changes: 30 additions & 0 deletions
30
...tall/multi-cluster/long-term-storage-configuration/long-term-storage-hitachi.md
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,30 @@ | ||
# Hitachi Content Platform (HCP) Multi-Cluster Storage Configuration | ||
|
||
{% hint style="info" %} | ||
Usage of a Federated Storage Bucket is only supported for Kubecost Enterprise plans. | ||
{% endhint %} | ||
|
||
Because HCP is [S3 compatible](https://knowledge.hitachivantara.com/Documents/Storage/HCP\_for\_Cloud\_Scale/1.0.0/Adminstering\_HCP\_for\_cloud\_scale/Getting\_started/02\_Support\_for\_Amazon\_S3\_API), it can be used as a drop-in replacement for S3. | ||
|
||
To obtain the necessary S3 User Credentials, see [Hitachi's documentation](https://knowledge.hitachivantara.com/Documents/Storage/HCP\_for\_Cloud\_Scale/1.0.0/Adminstering\_HCP\_for\_cloud\_scale/Object\_storage\_management/01\_S3\_User\_Credentials#GUID-6DA3811F-FBC5-4848-B47D-B2297F0902B7). | ||
|
||
Now create a .YAML file named `federated-store.yaml` with the following format: | ||
|
||
```yaml | ||
type: S3 | ||
config: | ||
bucket: "folder name" # Folder created in the HCP endpoint bucket, not the pre-existing bucket name. | ||
endpoint: "your.hcp-endpoint.com" | ||
access_key: "<HITACHI_ACCESS_KEY>" | ||
secret_key: "<HITACHI_SECRET_KEY>" | ||
insecure: false | ||
signature_version2: false | ||
http_config: | ||
idle_conn_timeout: 90s | ||
response_header_timeout: 2m | ||
insecure_skip_verify: false | ||
trace: | ||
enable: true | ||
part_size: 134217728 | ||
prefix: "" # Optional. Specify a path within the bucket (e.g. "kubecost/etl"). | ||
``` |
28 changes: 28 additions & 0 deletions
28
...nstall/multi-cluster/long-term-storage-configuration/long-term-storage-storj.md
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,28 @@ | ||
# Storj Multi-Cluster Storage Configuration | ||
|
||
{% hint style="info" %} | ||
Usage of a Federated Storage Bucket is only supported for Kubecost Enterprise plans. | ||
{% endhint %} | ||
|
||
Because Storj is [S3 compatible](https://docs.storj.io/dcs/api-reference/s3-compatible-gateway/), it can be used as a drop-in replacement for S3. | ||
|
||
After an S3 Compatible Access Grant has been created, create a .YAML file named `federated-store.yaml` with the following format: | ||
|
||
```yaml | ||
type: S3 | ||
config: | ||
bucket: "my-bucket" | ||
endpoint: "gateway.storjshare.io" | ||
access_key: "<STORJ_ACCESS_KEY>" | ||
secret_key: "<STORJ_SECRET_KEY>" | ||
insecure: false | ||
signature_version2: false | ||
http_config: | ||
idle_conn_timeout: 90s | ||
response_header_timeout: 2m | ||
insecure_skip_verify: false | ||
trace: | ||
enable: true | ||
part_size: 134217728 | ||
prefix: "" # Optional. Specify a path within the bucket (e.g. "kubecost/etl"). | ||
``` |