@@ -18,43 +18,32 @@ kctl() {
18
18
}
19
19
# alias kctl='kubectl --namespace logging'
20
20
21
- # Deploy Elasticsearch service
22
- kctl apply -f es-discovery-svc.yaml
23
- kctl apply -f es-svc.yaml
21
+ # Deploy ElasticSearch configmap
24
22
kctl apply -f es-configmap.yaml
25
23
26
- # Deploy Elasticsearch master node and wait until it's up
27
- kctl apply -f es-master.yaml
28
- until kctl rollout status deployment es-master > /dev/null 2>&1 ; do sleep 1; printf " ." ; done
29
-
30
- # Deploy Elasticsearch client node and wait until it's up
31
- kctl apply -f es-client.yaml
32
- until kctl rollout status deployment es-client > /dev/null 2>&1 ; do sleep 1; printf " ." ; done
33
-
34
- # Deploy Elasticsearch data node and wait until it's up
35
- kctl apply -f es-data-statefulset.yaml
36
- until kctl rollout status statefulset es-data > /dev/null 2>&1 ; do sleep 1; printf " ." ; done
37
-
38
- # As an alternative, replace es-discovery-svc.yaml, es-svc.yaml and the master, client and data manifests
39
- # with the ones below to have a three-node cluster with all roles in all nodes.
40
- # kctl apply -f es-full-svc.yaml
41
- # kctl apply -f es-full.yaml
42
-
24
+ # As an alternative, replace master, client and data manifests applied above
25
+ # with the ones below to have a three-node cluster with all roles in all nodes.
26
+ kctl apply -f es-full-svc.yaml
27
+ kctl apply -f es-full-statefulset.yaml
28
+ until kctl rollout status statefulset es-full > /dev/null 2>&1 ; do sleep 1; printf " ." ; done
43
29
44
30
# Deploy Curator
45
- kctl apply -f es-curator-config.yaml
46
- kctl apply -f es-curator_v1beta1.yaml
31
+ kctl apply -f es-curator-configmap.yaml
32
+ kctl apply -f es-curator-cronjob.yaml
33
+
34
+ # Deploy Cerebro
35
+ kctl apply -f cerebro.yaml
36
+ kctl apply -f cerebro-external-ingress.yaml
47
37
48
38
# Deploy Kibana
49
39
kctl apply -f kibana-configmap.yaml
50
- kctl apply -f kibana-external-ingress.yaml
51
- kctl apply -f kibana-service-account.yaml
52
40
kctl apply -f kibana-svc.yaml
53
- kctl apply -f kibana.yaml
41
+ kctl apply -f kibana-deployment.yaml
42
+ kctl apply -f kibana-external-ingress.yaml
54
43
55
44
# Deploy Fluentd
56
- kctl apply -f fluentd-es- configmap.yaml
57
- kctl apply -f fluentd-es-ds .yaml
45
+ kctl apply -f fluentd-configmap.yaml
46
+ kctl apply -f fluentd-daemonset .yaml
58
47
59
48
echo " done!"
60
49
0 commit comments