Skip to content

Commit 7a51cff

Browse files
authored
merge 1281 into master (#1284)
1 parent 40b02b8 commit 7a51cff

File tree

3 files changed

+394
-30
lines changed

3 files changed

+394
-30
lines changed

docs-source/content/samples/simple/elastic-stack/_index.md

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,3 @@ date: 2019-02-23T17:32:31-05:00
44
weight: 6
55
description: "Sample for configuring the Elasticsearch and Kibana deployments and services for the operator's logs."
66
---
7-
8-
9-
When you install the WebLogic operator Helm chart, you can set
10-
`elkIntegrationEnabled` to `true` in your `values.yaml` file to tell the operator to send the contents of the operator's logs to Elasticsearch.
11-
12-
Typically, you would have already configured Elasticsearch and Kibana in the
13-
Kubernetes cluster, and also would have specified `elasticSearchHost` and `elasticSearchPort` in your `values.yaml` file to point to where Elasticsearch is already running.
14-
15-
This sample configures the Elasticsearch and Kibana deployments and services.
16-
It's useful for trying out the operator in a Kubernetes cluster that doesn't already
17-
have them configured.
18-
19-
It runs the Elastic Stack on the same host and port that the operator's Helm chart defaults
20-
to, therefore, you only need to set `elkIntegrationEnabled` to `true` in your
21-
`values.yaml` file.
22-
23-
To control Elasticsearch memory parameters (Heap allocation and Enabling/Disabling swapping) please open the file `elasticsearch_and_kibana.yaml`, search for env variables of the elasticsearch container and change the values of the following.
24-
25-
* `ES_JAVA_OPTS`: value may contain, for example, `-Xms512m` `-Xmx512m` to lower the default memory usage (please be aware that this value is only applicable for demo purpose and it is not the one recommended by Elasticsearch).
26-
* `bootstrap.memory_lock`: value may contain `true` (enables the usage of `mlockall` to try to lock the process address space into RAM, preventing any Elasticsearch memory from being swapped out) or `false` (disables the usage of `mlockall` to try to lock the process address space into RAM, preventing any Elasticsearch memory from being swapped out).
27-
28-
To install Elasticsearch and Kibana, use:
29-
```
30-
$ kubectl apply -f kubernetes/samples/scripts/elasticsearch-and-kibana/elasticsearch_and_kibana.yaml
31-
```
32-
33-
To remove them, use:
34-
```
35-
$ kubectl delete -f kubernetes/samples/scripts/elasticsearch-and-kibana/elasticsearch_and_kibana.yaml
36-
```
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: "Operator"
3+
date: 2019-10-01T14:32:31-05:00
4+
weight: 1
5+
description: "Sample for configuring the Elasticsearch and Kibana deployments and services for the operator's logs."
6+
---
7+
8+
9+
When you install the WebLogic operator Helm chart, you can set
10+
`elkIntegrationEnabled` to `true` in your `values.yaml` file to tell the operator to send the contents of the operator's logs to Elasticsearch.
11+
12+
Typically, you would have already configured Elasticsearch and Kibana in the
13+
Kubernetes cluster, and also would have specified `elasticSearchHost` and `elasticSearchPort` in your `values.yaml` file to point to where Elasticsearch is already running.
14+
15+
This sample configures the Elasticsearch and Kibana deployments and services.
16+
It's useful for trying out the operator in a Kubernetes cluster that doesn't already
17+
have them configured.
18+
19+
It runs the Elastic Stack on the same host and port that the operator's Helm chart defaults
20+
to, therefore, you only need to set `elkIntegrationEnabled` to `true` in your
21+
`values.yaml` file.
22+
23+
To control Elasticsearch memory parameters (Heap allocation and Enabling/Disabling swapping) please open the file `elasticsearch_and_kibana.yaml`, search for env variables of the elasticsearch container and change the values of the following.
24+
25+
* `ES_JAVA_OPTS`: value may contain, for example, `-Xms512m` `-Xmx512m` to lower the default memory usage (please be aware that this value is only applicable for demo purpose and it is not the one recommended by Elasticsearch).
26+
* `bootstrap.memory_lock`: value may contain `true` (enables the usage of `mlockall` to try to lock the process address space into RAM, preventing any Elasticsearch memory from being swapped out) or `false` (disables the usage of `mlockall` to try to lock the process address space into RAM, preventing any Elasticsearch memory from being swapped out).
27+
28+
To install Elasticsearch and Kibana, use:
29+
```
30+
$ kubectl apply -f kubernetes/samples/scripts/elasticsearch-and-kibana/elasticsearch_and_kibana.yaml
31+
```
32+
33+
To remove them, use:
34+
```
35+
$ kubectl delete -f kubernetes/samples/scripts/elasticsearch-and-kibana/elasticsearch_and_kibana.yaml
36+
```

0 commit comments

Comments
 (0)