Skip to content

Commit 942c48b

Browse files
committed
Merge branch 'userguide' of https://github.com/oracle/weblogic-kubernetes-operator into 2.0-rc1-final-doc-review
2 parents 3a677ac + ed2bdd4 commit 942c48b

File tree

4 files changed

+34
-31
lines changed

4 files changed

+34
-31
lines changed

kubernetes/samples/scripts/elasticsearch-and-kibana/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ to, therefore, the customer only needs to set `elkIntegrationEnabled` to `true`
1919

2020
To install ElasticSearch and Kibana, use:
2121
```
22-
kubectl apply -f kubernetes/samples/scripts/elasticsearch-and-kibana/elasticsearch_and_kibana.yaml
22+
$ kubectl apply -f kubernetes/samples/scripts/elasticsearch-and-kibana/elasticsearch_and_kibana.yaml
2323
```
2424

2525
To remove them, use:
2626
```
27-
kubectl delete -f kubernetes/samples/scripts/elasticsearch-and-kibana/elasticsearch_and_kibana.yaml
27+
$ kubectl delete -f kubernetes/samples/scripts/elasticsearch-and-kibana/elasticsearch_and_kibana.yaml
2828
```

site/helm-charts.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Helm has two parts: a client (helm) and a server (tiller). Tiller runs inside of
1212

1313
The operator Helm chart is pre-configured with default values for the configuration of the operator.
1414

15-
The user can override these values by doing one of the following:
16-
- create a custom YAML file with the only values to be overridden, and specify the `--value` option on the Helm command line
17-
- override individual values directly on the helm command line, using the `--set` option
15+
You can override these values by doing one of the following:
16+
- Create a custom YAML file with only the values to be overridden, and specify the `--value` option on the Helm command line
17+
- Override individual values directly on the Helm command line, using the `--set` option
1818

19-
The user can find out the configuration values that the Helm chart supports, as well as the default values, using this command:
19+
You can find out the configuration values that the Helm chart supports, as well as the default values, using this command:
2020
```
21-
helm inspect values kubernetes/charts/weblogic-operator
21+
$ helm inspect values kubernetes/charts/weblogic-operator
2222
```
2323

