-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Long running test for TempoStack global retention (#1035)
- Loading branch information
1 parent
0c5313e
commit 432cea6
Showing
15 changed files
with
756 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
tests/e2e-long-running/tempostack-retention-global/00-assert.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,6 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: minio | ||
status: | ||
readyReplicas: 1 |
75 changes: 75 additions & 0 deletions
75
tests/e2e-long-running/tempostack-retention-global/00-install-storage.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,75 @@ | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: minio | ||
name: minio | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 2Gi | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: minio | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: minio | ||
strategy: | ||
type: Recreate | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: minio | ||
spec: | ||
containers: | ||
- command: | ||
- /bin/sh | ||
- -c | ||
- | | ||
mkdir -p /storage/tempo && \ | ||
minio server /storage | ||
env: | ||
- name: MINIO_ACCESS_KEY | ||
value: tempo | ||
- name: MINIO_SECRET_KEY | ||
value: supersecret | ||
image: quay.io/minio/minio:latest | ||
name: minio | ||
ports: | ||
- containerPort: 9000 | ||
volumeMounts: | ||
- mountPath: /storage | ||
name: storage | ||
volumes: | ||
- name: storage | ||
persistentVolumeClaim: | ||
claimName: minio | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: minio | ||
spec: | ||
ports: | ||
- port: 9000 | ||
protocol: TCP | ||
targetPort: 9000 | ||
selector: | ||
app.kubernetes.io/name: minio | ||
type: ClusterIP | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: minio | ||
stringData: | ||
endpoint: http://minio:9000 | ||
bucket: tempo | ||
access_key_id: tempo | ||
access_key_secret: supersecret | ||
type: Opaque |
Oops, something went wrong.