Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aos
GitHub Repository: aos/grafana-agent
Path: blob/main/pkg/operator/testdata/test-integrations.out.yaml
4095 views
1
# Resources to assert to exist when reconciling test-integrations.in.yaml.
2
3
apiVersion: apps/v1
4
kind: Deployment
5
metadata:
6
name: grafana-agent-example-integrations-deploy
7
namespace: default
8
spec:
9
template:
10
spec:
11
containers:
12
- name: config-reloader
13
- name: grafana-agent
14
env:
15
- name: POD_NAME
16
valueFrom:
17
fieldRef:
18
apiVersion: v1
19
fieldPath: metadata.name
20
- name: SHARD
21
value: "0"
22
- name: SHARDS
23
value: "1"
24
- name: HOSTNAME
25
valueFrom:
26
fieldRef:
27
apiVersion: v1
28
fieldPath: spec.nodeName
29
volumeMounts:
30
- name: config
31
readOnly: true
32
mountPath: /var/lib/grafana-agent/config-in
33
- name: config-out
34
mountPath: /var/lib/grafana-agent/config
35
- name: secrets
36
readOnly: true
37
mountPath: /var/lib/grafana-agent/secrets
38
- name: grafana-agent-example-integrations-deploy-wal
39
mountPath: /var/lib/grafana-agent/data
40
- name: varlog
41
readOnly: true
42
mountPath: /var/log
43
- name: dockerlogs
44
readOnly: true
45
mountPath: /var/lib/docker/containers
46
volumes:
47
- name: config
48
secret:
49
secretName: grafana-agent-example-integrations-deploy-config
50
- name: config-out
51
emptyDir: {}
52
- name: secrets
53
secret:
54
secretName: grafana-agent-example-secrets
55
- name: grafana-agent-example-integrations-deploy-wal
56
emptyDir: {}
57
- name: varlog
58
hostPath:
59
path: /var/log
60
- name: dockerlogs
61
hostPath:
62
path: /var/lib/docker/containers
63
64
---
65
66
apiVersion: apps/v1
67
kind: DaemonSet
68
metadata:
69
name: grafana-agent-example-integrations-ds
70
namespace: default
71
spec:
72
template:
73
spec:
74
containers:
75
- name: config-reloader
76
- name: grafana-agent
77
env:
78
- name: POD_NAME
79
valueFrom:
80
fieldRef:
81
apiVersion: v1
82
fieldPath: metadata.name
83
- name: SHARD
84
value: "0"
85
- name: SHARDS
86
value: "1"
87
- name: HOSTNAME
88
valueFrom:
89
fieldRef:
90
apiVersion: v1
91
fieldPath: spec.nodeName
92
volumeMounts:
93
- name: config
94
readOnly: true
95
mountPath: /var/lib/grafana-agent/config-in
96
- name: config-out
97
mountPath: /var/lib/grafana-agent/config
98
- name: secrets
99
readOnly: true
100
mountPath: /var/lib/grafana-agent/secrets
101
- name: default-node-exporter-proc
102
mountPath: /default/node_exporter/proc
103
- name: default-node-exporter-sys
104
mountPath: /default/node_exporter/sys
105
- name: default-node-exporter-root
106
mountPath: /default/node_exporter/rootfs
107
- name: grafana-agent-example-integrations-secrets
108
readOnly: true
109
mountPath: /etc/grafana-agent/integrations
110
- name: grafana-agent-example-integrations-ds-wal
111
mountPath: /var/lib/grafana-agent/data
112
- name: varlog
113
readOnly: true
114
mountPath: /var/log
115
- name: dockerlogs
116
readOnly: true
117
mountPath: /var/lib/docker/containers
118
volumes:
119
- name: config
120
secret:
121
secretName: grafana-agent-example-integrations-ds-config
122
- name: config-out
123
emptyDir: {}
124
- name: secrets
125
secret:
126
secretName: grafana-agent-example-secrets
127
- name: default-node-exporter-proc
128
hostPath:
129
path: /proc
130
- name: default-node-exporter-sys
131
hostPath:
132
path: /sys
133
- name: default-node-exporter-root
134
hostPath:
135
path: /root
136
- name: grafana-agent-example-integrations-secrets
137
secret:
138
secretName: grafana-agent-example-secrets
139
items:
140
- key: _secrets_default_fake_secret_key
141
path: secrets/default/fake-secret/key
142
- key: _configMaps_default_fake_configmap_foo
143
path: configMaps/default/fake-configmap/foo
144
- name: grafana-agent-example-integrations-ds-wal
145
emptyDir: {}
146
- name: varlog
147
hostPath:
148
path: /var/log
149
- name: dockerlogs
150
hostPath:
151
path: /var/lib/docker/containers
152
153