Skip to content

Commit 8e02817

Browse files
BonusreeArnobKumarSaha
authored andcommitted
error fixed
Signed-off-by: Bonusree <[email protected]>
1 parent 6d52e80 commit 8e02817

File tree

7 files changed

+28
-29
lines changed

7 files changed

+28
-29
lines changed
55.2 KB
Loading

docs/guides/elasticsearch/reconfigure_tls/overview.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,43 +12,43 @@ section_menu_id: guides
1212

1313
> New to KubeDB? Please start [here](/docs/README.md).
1414
15-
# Reconfiguring TLS of Kafka
15+
# Reconfiguring TLS of Elasticsearch
1616

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`.
1818

1919
## Before You Begin
2020

2121
- You should be familiar with the following `KubeDB` concepts:
22-
- [Kafka](/docs/guides/kafka/concepts/kafka.md)
23-
- [KafkaOpsRequest](/docs/guides/kafka/concepts/kafkaopsrequest.md)
22+
- [Elasticsearch](/docs/guides/Elasticsearch/concepts/elasticsearch.md)
23+
- [ElasticsearchOpsRequest](/docs/guides/Elasticsearch/concepts/elasticsearch-ops-request.md)
2424

25-
## How Reconfiguring Kafka TLS Configuration Process Works
25+
## How Reconfiguring Elasticsearch TLS Configuration Process Works
2626

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.
2828

2929
<figure align="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>
3232
</figure>
3333

34-
The Reconfiguring Kafka TLS process consists of the following steps:
34+
The Reconfiguring Elasticsearch TLS process consists of the following steps:
3535

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).
3737

38-
2. `KubeDB` Provisioner operator watches the `Kafka` CRO.
38+
2. `KubeDB` Provisioner operator watches the `Elasticsearch` CRO.
3939

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.
4141

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.
4343

44-
5. `KubeDB` Ops-manager operator watches the `KafkaOpsRequest` CR.
44+
5. `KubeDB` Ops-manager operator watches the `ElasticsearchOpsRequest` CR.
4545

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.
4747

4848
7. Then the `KubeDB` Ops-manager operator will add, remove, update or rotate TLS configuration based on the Ops Request yaml.
4949

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.
5151

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.
5353

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.

docs/guides/elasticsearch/restart/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ This guide will demonstrate how to restart an Elasticsearch cluster using an Ops
2222

2323
## Before You Begin
2424

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/).
2627

2728
- Install the KubeDB CLI on your workstation and the KubeDB operator in your cluster by following the [installation steps](/docs/setup/README.md).
2829

docs/guides/elasticsearch/scaling/horizontal/topology.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,9 @@ $ kubectl get elasticsearch -n demo es-hscale-topology -o json | jq '.spec.topol
405405
$ kubectl get elasticsearch -n demo es-hscale-topology -o json | jq '.spec.topology.ingest.replicas'
406406
2
407407
```
408-
**Only ingest nodes after scaling down:**
408+
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.
409411
```bash
410412
apiVersion: ops.kubedb.com/v1alpha1
411413
kind: ElasticsearchOpsRequest
@@ -420,7 +422,6 @@ spec:
420422
topology:
421423
ingest: 2
422424
```
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.
424425

425426

426427

@@ -589,8 +590,7 @@ $ kubectl get elasticsearch -n demo es-hscale-topology -o json | jq '.spec.topol
589590

590591
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.
591592

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.
594594
```yaml
595595
apiVersion: ops.kubedb.com/v1alpha1
596596
kind: ElasticsearchOpsRequest

docs/guides/elasticsearch/scaling/vertical/topology.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,4 @@ kubectl delete ns demo
689689
- Detail concepts of [Elasticsearch object](/docs/guides/Elasticsearch/concepts/Elasticsearch.md).
690690
- Different Elasticsearch topology clustering modes [here](/docs/guides/Elasticsearch/clustering/_index.md).
691691
- 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]&#40;/docs/guides/Elasticsearch/monitoring/using-builtin-prometheus.md&#41;.)
694692
- Want to hack on KubeDB? Check our [contribution guidelines](/docs/CONTRIBUTING.md).

docs/guides/elasticsearch/update-version/elasticsearch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace/demo created
3838
3939
## Prepare Elasticsearch
4040

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`.
4242

4343
### Deploy Elasticsearch
4444

@@ -110,7 +110,7 @@ Here,
110110
111111
- `spec.databaseRef.name` specifies that we are performing operation on `es-demo` Elasticsearch.
112112
- `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`.
114114

115115
> **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.
116116

docs/guides/elasticsearch/volume-expantion/topology.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Now, we are going to deploy a `Elasticsearch` combined cluster with version `xpa
5959

6060
### Deploy Elasticsearch
6161

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,
6363

6464
```yaml
6565
apiVersion: kubedb.com/v1
@@ -140,7 +140,7 @@ pvc-bd4b7d5a-8494-4ee2-a25c-697a6f23cb79 1Gi RWO Delete
140140
pvc-c9057b3b-4412-467f-8ae5-f6414e0059c3 1Gi RWO Delete Bound demo/data-es-cluster-master-2 standard <unset> 22h
141141
```
142142

143-
You can see the petsets have 1GB storage, and the capacity of all the persistent volumes are also 1GB.
143+
You can see the petsets have 1Gi storage, and the capacity of all the persistent volumes are also 1Gi.
144144

145145
We are now ready to apply the `ElasticsearchOpsRequest` CR to expand the volume of this database.
146146

0 commit comments

Comments
 (0)