Skip to content

Commit

Permalink
Long running test for TempoStack global retention (#1035)
Browse files Browse the repository at this point in the history
  • Loading branch information
IshwarKanse authored Sep 27, 2024
1 parent 0c5313e commit 432cea6
Show file tree
Hide file tree
Showing 15 changed files with 756 additions and 0 deletions.
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
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
Loading

0 comments on commit 432cea6

Please sign in to comment.