forked from openshift/elasticsearch-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
elasticsearch-operator.v4.5.0.clusterserviceversion.yaml
376 lines (369 loc) · 12.5 KB
/
elasticsearch-operator.v4.5.0.clusterserviceversion.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
#! validate-crd: deploy/chart/templates/0000_30_02-clusterserviceversion.crd.yaml
#! parse-kind: ClusterServiceVersion
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
name: elasticsearch-operator.v4.5.0
namespace: placeholder
annotations:
"operatorframework.io/suggested-namespace": openshift-operators-redhat
"operatorframework.io/cluster-monitoring": "true"
categories: "OpenShift Optional, Logging & Tracing"
capabilities: "Seamless Upgrades"
certified: "false"
description: |-
The Elasticsearch Operator for OKD provides a means for configuring and managing an Elasticsearch cluster for tracing and cluster logging.
## Prerequisites and Requirements
### Elasticsearch Operator Namespace
The Elasticsearch Operator must be deployed to the global operator group namespace
### Memory Considerations
Elasticsearch is a memory intensive application. The initial
set of OKD nodes may not be large enough to support the Elasticsearch cluster. Additional OKD nodes must be added
to the OKD cluster if you desire to run with the recommended (or better) memory. Each ES node can operate with a
lower memory setting though this is not recommended for production deployments.
containerImage: quay.io/openshift/origin-elasticsearch-operator:latest
createdAt: 2019-02-20T08:00:00Z
support: AOS Cluster Logging, Jaeger
olm.skipRange: ">=4.1.0 <4.5.0"
alm-examples: |-
[
{
"apiVersion": "logging.openshift.io/v1",
"kind": "Elasticsearch",
"metadata": {
"name": "elasticsearch"
},
"spec": {
"managementState": "Managed",
"nodeSpec": {
"image": "quay.io/openshift/origin-logging-elasticsearch6:latest",
"resources": {
"limits": {
"memory": "1Gi"
},
"requests": {
"memory": "512Mi"
}
}
},
"redundancyPolicy": "SingleRedundancy",
"nodes": [
{
"nodeCount": 1,
"roles": ["client","data","master"]
}
]
}
},
{
"apiVersion": "logging.openshift.io/v1",
"kind": "Kibana",
"metadata": {
"name": "kibana"
},
"spec": {
"managementState": "Managed",
"replicas": 1,
"nodeSelector": {},
"resources": {
"limits": {
"memory": "512Mi"
},
"requests": {
"memory": "512Mi"
}
}
}
}
]
spec:
version: 4.5.0
displayName: Elasticsearch Operator
minKubeVersion: 1.17.1
description: |
The Elasticsearch Operator for OKD provides a means for configuring and managing an Elasticsearch cluster for use in tracing and cluster logging.
This operator only supports OKD Cluster Logging and Jaeger. It is tightly coupled to each and is not currently capable of
being used as a general purpose manager of Elasticsearch clusters running on OKD.
It is recommended this operator be deployed to the **openshift-operators** namespace to properly support the Cluster Logging and Jaeger use cases.
Once installed, the operator provides the following features:
* **Create/Destroy**: Deploy an Elasticsearch cluster to the same namespace in which the Elasticsearch custom resource is created.
keywords: ['elasticsearch', 'jaeger']
maintainers:
- name: Red Hat, AOS Logging
email: aos-logging@redhat.com
provider:
name: Red Hat, Inc
links:
- name: Elastic
url: https://www.elastic.co/
- name: Elasticsearch Operator
url: https://github.com/openshift/elasticsearch-operator
installModes:
- type: OwnNamespace
supported: true
- type: SingleNamespace
supported: false
- type: MultiNamespace
supported: false
- type: AllNamespaces
supported: true
install:
strategy: deployment
spec:
clusterPermissions:
- serviceAccountName: elasticsearch-operator
rules:
- apiGroups:
- console.openshift.io
resources:
- consoleexternalloglinks
verbs:
- "*"
- apiGroups:
- logging.openshift.io
resources:
- "*"
verbs:
- "*"
- apiGroups:
- ""
resources:
- pods
- pods/exec
- services
- endpoints
- persistentvolumeclaims
- events
- configmaps
- secrets
- serviceaccounts
verbs:
- "*"
- apiGroups:
- route.openshift.io
resources:
- routes
- routes/custom-host
verbs:
- "*"
- apiGroups:
- apps
resources:
- deployments
- daemonsets
- replicasets
- statefulsets
verbs:
- "*"
- apiGroups:
- batch
resources:
- cronjobs
verbs:
- "*"
- apiGroups:
- monitoring.coreos.com
resources:
- prometheusrules
- servicemonitors
verbs:
- "*"
- apiGroups:
- oauth.openshift.io
resources:
- oauthclients
verbs:
- "*"
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles
- clusterrolebindings
verbs:
- "*"
- nonResourceURLs:
- "/metrics"
verbs:
- get
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
- subjectaccessreviews
verbs:
- create
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create
- apiGroups:
- rbac.authorization.k8s.io
resources:
- roles
- rolebindings
verbs:
- "*"
- apiGroups:
- config.openshift.io
resources:
- proxies
verbs:
- get
- list
- watch
deployments:
- name: elasticsearch-operator
spec:
replicas: 1
selector:
matchLabels:
name: elasticsearch-operator
template:
metadata:
labels:
name: elasticsearch-operator
spec:
nodeSelector:
kubernetes.io/os: linux
serviceAccountName: elasticsearch-operator
containers:
- name: elasticsearch-operator
image: quay.io/openshift/origin-elasticsearch-operator:latest
imagePullPolicy: IfNotPresent
command:
- elasticsearch-operator
ports:
- containerPort: 60000
name: metrics
env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: "elasticsearch-operator"
- name: PROXY_IMAGE
value: "quay.io/openshift/origin-oauth-proxy:latest"
- name: ELASTICSEARCH_IMAGE
value: "quay.io/openshift/origin-logging-elasticsearch6:latest"
- name: KIBANA_IMAGE
value: "quay.io/openshift/origin-logging-kibana6:latest"
customresourcedefinitions:
owned:
- name: elasticsearches.logging.openshift.io
version: v1
kind: Elasticsearch
displayName: Elasticsearch
description: An Elasticsearch cluster instance
resources:
- kind: Deployment
version: v1
- kind: StatefulSet
version: v1
- kind: ReplicaSet
version: v1
- kind: Pod
version: v1
- kind: ConfigMap
version: v1
- kind: Service
version: v1
- kind: Route
version: v1
specDescriptors:
- description: Limits describes the minimum/maximum amount of compute resources required/allowed
displayName: Resource Requirements
path: nodeSpec.resources
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:resourceRequirements'
statusDescriptors:
- description: The current Status of the Elasticsearch Cluster
displayName: Status
path: cluster.status
x-descriptors:
- 'urn:alm:descriptor:io.kubernetes.phase'
- description: The number of Active Primary Shards for the Elasticsearch Cluster
displayName: Active Primary Shards
path: cluster.activePrimShards
x-descriptors:
- 'urn:alm:descriptor:text'
- description: The number of Active Shards for the Elasticsearch Cluster
displayName: Active Shards
path: cluster.activeShards
x-descriptors:
- 'urn:alm:descriptor:text'
- description: The number of Initializing Shards for the Elasticsearch Cluster
displayName: Initializing Shards
path: cluster.initializingShards
x-descriptors:
- 'urn:alm:descriptor:text'
- description: The number of Data Nodes for the Elasticsearch Cluster
displayName: Number of Data Nodes
path: cluster.numDataNodes
x-descriptors:
- 'urn:alm:descriptor:text'
- description: The number of Nodes for the Elasticsearch Cluster
displayName: Number of Nodes
path: cluster.numNodes
x-descriptors:
- 'urn:alm:descriptor:text'
- description: The number of Relocating Shards for the Elasticsearch Cluster
displayName: Relocating Shards
path: cluster.relocatingShards
x-descriptors:
- 'urn:alm:descriptor:text'
- description: The number of Unassigned Shards for the Elasticsearch Cluster
displayName: Unassigned Shards
path: cluster.unassignedShards
x-descriptors:
- 'urn:alm:descriptor:text'
- description: The status for each of the Elasticsearch pods with the Client role
displayName: Elasticsearch Client Status
path: pods.client
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:podStatuses'
- description: The status for each of the Elasticsearch pods with the Data role
displayName: Elasticsearch Data Status
path: pods.data
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:podStatuses'
- description: The status for each of the Elasticsearch pods with the Master role
displayName: Elasticsearch Master Status
path: pods.master
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:podStatuses'
- name: kibanas.logging.openshift.io
version: v1
kind: Kibana
displayName: Kibana
description: Kibana instance
resources:
- kind: Deployment
version: v1
specDescriptors:
- description: The desired number of Kibana Pods for the Visualization component
displayName: Kibana Size
path: replicas
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:podCount'
- description: Resource requirements for the Kibana pods
displayName: Kibana Resource Requirements
path: resources
x-descriptors:
- description: The node selector to use for the Kibana Visualization component
displayName: Kibana Node Selector
path: nodeSelector
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:nodeSelector'
statusDescriptors:
- description: The status for each of the Kibana pods for the Visualization component
displayName: Kibana Status
path: pods
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:podStatuses'