2424
The available configuration values are explained by category in [Operator Helm configuration values](#operator-helm-configuration-values) below.
@@ -41,9 +41,9 @@ More detailed information about configuration values can be found in [Operator H
4141
### SSL certificate and private key for the REST interface
4242

4343
For testing purposes, the WebLogic Kubernetes Operator project provides a sample script that generates a self-signed certificate and private key for the operator REST interface and outputs them out in YAML format. These values can be added to the user's custom YAML configuration file, for use when the operator's Helm chart is installed.
44-
44+
4545
___This script should not be used in a production environment (since self-signed certificates are normally not considered safe).___
46-
46+
4747
The script takes the subject alternative names that should be added to the certificate - i.e. the list of hostnames that clients can use to access the external REST interface. In this example, the output is directly appended to the user's custom YAML configuration:
4848
```
4949
kubernetes/samples/scripts/rest/generate-external-rest-identity.sh "DNS:${HOSTNAME},DNS:localhost,IP:127.0.0.1" >> custom-values.yaml
@@ -71,7 +71,7 @@ The `helm install` command is used to install the operator Helm chart. As part o
7171

7272
The user can override default configuration values in the operator Helm chart by doing one of the following:
7373
- create a custom YAML file containing the values to be overridden, and specify the `--value` option on the Helm command line
74-
- override individual values directly on the helm command line, using the `--set` option
74+
- override individual values directly on the helm command line, using the `--set` option
7575

7676
The user supplies the `–namespace` argument from the `helm install` command line to specify the namespace in which the operator should be installed. If not specified, it defaults to `default`. If the namespace does not already exist, Helm will automatically create it (and create a default service account in the new namespace), but will not remove it when the release is deleted. If the namespace already exists, Helm will re-use it. These are standard Helm behaviors.
7777

@@ -170,7 +170,7 @@ Example:
170170
serviceAccount: "weblogic-operator"
171171
```
172172

173-
#### javaLoggingLevel
173+
#### javaLoggingLevel
174174

175175
Specifies the level of Java logging that should be enabled in the operator. Valid values are: "SEVERE", "WARNING", "INFO", "CONFIG", "FINE", "FINER", and "FINEST".
176176

@@ -183,7 +183,7 @@ javaLoggingLevel: "FINE"
183183

184184
### Creating the operator pod
185185

186-
#### image
186+
#### image
187187

188188
Specifies the Docker image containing the operator code.
189189

@@ -249,7 +249,7 @@ Example:
249249
elkIntegrationEnabled: true
250250
```
251251

252-
#### logStashImage
252+
#### logStashImage
253253

254254
Specifies the Docker image containing Logstash. This parameter is ignored if `elkIntegrationEnabled` is false.
255255

@@ -260,7 +260,7 @@ Example:
260260
logStashImage: "logstash:6.2"
261261
```
262262

263-
#### elasticSearchHost
263+
#### elasticSearchHost
264264
Specifies the hostname where Elasticsearch is running. This parameter is ignored if `elkIntegrationEnabled` is false.
265265

266266
Defaults to `elasticsearch.default.svc.cluster.local`
@@ -270,7 +270,7 @@ Example:
270270
elasticSearchHost: "elasticsearch2.default.svc.cluster.local"
271271
```
272272

273-
#### elasticSearchPort
273+
#### elasticSearchPort
274274

275275
Specifies the port number where Elasticsearch is running. This parameter is ignored if `elkIntegrationEnabled` is false.
276276

@@ -349,7 +349,7 @@ externalOperatorKey: QmFnIEF0dHJpYnV0ZXMKICAgIGZyaWVuZGx5TmFtZTogd2VibG9naWMtb3B
349349

350350
#### remoteDebugNodePortEnabled
351351

352-
Specifies whether or not the operator will start a Java remote debug server on the provided port and suspend execution until a remote debugger has attached.
352+
Specifies whether or not the operator will start a Java remote debug server on the provided port and suspend execution until a remote debugger has attached.
353353

354354
Defaults to `false`
355355

@@ -404,7 +404,7 @@ You can't fix it by rolling back this release since it is not in the 'DEPLOYED'
404404

405405
You can't fix it by deleting the previous release since it removes the operator's resources too
406406

407-
All you can do is delete both operator releases and reinstall the original operator.
407+
All you can do is delete both operator releases and reinstall the original operator.
408408
See https://github.com/helm/helm/issues/2349
409409

410410
### Install an operator and tell it to manage a domain namespace that another operator is already managing

site/prepare-k8s.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
**TODO** write me
1+
# Preparing your Kubernetes environment
22

3-
## Preparing your Kubernetes environment
43

5-
**TODO** write intro
64

7-
### Set up your Kubernetes cluster
5+
## Set up your Kubernetes cluster
86

97
If you need help setting up a Kubernetes environment, check our [cheat sheet](site/k8s_setup.md).
108

119
After creating Kubernetes clusters, you can optionally:
1210
* Create load balancers to direct traffic to backend domains.
1311
* Configure Kibana and Elasticsearch for your operator logs.
1412

13+
14+
### Load balancing with an Ingress controller or a web server
15+
16+
You can choose a load balancer provider for your WebLogic domains running in a Kubernetes cluster. Please refer to the [WebLogic Operator Load Balancer Samples](../kubernetes/samples/charts/README.md) for information about the current capabilities and setup instructions for each of the supported load balancers,
17+
18+
1519
### Configuring Kibana and Elasticsearch
1620

17-
You can send the operator logs to Elasticsearch, to be displayed in Kibana. Use
21+
You can send the operator logs to Elasticsearch, to be displayed in Kibana. Use
1822
this [sample script](/kubernetes/samples/scripts/elasticsearch-and-kibana/README.md) to configure Elasticsearch and Kibana deployments and services.

site/user-guide.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
# User Guide
1+
# User guide
22

3-
This document provides detailed information that is targeted at the user of the Oracle WebLogic
4-
Server Kubernetes Operator. It provides instructions on how to install the operator in your
3+
This document provides detailed information that is targeted at the user of the Oracle WebLogic
4+
Server Kubernetes Operator. It provides instructions on how to install the operator in your
55
Kubernetes cluster and how to use it to manage WebLogic domains.
66

7-
If you are looking for information about how the operator is designed, implemented, built, etc., then
7+
If you are looking for information about how the operator is designed, implemented, built, and such, then
88
you should refer to the [Developer guide](developer.md).
99

1010
## Table of contents
1111

12-
The information in this guide is organized in the order that you would most likely need to use it. If you
13-
want to set up an operator and use it to create and manage WebLogic domains, you should
14-
follow this guide from top to bottom, and the necessary information will be
12+
The information in this guide is organized in the order that you would most likely need to use it. If you
13+
want to set up an operator and use it to create and manage WebLogic domains, you should
14+
follow this guide from top to bottom, and the necessary information will be
1515
presented in the correct order.
1616

1717
* [Important terms](#important-terms)
1818
* [Getting started](#getting-started)
1919
* [Prerequisites](#prerequisites)
2020
* [Preparing your Kubernetes environment to run the operator](prepare-k8s.md)
2121
* [Set up your Kubernetes cluster](prepare-k8s.md#set-up-your-kubernetes-cluster)
22-
* [Set up load balancers](load-balancing.md)
22+
* [Set up load balancers](prepare-k8s.md#load-balancing-with-an-ingress-controller-or-a-web-server)
2323
* [Configuring Kibana and Elasticsearch](prepare-k8s.md#configuring-kibana-and-elasticsearch)
2424
* [Install and manage the operator](install.md)
2525
* [Using the Helm charts](helm-charts.md)
@@ -70,4 +70,3 @@ Before using the operator, you might want to read the [design philosophy](design
7070
* Helm 2.8.2+ (check with `helm version`).
7171
* Oracle WebLogic Server 12.2.1.3.0 with patch 28076014.
7272
* You must have the `cluster-admin` role to install the operator.
73-

0 commit comments

Comments
 (0)