Skip to content

Commit e9df6fc

Browse files
authored
feat(elasticsearch): support version 8.19.0 (#2835)
1 parent d4df21e commit e9df6fc

5 files changed

Lines changed: 14 additions & 10 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ KubeBlocks add-ons.
88
| ---- | ---- | ----------- | ----------- |
99
| apecloud-mysql | apecloud-mysql-8.0.30<br>wescale-0.2.7 | ApeCloud MySQL is a database that is compatible with MySQL syntax and achieves high availability through the utilization of the RAFT consensus protocol. | xuriwuyun |
1010
| clickhouse | clickhouse-22.3.18<br>clickhouse-22.3.20<br>clickhouse-22.6.1<br>clickhouse-22.8.21<br>clickhouse-22.9.4<br>clickhouse-24.12.2<br>clickhouse-24.7.2<br>clickhouse-24.8.3<br>clickhouse-25.4.4<br>clickhouse-25.9.7 | ClickHouse is an open-source column-oriented OLAP database management system. Use it to boost your database performance while providing linear scalability and hardware efficiency. | loomt |
11-
| elasticsearch | elasticsearch-6.8.23<br>elasticsearch-7.10.1<br>elasticsearch-7.10.2<br>elasticsearch-7.7.1<br>elasticsearch-7.8.1<br>elasticsearch-8.1.3<br>elasticsearch-8.15.5<br>elasticsearch-8.8.2<br>kibana-6.8.23<br>kibana-7.10.1<br>kibana-7.10.2<br>kibana-7.7.1<br>kibana-7.8.1<br>kibana-8.1.3<br>kibana-8.15.5<br>kibana-8.8.2<br>kibana-8.9.1 | Elasticsearch is a distributed, RESTful search engine optimized for speed and relevance on production-scale workloads. | kizuna-lek vipshop |
11+
| elasticsearch | elasticsearch-6.8.23<br>elasticsearch-7.10.1<br>elasticsearch-7.10.2<br>elasticsearch-7.7.1<br>elasticsearch-7.8.1<br>elasticsearch-8.1.3<br>elasticsearch-8.15.5<br>elasticsearch-8.19.0<br>elasticsearch-8.8.2<br>kibana-6.8.23<br>kibana-7.10.1<br>kibana-7.10.2<br>kibana-7.7.1<br>kibana-7.8.1<br>kibana-8.1.3<br>kibana-8.15.5<br>kibana-8.19.0<br>kibana-8.8.2<br>kibana-8.9.1 | Elasticsearch is a distributed, RESTful search engine optimized for speed and relevance on production-scale workloads. | kizuna-lek vipshop |
1212
| etcd | etcd-3.5.15<br>etcd-3.5.6<br>etcd-3.6.1<br>etcd-3.6.12 | Etcd is a strongly consistent, distributed key-value store that provides a reliable way to store data that needs to be accessed by a distributed system or cluster of machines. | loomt |
1313
| falkordb | falkordb-4.12.5<br>falkordb-4.14.12<br>falkordb-cluster-4.12.5<br>falkordb-cluster-4.14.12<br>falkordb-sent-4.12.5<br>falkordb-sent-4.14.12 | FalkorDB is an in-memory graph database based on Redis. | ApeCloud dudizimber |
1414
| greptimedb | greptimedb-0.3.2 | An open-source, cloud-native, distributed time-series database with PromQL/SQL/Python supported. | GreptimeTeam sh2 |

addons/elasticsearch/plugins/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WORKDIR /plugins
55
# Install all plugins
66
RUN set -e && \
77
# IK plugins for all versions \
8-
for version in 6.8.23 7.7.1 7.8.1 7.10.1 7.10.2 8.1.3 8.8.2 8.15.5; do \
8+
for version in 6.8.23 7.7.1 7.8.1 7.10.1 7.10.2 8.1.3 8.8.2 8.15.5 8.19.0; do \
99
echo "Installing IK plugin for Elasticsearch $version"; \
1010
mkdir -p ./${version}/ik && \
1111
wget -q https://release.infinilabs.com/analysis-ik/stable/elasticsearch-analysis-ik-${version}.zip && \

addons/elasticsearch/scripts/entrypoint.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
#!/usr/bin/env sh
2-
cp /etc/pki/tls/* /usr/share/elasticsearch/config/
1+
#!/usr/bin/env bash
2+
if [ -d /etc/pki/tls ]; then
3+
cp /etc/pki/tls/* /usr/share/elasticsearch/config/
4+
fi
35
# Parse zone from zone-aware-mapping file based on NODE_NAME
46
# Zone-aware-mapping file format: YAML format with zone name as key and comma-separated node names as value
57
# Empty node list is allowed for a zone

addons/elasticsearch/templates/_helpers.tpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,12 +319,12 @@ runtime:
319319
- name: install-plugins
320320
imagePullPolicy: {{ .Values.image.pullPolicy }}
321321
command:
322-
- sh
322+
- bash
323323
- -c
324324
- |
325325
set -x
326-
sh /mnt/remote-scripts/install-plugins.sh
327-
sh /mnt/remote-scripts/prepare-fs.sh
326+
bash /mnt/remote-scripts/install-plugins.sh
327+
bash /mnt/remote-scripts/prepare-fs.sh
328328
securityContext:
329329
allowPrivilegeEscalation: false
330330
capabilities:
@@ -370,7 +370,7 @@ runtime:
370370
- name: elasticsearch
371371
imagePullPolicy: {{ .Values.image.pullPolicy }}
372372
command:
373-
- sh
373+
- bash
374374
- -c
375375
- |
376376
/mnt/remote-scripts/entrypoint.sh

addons/elasticsearch/values.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ image:
2424
# refer: addons/elasticsearch/plugins/Dockerfile
2525
plugin:
2626
repository: apecloud/elasticsearch-plugins
27-
tag: "0.1.0"
27+
tag: "0.1.1"
2828
tools:
2929
repository: apecloud/curl-jq
3030
tag: 0.1.0
@@ -70,6 +70,7 @@ esVersions:
7070
- ["8.1.3", "8.1.3", "8.1.3", false]
7171
- ["8.8.2", "8.8.2", "8.8.2", false]
7272
- ["8.15.5", "8.15.5", "8.15.5", false]
73+
- ["8.19.0", "8.19.0", "8.19.0", false]
7374

7475
## @param supported kibana versions with detailed information
7576
kibanaVersions:
@@ -94,6 +95,7 @@ kibanaVersions:
9495
- ["8.8.2", "8.8.2", "8.8.2", false]
9596
- ["8.9.1", "8.9.1", "8.9.1", false]
9697
- ["8.15.5", "8.15.5", "8.15.5", false]
98+
- ["8.19.0", "8.19.0", "8.19.0", false]
9799

98100
# @param zoneAware enable zone awareness
99101
# @param zoneAware.enabled enable zone awareness
@@ -115,4 +117,4 @@ zoneAware:
115117

116118
exporter:
117119
service:
118-
port: 9114
120+
port: 9114

0 commit comments

Comments
 (0)