-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Tempo example #8 * Apply changes requested in the code review Signed-off-by: Israel Blancas <[email protected]> * Fix indentation * Remove usage of minio and add a new name to the instance * Apply changes requested in code review --------- Signed-off-by: Israel Blancas <[email protected]>
- Loading branch information
Showing
3 changed files
with
50 additions
and
10 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
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,18 @@ | ||
# Tempo deployment | ||
|
||
This is an example to deploy a Tempo instance using the Tempo Operator. It doesn't have authorization nor multitenancy enabled. | ||
|
||
## How to run | ||
1. Create an Object storage instance using [OpenShift Data Foundation](https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/). | ||
1. Create an Object Storage secret with keys as follows: | ||
```console | ||
kubectl create secret generic tempostack-odf \ | ||
--from-literal=bucket="<BUCKET_NAME>" \ | ||
--from-literal=endpoint="https://s3.openshift-storage.svc" \ | ||
--from-literal=access_key_id="<ACCESS_KEY_ID>" \ | ||
--from-literal=access_key_secret="<ACCESS_KEY_SECRET>" | ||
``` | ||
1. Deploy the Tempo instance in the `tempo-example` OpenShift Project: | ||
```sh | ||
kubectl create -f tempo.yaml | ||
``` |
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,22 @@ | ||
apiVersion: project.openshift.io/v1 | ||
kind: Project | ||
metadata: | ||
name: tempo-example | ||
--- | ||
apiVersion: tempo.grafana.com/v1alpha1 | ||
kind: TempoStack | ||
metadata: | ||
name: simple | ||
namespace: tempo-example | ||
spec: | ||
storage: | ||
secret: | ||
# Name of the secret with the information to access the object storage | ||
name: tempostack-odf | ||
type: s3 | ||
storageSize: 1Gi | ||
template: | ||
queryFrontend: | ||
jaegerQuery: | ||
# Enable the Jaeger UI | ||
enabled: true |