Skip to content

Commit 7f7ace7

Browse files
Tom Barnesrjeberhard
authored andcommitted
Custom overrides doc update.
1 parent d3bed4a commit 7f7ace7

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

site/config-overrides.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ You can use overrides to customize domains as they are moved from QA to producti
2929
* Make sure your overrides are supported. See [Typical overrides](#typical-overrides) and [Unsupported overrides](#unsupported-overrides).
3030
* Create a Kubernetes configuration map that contains:
3131
* Override templates (also known as situational configuration templates), with names and syntax as described in [Override template names and syntax](#override-template-names-and-syntax).
32-
* A file named `version.txt` that contains the string `2.0`.
32+
* A file named `version.txt` that contains the exact string `2.0`.
3333
* Set your domain resource `configOverrides` to the name of this configuration map.
3434
* If templates leverage `secret macros`:
3535
* Create Kubernetes secrets that contain template macro values.
3636
* Set your domain `configOverrideSecrets` to reference the aforementioned secrets.
37-
* Stop all running WebLogic Server pods in your domain. (See [Server Lifecycle](server-lifecycle.md).)
38-
* Start or restart your domain. (See [Server Lifecycle](server-lifecycle.md).)
37+
* Stop all running WebLogic Server pods in your domain. (See [Server Lifecycle](server-lifecycle.md) and [Restarting WebLogic servers](restart.md).)
38+
* Start or restart your domain. (See [Server Lifecycle](server-lifecycle.md) and [Restarting WebLogic servers](restart.md).)
3939
* Verify your overrides are taking effect. (See [Debugging](#debugging)).
4040

4141
For a detailed walk-through of these steps, see the [Step-by-step guide](#step-by-step-guide).
@@ -261,7 +261,8 @@ The following `jdbc-testDS.xml` override template demonstrates setting the URL,
261261
* Make sure your overrides are supported. See [Typical overrides](#typical-overrides) and [Unsupported overrides](#unsupported-overrides).
262262
* Create a directory containing (A) a set of situational configuration templates for overriding the MBean properties you want to replace and (B) a `version.txt` file.
263263
* This directory must not contain any other files.
264-
* The `version.txt` file must contain only the string `2.0`.
264+
* The `version.txt` file must contain exactly the string `2.0`.
265+
* Note: This version.txt file must stay `2.0` even when you are updating your templates from a previous deployment.
265266
* Templates must not override the settings listed in [Unsupported overrides](#unsupported-overrides).
266267
* Templates must be formatted and named as per [Override template names and syntax](#override-template-names-and-syntax).
267268
* Templates can embed macros that reference environment variables or Kubernetes secrets. See [Override template macros](#override-template-macros).
@@ -289,7 +290,7 @@ The following `jdbc-testDS.xml` override template demonstrates setting the URL,
289290
* Any override changes require stopping all WebLogic pods, applying your domain resource (if it changed), and restarting the WebLogic pods before they can take effect.
290291
* Custom override changes on an existing running domain, such as updating an override configuration map, a secret, or a domain resource, will not take effect until all running WebLogic Server pods in your domain are shutdown (so no servers are left running), and the domain is subsequently restarted with your new domain resource (if it changed), or with your existing domain resource (if you haven't changed it).
291292
* To stop all running WebLogic Server pods in your domain, apply a changed resource, and then start/restart the domain:
292-
* Set your domain resource `serverRestartPolicy` to `NEVER`, wait, and apply your latest domain resource with the `serverRestartPolicy` restored back to `ALWAYS` or `IF_NEEDED` (see [Server Lifecycle](server-lifecycle.md).)
293+
* Set your domain resource `serverRestartPolicy` to `NEVER`, wait, and apply your latest domain resource with the `serverRestartPolicy` restored back to `ALWAYS` or `IF_NEEDED` (see [Server Lifecycle](server-lifecycle.md) and [Restarting WebLogic servers](restart.md).)
293294
* Or delete your domain resource, wait, and apply your (potentially changed) domain resource.
294295
* See [Debugging](#debugging) for ways to check if the situational configuration is taking effect or if there are errors.
295296

site/domains.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ More information about the Domain resource can be found [here](domain-resource.m
127127

128128
In Operator 2.0, you can perform lifecycle operations on WebLogic servers, clusters, or domains.
129129
See [Starting, stopping, and restarting servers](server-lifecycle.md).
130+
See [Restarting WebLogic servers](restart.md)
130131

131132
### Scaling clusters
132133

0 commit comments

Comments
 (0)