You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/elasticsearch/reconfigure_tls/overview.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,43 +12,43 @@ section_menu_id: guides
12
12
13
13
> New to KubeDB? Please start [here](/docs/README.md).
14
14
15
-
# Reconfiguring TLS of Kafka
15
+
# Reconfiguring TLS of Elasticsearch
16
16
17
-
This guide will give an overview on how KubeDB Ops-manager operator reconfigures TLS configuration i.e. add TLS, remove TLS, update issuer/cluster issuer or Certificates and rotate the certificates of `Kafka`.
17
+
This guide will give an overview on how KubeDB Ops-manager operator reconfigures TLS configuration i.e. add TLS, remove TLS, update issuer/cluster issuer or Certificates and rotate the certificates of `Elasticsearch`.
18
18
19
19
## Before You Begin
20
20
21
21
- You should be familiar with the following `KubeDB` concepts:
## How Reconfiguring Kafka TLS Configuration Process Works
25
+
## How Reconfiguring Elasticsearch TLS Configuration Process Works
26
26
27
-
The following diagram shows how KubeDB Ops-manager operator reconfigures TLS of a `Kafka`. Open the image in a new tab to see the enlarged version.
27
+
The following diagram shows how KubeDB Ops-manager operator reconfigures TLS of a `Elasticsearch`. Open the image in a new tab to see the enlarged version.
28
28
29
29
<figurealign="center">
30
-
<img alt="Reconfiguring TLS process of Kafka" src="/docs/images/day-2-operation/kafka/kf-reconfigure-tls.svg">
31
-
<figcaption align="center">Fig: Reconfiguring TLS process of Kafka</figcaption>
30
+
<img alt="Reconfiguring TLS process of Elasticsearch" src="/docs/guides/elasticsearch/reconfigure_tls/es-tls.png">
31
+
<figcaption align="center">Fig: Reconfiguring TLS process of Elasticsearch</figcaption>
32
32
</figure>
33
33
34
-
The Reconfiguring Kafka TLS process consists of the following steps:
34
+
The Reconfiguring Elasticsearch TLS process consists of the following steps:
35
35
36
-
1. At first, a user creates a `Kafka` Custom Resource Object (CRO).
36
+
1. At first, a user creates a `Elasticsearch` Custom Resource Object (CRO).
37
37
38
-
2.`KubeDB` Provisioner operator watches the `Kafka` CRO.
38
+
2.`KubeDB` Provisioner operator watches the `Elasticsearch` CRO.
39
39
40
-
3. When the operator finds a `Kafka` CR, it creates required number of `PetSets` and related necessary stuff like secrets, services, etc.
40
+
3. When the operator finds a `Elasticsearch` CR, it creates required number of `PetSets` and related necessary stuff like secrets, services, etc.
41
41
42
-
4. Then, in order to reconfigure the TLS configuration of the `Kafka` database the user creates a `KafkaOpsRequest` CR with desired information.
42
+
4. Then, in order to reconfigure the TLS configuration of the `Elasticsearch` database the user creates a `ElasticsearchOpsRequest` CR with desired information.
43
43
44
-
5.`KubeDB` Ops-manager operator watches the `KafkaOpsRequest` CR.
44
+
5.`KubeDB` Ops-manager operator watches the `ElasticsearchOpsRequest` CR.
45
45
46
-
6. When it finds a `KafkaOpsRequest` CR, it pauses the `Kafka` object which is referred from the `KafkaOpsRequest`. So, the `KubeDB` Provisioner operator doesn't perform any operations on the `Kafka` object during the reconfiguring TLS process.
46
+
6. When it finds a `ElasticsearchOpsRequest` CR, it pauses the `Elasticsearch` object which is referred from the `ElasticsearchOpsRequest`. So, the `KubeDB` Provisioner operator doesn't perform any operations on the `Elasticsearch` object during the reconfiguring TLS process.
47
47
48
48
7. Then the `KubeDB` Ops-manager operator will add, remove, update or rotate TLS configuration based on the Ops Request yaml.
49
49
50
-
8. Then the `KubeDB` Ops-manager operator will restart all the Pods of the database so that they restart with the new TLS configuration defined in the `KafkaOpsRequest` CR.
50
+
8. Then the `KubeDB` Ops-manager operator will restart all the Pods of the database so that they restart with the new TLS configuration defined in the `ElasticsearchOpsRequest` CR.
51
51
52
-
9. After the successful reconfiguring of the `Kafka` TLS, the `KubeDB` Ops-manager operator resumes the `Kafka` object so that the `KubeDB` Provisioner operator resumes its usual operations.
52
+
9. After the successful reconfiguring of the `Elasticsearch` TLS, the `KubeDB` Ops-manager operator resumes the `Elasticsearch` object so that the `KubeDB` Provisioner operator resumes its usual operations.
53
53
54
-
In the next docs, we are going to show a step by step guide on reconfiguring TLS configuration of a Kafka database using `KafkaOpsRequest` CRD.
54
+
In the next docs, we are going to show a step by step guide on reconfiguring TLS configuration of a Elasticsearch database using `ElasticsearchOpsRequest` CRD.
Copy file name to clipboardExpand all lines: docs/guides/elasticsearch/restart/index.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,8 @@ This guide will demonstrate how to restart an Elasticsearch cluster using an Ops
22
22
23
23
## Before You Begin
24
24
25
-
- You need a running Kubernetes cluster and a properly configured `kubectl` command-line tool. If you don’t have a cluster, you can create one using [kind](https://kind.sigs.k8s.io/docs/user/quick-start/).
25
+
- You need a running Kubernetes cluster and a properly configured `kubectl` command-line tool. If you don’t
26
+
have a cluster, you can create one using [kind](https://kind.sigs.k8s.io/docs/user/quick-start/).
26
27
27
28
- Install the KubeDB CLI on your workstation and the KubeDB operator in your cluster by following the [installation steps](/docs/setup/README.md).
From all the above outputs we can see that the replicas of the Topology cluster is `2`. That means we have successfully scaled down the replicas of the Elasticsearch Topology cluster.
409
+
410
+
Only one node can be scaling down at a time. So we are scaling down the `ingest` node.
409
411
```bash
410
412
apiVersion: ops.kubedb.com/v1alpha1
411
413
kind: ElasticsearchOpsRequest
@@ -420,7 +422,6 @@ spec:
420
422
topology:
421
423
ingest: 2
422
424
```
423
-
From all the above outputs we can see that the replicas of the Topology cluster is `2`. That means we have successfully scaled down the replicas of the Elasticsearch Topology cluster.
From all the above outputs we can see that the brokers of the Topology Elasticsearch is `3`. That means we have successfully scaled up the replicas of the Elasticsearch Topology cluster.
591
592
592
-
593
-
**Only ingest nodes after scaling up:**
593
+
Only one node can be scaling up at a time. So we are scaling up the `ingest` node.
Copy file name to clipboardExpand all lines: docs/guides/elasticsearch/scaling/vertical/topology.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -689,6 +689,4 @@ kubectl delete ns demo
689
689
- Detail concepts of [Elasticsearch object](/docs/guides/Elasticsearch/concepts/Elasticsearch.md).
690
690
- Different Elasticsearch topology clustering modes [here](/docs/guides/Elasticsearch/clustering/_index.md).
691
691
- Monitor your Elasticsearch database with KubeDB using [out-of-the-box Prometheus operator](/docs/guides/Elasticsearch/monitoring/using-prometheus-operator.md).
692
-
693
-
[//]: # (- Monitor your Elasticsearch database with KubeDB using [out-of-the-box builtin-Prometheus](/docs/guides/Elasticsearch/monitoring/using-builtin-prometheus.md).)
694
692
- Want to hack on KubeDB? Check our [contribution guidelines](/docs/CONTRIBUTING.md).
Copy file name to clipboardExpand all lines: docs/guides/elasticsearch/update-version/elasticsearch.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ namespace/demo created
38
38
39
39
## Prepare Elasticsearch
40
40
41
-
Now, we are going to deploy a `Elasticsearch` replicaset database with version `xpack-8.11.1`.
41
+
Now, we are going to deploy a `Elasticsearch` replicaset database with version `xpack-9.1.3`.
42
42
43
43
### Deploy Elasticsearch
44
44
@@ -110,7 +110,7 @@ Here,
110
110
111
111
- `spec.databaseRef.name` specifies that we are performing operation on `es-demo` Elasticsearch.
112
112
- `spec.type`specifies that we are going to perform `UpdateVersion` on our database.
113
-
- `spec.updateVersion.targetVersion`specifies the expected version of the database `xpack-8.16.4`.
113
+
- `spec.updateVersion.targetVersion`specifies the expected version of the database `xpack-9.1.4`.
114
114
115
115
> **Note:** If you want to update combined Elasticsearch, you just refer to the `Elasticsearch` combined object name in `spec.databaseRef.name`. To create a combined Elasticsearch, you can refer to the [Elasticsearch Combined](/docs/guides/elasticsearch/clustering/combined-cluster/index.md) guide.
Copy file name to clipboardExpand all lines: docs/guides/elasticsearch/volume-expantion/topology.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Now, we are going to deploy a `Elasticsearch` combined cluster with version `xpa
59
59
60
60
### Deploy Elasticsearch
61
61
62
-
In this section, we are going to deploy a Elasticsearch topology cluster for broker and controller with 1GB volume. Then, in the next section we will expand its volume to 2GB using `ElasticsearchOpsRequest` CRD. Below is the YAML of the `Elasticsearch` CR that we are going to create,
62
+
In this section, we are going to deploy a Elasticsearch topology cluster for broker and controller with 1Gi volume. Then, in the next section we will expand its volume to 2Gi using `ElasticsearchOpsRequest` CRD. Below is the YAML of the `Elasticsearch` CR that we are going to create,
0 commit comments