Add Oracle Cloud Infrastructure (OCI) Object Storage backend#7718
Open
harsha-yuvaraj wants to merge 5 commits into
Open
Add Oracle Cloud Infrastructure (OCI) Object Storage backend#7718harsha-yuvaraj wants to merge 5 commits into
harsha-yuvaraj wants to merge 5 commits into
Conversation
Signed-off-by: Harsha Yuvaraj <harshavardanyuvaraj@gmail.com>
Signed-off-by: Harsha Yuvaraj <harshavardanyuvaraj@gmail.com>
Signed-off-by: Harsha Yuvaraj <harshavardanyuvaraj@gmail.com>
Signed-off-by: Harsha Yuvaraj <harshavardanyuvaraj@gmail.com>
Signed-off-by: Harsha Yuvaraj <harshavardanyuvaraj@gmail.com>
Contributor
|
Should this PR be broken down? |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does:
Adds Oracle Cloud Infrastructure (OCI) Object Storage as a storage backend for blocks, ruler, and alertmanager, wrapping the OCI provider already shipped by Thanos
objstore. Select it withbackend: ociand configure via-<prefix>.oci.*flags.pkg/storage/bucket/oci/config.go— config struct + flags (auth providers:default,instance-principal,raw,oke-workload-identity)pkg/storage/bucket/oci/bucket_client.go— thin wrapper overobjstore/providers/ocipkg/storage/bucket/client.go— backend registration (constant,SupportedBackends, config field,NewClientcase)github.com/oracle/oci-go-sdk/v65Because ruler/alertmanager/blocks validate against
bucket.SupportedBackends, OCI is available to all three with no extra wiring. Retries are enabled by default (max_request_retries: 3,request_retry_interval: 10s) for parity with the other backends; the provider performs no retries when these are0/1.Which issue(s) this PR fixes:
Fixes #7593
Checklist
CHANGELOG.mdupdateddocs/configuration/v1-guarantees.mdupdated (OCI listed as experimental)