49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
name: tempo
|
||
|
|
spec:
|
||
|
|
replicas: 1
|
||
|
|
strategy:
|
||
|
|
type: Recreate
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
app: tempo
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
labels:
|
||
|
|
app: tempo
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: tempo
|
||
|
|
image: grafana/tempo:2.8.2
|
||
|
|
args:
|
||
|
|
- -config.file=/etc/tempo/tempo.yml
|
||
|
|
ports:
|
||
|
|
- containerPort: 3200
|
||
|
|
- containerPort: 4317
|
||
|
|
- containerPort: 4318
|
||
|
|
readinessProbe:
|
||
|
|
httpGet:
|
||
|
|
path: /ready
|
||
|
|
port: 3200
|
||
|
|
initialDelaySeconds: 15
|
||
|
|
resources:
|
||
|
|
requests:
|
||
|
|
cpu: 50m
|
||
|
|
memory: 256Mi
|
||
|
|
limits:
|
||
|
|
memory: 1Gi
|
||
|
|
volumeMounts:
|
||
|
|
- name: config
|
||
|
|
mountPath: /etc/tempo
|
||
|
|
- name: data
|
||
|
|
mountPath: /var/tempo
|
||
|
|
volumes:
|
||
|
|
- name: config
|
||
|
|
configMap:
|
||
|
|
name: tempo-config
|
||
|
|
- name: data
|
||
|
|
persistentVolumeClaim:
|
||
|
|
claimName: tempo-data
|