forked from open-telemetry/opentelemetry-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path00-assert.yaml
42 lines (42 loc) · 989 Bytes
/
00-assert.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: stateful-collector
spec:
podManagementPolicy: Parallel
template:
spec:
containers:
- args:
- --config=/conf/collector.yaml
- --feature-gates=-component.UseLocalHostAsDefaultHost
name: otc-container
volumeMounts:
- mountPath: /conf
name: otc-internal
- mountPath: /usr/share/testvolume
name: testvolume
volumes:
- configMap:
items:
- key: collector.yaml
path: collector.yaml
name: stateful-collector-4b08af22
name: otc-internal
- emptyDir: {}
name: testvolume
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: testvolume
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
volumeMode: Filesystem
status:
replicas: 3
readyReplicas: 3