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: site/helm-charts.md
+58-58Lines changed: 58 additions & 58 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,8 @@ Helm has two parts: a client (helm) and a server (tiller). Tiller runs inside of
13
13
The operator Helm chart is pre-configured with default values for the configuration of the operator.
14
14
15
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
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
18
18
19
19
The user can find out the configuration values that the Helm chart supports, as well as the default values, using this command:
20
20
```
@@ -31,10 +31,10 @@ The operator can expose an external REST HTTPS interface which can be accessed f
31
31
32
32
To enable the external REST interface, configure these values in a custom configuration file, or on the Helm command line:
33
33
34
-
* set "externalRestEnabled" to true
35
-
* set "externalOperatorCert" to the certificate's Base64 encoded PEM
36
-
* set "externalOperatorKey" to the keys Base64 encoded PEM
37
-
* optionally, set "externalRestHttpsPort" to the external port number for the operator REST interface (defaults to 31001)
34
+
* set `externalRestEnabled` to true
35
+
* set `externalOperatorCert` to the certificate's Base64 encoded PEM
36
+
* set `externalOperatorKey` to the keys Base64 encoded PEM
37
+
* optionally, set `externalRestHttpsPort` to the external port number for the operator REST interface (defaults to `31001`)
38
38
39
39
More detailed information about configuration values can be found in [Operator Helm configuration values](#operator-helm-configuration-values)
40
40
@@ -59,23 +59,23 @@ The user is responsible for configuring Kibana and Elasticsearch, then configuri
59
59
60
60
As part of the ELK integration, Logstash configuration occurs for each deployed operator instance. The following configuration values can be used to configure the integration:
61
61
62
-
* set "elkIntegrationEnabled" is "true" to enable the integration
63
-
* set "logStashImage" to override the default version of logstash to be used (logstash:6.2)
64
-
* set "elasticSearchHost" and "elasticSearchPort" to override the default location where Elasticsearch is running (elasticsearch2.default.svc.cluster.local:9201). This will configure Logstash to send the operator's log contents there.
62
+
* set `elkIntegrationEnabled` is `true` to enable the integration
63
+
* set `logStashImage` to override the default version of logstash to be used (`logstash:6.2`)
64
+
* set `elasticSearchHost` and `elasticSearchPort` to override the default location where Elasticsearch is running (`elasticsearch2.default.svc.cluster.local:9201`). This will configure Logstash to send the operator's log contents there.
65
65
66
66
More detailed information about configuration values can be found in [Operator Helm configuration values](#operator-helm-configuration-values)
67
67
68
68
## Install the Helm chart
69
69
70
-
The "helm install" command is used to install the operator Helm chart. As part of this, the user specifies a "release" name for their operator.
70
+
The `helm install` command is used to install the operator Helm chart. As part of this, the user specifies a "release" name for their operator.
71
71
72
72
The user can override default configuration values in the operator Helm chart by doing one of the following:
73
-
- 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
73
+
- 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
75
75
76
-
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.
76
+
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.
77
77
78
-
Similarly, the user may override the default "serviceAccount" configuration value to specify which service account in the operator's namespace the operator should use. If not specified, it defaults to "default" (i.e. the namespace's default service account). If the user wants to use a different service account, then the user must create the operator's namespace and the service account before installing the operator Helm chart.
78
+
Similarly, the user may override the default `serviceAccount` configuration value to specify which service account in the operator's namespace the operator should use. If not specified, it defaults to `default` (i.e. the namespace's default service account). If the user wants to use a different service account, then the user must create the operator's namespace and the service account before installing the operator Helm chart.
This creates a Helm release, named "weblogic-operator" in the "weblogic-operator-namespace" namespace, and configures a deployment and supporting resources for the operator.
93
+
This creates a Helm release, named `weblogic-operator` in the `weblogic-operator-namespace` namespace, and configures a deployment and supporting resources for the operator.
94
94
95
-
If "weblogic-operator-namespace" exists, it will be used. If it does not exist, then Helm will create it.
95
+
If `weblogic-operator-namespace` exists, it will be used. If it does not exist, then Helm will create it.
96
96
97
-
You can verify the operator installation by examining the output from the "helm install" command.
97
+
You can verify the operator installation by examining the output from the `helm install` command.
98
98
99
99
## Removing the Operator
100
100
101
-
The "helm delete" command is used to remove an operator release and its associated resources from the Kubernetes cluster. The release name used with the "helm delete" command is the same release name used with the "helm install" command (see [Install the Helm chart](#install-the-helm-chart)). For example:
101
+
The `helm delete` command is used to remove an operator release and its associated resources from the Kubernetes cluster. The release name used with the `helm delete` command is the same release name used with the `helm install` command (see [Install the Helm chart](#install-the-helm-chart)). For example:
102
102
```
103
103
helm delete --purge weblogic-operator
104
104
```
105
105
106
-
Note: if the operator's namespace did not exist before the Helm chart was installed, then Helm will create it, however, "helm delete" will not remove it.
106
+
Note: if the operator's namespace did not exist before the Helm chart was installed, then Helm will create it, however, `helm delete` will not remove it.
107
107
108
108
## Useful Helm operations
109
109
@@ -142,7 +142,7 @@ Roll back to a previous version of this operator Helm release, in this case the
142
142
helm rollback weblogic-operator 1
143
143
```
144
144
145
-
Change one or more values in the operator Helm release. In this example, the --reuse-values flag indicates that previous overrides of other values should be retained:
145
+
Change one or more values in the operator Helm release. In this example, the `--reuse-values` flag indicates that previous overrides of other values should be retained:
146
146
```
147
147
helm upgrade \
148
148
--reuse-values \
@@ -163,7 +163,7 @@ This section describes the details of the operator Helm chart's available config
163
163
164
164
Specifies the name of the service account in the operator's namespace that the operator will use to make requests to the Kubernetes API server. The user is responsible for creating the service account.
Specifies the level of Java logging that should be enabled in the operator. Valid values are: "SEVERE", "WARNING", "INFO", "CONFIG", "FINE", "FINER", and "FINEST".
176
176
177
-
Defaults to "INFO"
177
+
Defaults to `INFO`
178
178
179
179
Example:
180
180
```
@@ -187,7 +187,7 @@ javaLoggingLevel: "FINE"
187
187
188
188
Specifies the Docker image containing the operator code.
Specifies the port number where Elasticsearch is running. This parameter is ignored if 'elkIntegrationEnabled' is false.
275
+
Specifies the port number where Elasticsearch is running. This parameter is ignored if `elkIntegrationEnabled` is false.
276
276
277
-
Defaults to 9200.
277
+
Defaults to `9200`.
278
278
279
279
Example:
280
280
```
@@ -286,9 +286,9 @@ elasticSearchPort: 9201
286
286
#### externalRestEnabled
287
287
Determines whether the operator's REST interface will be exposed outside the Kubernetes cluster.
288
288
289
-
Defaults to false.
289
+
Defaults to `false`.
290
290
291
-
If set to true, the user must provide the SSL certificate and private key for the operator's external REST interface by specifying the "externalOperatorCert" and "externalOperatorKey" properties.
291
+
If set to true, the user must provide the SSL certificate and private key for the operator's external REST interface by specifying the `externalOperatorCert` and `externalOperatorKey` properties.
292
292
293
293
Example:
294
294
```
@@ -298,9 +298,9 @@ externalRestEnabled: true
298
298
#### externalRestHttpsPort
299
299
Specifies node port that should be allocated for the external operator REST HTTPS interface.
300
300
301
-
Only used when externalRestEnabled is true, otherwise ignored.
301
+
Only used when `externalRestEnabled` is `true`, otherwise ignored.
Specifies the user supplied certificate to use for the external operator REST HTTPS interface. The value must be a string containing a Base64 encoded PEM certificate. This parameter is required if 'externalRestEnabled' is true, otherwise, it is ignored.
312
+
Specifies the user supplied certificate to use for the external operator REST HTTPS interface. The value must be a string containing a Base64 encoded PEM certificate. This parameter is required if `externalRestEnabled` is true, otherwise, it is ignored.
313
313
314
314
There is no default value.
315
315
316
-
The helm installation will produce an error, similar to the following, if "externalOperatorCert" is not specified (left blank) and "externalRestEnabled" is true:
316
+
The helm installation will produce an error, similar to the following, if `externalOperatorCert` is not specified (left blank) and `externalRestEnabled` is true:
317
317
```
318
318
Error: render error in "weblogic-operator/templates/main.yaml": template: weblogic-operator/templates/main.yaml:4:3: executing "weblogic-operator/templates/main.yaml"
319
319
at <include "operator.va...>: error calling include: template: weblogic-operator/templates/_validate-inputs.tpl:53:4: executing "operator.validateInputs"
Specifies user supplied private key to use for the external operator REST HTTPS interface. The value must be a string containing a Base64 encoded PEM key. This parameter is required if 'externalRestEnabled' is true, otherwise, it is ignored.
331
+
Specifies user supplied private key to use for the external operator REST HTTPS interface. The value must be a string containing a Base64 encoded PEM key. This parameter is required if `externalRestEnabled` is `true`, otherwise, it is ignored.
332
332
333
333
There is no default value.
334
334
335
-
The helm installation will produce an error, similar to the following, if "externalOperatorKey" is not specified (left blank) and "externalRestEnabled" is true:
335
+
The helm installation will produce an error, similar to the following, if `externalOperatorKey` is not specified (left blank) and `externalRestEnabled` is true:
336
336
```
337
337
Error: render error in "weblogic-operator/templates/main.yaml": template: weblogic-operator/templates/main.yaml:4:3: executing "weblogic-operator/templates/main.yaml"
338
338
at <include "operator.va...>: error calling include: template: weblogic-operator/templates/_validate-inputs.tpl:53:4: executing "operator.validateInputs"
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.
- note: this deletes the role binding in the domain namespace that was created by the first operator release to give the operator access to the domain namespace
0 commit comments