Skip to content

Commit b8a37a4

Browse files
committed
Keep ECK, GKE and Elastis Stack up2date
1 parent 57fb13f commit b8a37a4

File tree

12 files changed

+230
-57
lines changed

12 files changed

+230
-57
lines changed

bin/demo.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
pwd=`pwd`
66
cluster_name=elastic-demo
7-
region=asia-east1
8-
# zone=asia-east1-a
7+
region=us-central1
8+
# zone=us-central1-a
99
project_id=`gcloud config get-value project`
1010
default_pool=default-pool
1111
nodes_per_zone=5 # per zone
1212
machine_type=e2-standard-2
1313
release_channel=None # None -> static, e.g. rapid, regular, stable
14-
gke_version=1.29.6-gke.1038001
15-
eck_version=2.13.0
14+
gke_version=1.30.5-gke.1014001
15+
eck_version=2.14.0
1616
es_cluster_name=dingo-demo
1717

1818
__create_gke() {

bin/gke.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
pwd=`pwd`
66
cluster_name=elk
7-
region=asia-east1
8-
# zone=asia-east1-a
7+
region=us-central1
8+
# zone=us-central1-a
99
project_id=`gcloud config get-value project`
1010
default_pool=default-pool
1111
nodes_per_zone=6 # per zone
1212
machine_type=n2-standard-8
1313
release_channel=None # None -> static, e.g. rapid, regular, stable
14-
gke_version=1.29.6-gke.1038001
15-
eck_version=2.13.0
14+
gke_version=1.30.5-gke.1014001
15+
eck_version=2.14.0
1616
__usage() {
1717
echo "Usage: ./bin/gke.sh {create|(delete,del,d)|scale|fix}"
1818
}

conf/crds.yaml

Lines changed: 199 additions & 26 deletions
Large diffs are not rendered by default.

conf/operator.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ metadata:
1515
namespace: elastic-system
1616
labels:
1717
control-plane: elastic-operator
18-
app.kubernetes.io/version: "2.13.0"
18+
app.kubernetes.io/version: "2.14.0"
1919
---
2020
# Source: eck-operator/templates/webhook.yaml
2121
apiVersion: v1
@@ -25,7 +25,7 @@ metadata:
2525
namespace: elastic-system
2626
labels:
2727
control-plane: elastic-operator
28-
app.kubernetes.io/version: "2.13.0"
28+
app.kubernetes.io/version: "2.14.0"
2929
---
3030
# Source: eck-operator/templates/configmap.yaml
3131
apiVersion: v1
@@ -35,7 +35,7 @@ metadata:
3535
namespace: elastic-system
3636
labels:
3737
control-plane: elastic-operator
38-
app.kubernetes.io/version: "2.13.0"
38+
app.kubernetes.io/version: "2.14.0"
3939
data:
4040
eck.yaml: |-
4141
log-verbosity: 0
@@ -69,7 +69,7 @@ metadata:
6969
name: elastic-operator
7070
labels:
7171
control-plane: elastic-operator
72-
app.kubernetes.io/version: "2.13.0"
72+
app.kubernetes.io/version: "2.14.0"
7373
rules:
7474
- apiGroups:
7575
- "authorization.k8s.io"
@@ -313,7 +313,7 @@ metadata:
313313
rbac.authorization.k8s.io/aggregate-to-edit: "true"
314314
rbac.authorization.k8s.io/aggregate-to-admin: "true"
315315
control-plane: elastic-operator
316-
app.kubernetes.io/version: "2.13.0"
316+
app.kubernetes.io/version: "2.14.0"
317317
rules:
318318
- apiGroups: ["elasticsearch.k8s.elastic.co"]
319319
resources: ["elasticsearches"]
@@ -355,7 +355,7 @@ metadata:
355355
rbac.authorization.k8s.io/aggregate-to-edit: "true"
356356
rbac.authorization.k8s.io/aggregate-to-admin: "true"
357357
control-plane: elastic-operator
358-
app.kubernetes.io/version: "2.13.0"
358+
app.kubernetes.io/version: "2.14.0"
359359
rules:
360360
- apiGroups: ["elasticsearch.k8s.elastic.co"]
361361
resources: ["elasticsearches"]
@@ -395,7 +395,7 @@ metadata:
395395
name: elastic-operator
396396
labels:
397397
control-plane: elastic-operator
398-
app.kubernetes.io/version: "2.13.0"
398+
app.kubernetes.io/version: "2.14.0"
399399
roleRef:
400400
apiGroup: rbac.authorization.k8s.io
401401
kind: ClusterRole
@@ -413,7 +413,7 @@ metadata:
413413
namespace: elastic-system
414414
labels:
415415
control-plane: elastic-operator
416-
app.kubernetes.io/version: "2.13.0"
416+
app.kubernetes.io/version: "2.14.0"
417417
spec:
418418
ports:
419419
- name: https
@@ -430,7 +430,7 @@ metadata:
430430
namespace: elastic-system
431431
labels:
432432
control-plane: elastic-operator
433-
app.kubernetes.io/version: "2.13.0"
433+
app.kubernetes.io/version: "2.14.0"
434434
spec:
435435
selector:
436436
matchLabels:
@@ -443,7 +443,7 @@ spec:
443443
# Rename the fields "error" to "error.message" and "source" to "event.source"
444444
# This is to avoid a conflict with the ECS "error" and "source" documents.
445445
"co.elastic.logs/raw": "[{\"type\":\"container\",\"json.keys_under_root\":true,\"paths\":[\"/var/log/containers/*${data.kubernetes.container.id}.log\"],\"processors\":[{\"convert\":{\"mode\":\"rename\",\"ignore_missing\":true,\"fields\":[{\"from\":\"error\",\"to\":\"_error\"}]}},{\"convert\":{\"mode\":\"rename\",\"ignore_missing\":true,\"fields\":[{\"from\":\"_error\",\"to\":\"error.message\"}]}},{\"convert\":{\"mode\":\"rename\",\"ignore_missing\":true,\"fields\":[{\"from\":\"source\",\"to\":\"_source\"}]}},{\"convert\":{\"mode\":\"rename\",\"ignore_missing\":true,\"fields\":[{\"from\":\"_source\",\"to\":\"event.source\"}]}}]}]"
446-
"checksum/config": 8b10381ca4067cf2c56aecc94c799473b09486202e146d2d7e5d6714f4c2e533
446+
"checksum/config": 882102069a9b11c3a4edfd77edcbbf9c3873f3dfc0d3f41676bd953ed4a3ce28
447447
labels:
448448
control-plane: elastic-operator
449449
spec:
@@ -453,7 +453,7 @@ spec:
453453
securityContext:
454454
runAsNonRoot: true
455455
containers:
456-
- image: "docker.elastic.co/eck/eck-operator:2.13.0"
456+
- image: "docker.elastic.co/eck/eck-operator:2.14.0"
457457
imagePullPolicy: IfNotPresent
458458
name: manager
459459
args:
@@ -511,7 +511,7 @@ metadata:
511511
name: elastic-webhook.k8s.elastic.co
512512
labels:
513513
control-plane: elastic-operator
514-
app.kubernetes.io/version: "2.13.0"
514+
app.kubernetes.io/version: "2.14.0"
515515
webhooks:
516516
- clientConfig:
517517
service:

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Elasticsearch status:
3535
"cluster_name" : "dingo-demo",
3636
"cluster_uuid" : "ouod-dk1R8-o_Et1LhJ19g",
3737
"version" : {
38-
"number" : "8.12.2",
38+
"number" : "8.15.3",
3939
"build_flavor" : "default",
4040
"build_type" : "docker",
4141
"build_hash" : "48a287ab9497e852de30327444b0809e55d46466",
@@ -96,7 +96,7 @@ For targeting region, you will need to update two files
9696
- [./bin/gke.sh](https://github.com/bindiego/local_services/blob/develop/k8s/gke/elastic/bin/gke.sh#L7)
9797
- [Makefile](https://github.com/bindiego/local_services/blob/develop/k8s/gke/elastic/Makefile#L1)
9898

99-
Change the `region` variable on your choice, `asia-east1` by default.
99+
Change the `region` variable on your choice, `us-central1` by default.
100100

101101
#### Choose a predefined Elasticsearch deployment 选择一个预置的集群架构
102102

@@ -351,7 +351,7 @@ kind: Kibana
351351
metadata:
352352
name: kbn
353353
spec:
354-
version: 8.11.3
354+
version: 8.15.3
355355
count: 1
356356
config:
357357
elasticsearch.hosts:
@@ -369,7 +369,7 @@ kind: Kibana
369369
metadata:
370370
name: kbn
371371
spec:
372-
version: 8.11.3
372+
version: 8.15.3
373373
count: 1
374374
config:
375375
elasticsearch.hosts:

templates/apm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: ApmServer
33
metadata:
44
name: dingo-apm
55
spec:
6-
version: 8.14.3
6+
version: 8.15.3
77
count: 1
88
elasticsearchRef:
99
name: dingo

templates/es.all_role.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Elasticsearch
33
metadata:
44
name: dingo
55
spec:
6-
version: 8.14.3
6+
version: 8.15.3
77
#http:
88
#service:
99
#spec:

templates/es.demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Elasticsearch
33
metadata:
44
name: dingo-demo
55
spec:
6-
version: 8.14.3
6+
version: 8.15.3
77
http:
88
service:
99
spec:

templates/es.prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Elasticsearch
33
metadata:
44
name: dingo
55
spec:
6-
version: 8.14.3
6+
version: 8.15.3
77
#http:
88
#service:
99
#spec:

templates/es.single_node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Elasticsearch
33
metadata:
44
name: dingo
55
spec:
6-
version: 8.14.3
6+
version: 8.15.3
77
#http:
88
#service:
99
#spec:

0 commit comments

Comments
 (0)