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/config-overrides.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,13 @@ You can use overrides to customize domains as they are moved from QA to producti
29
29
* Make sure your overrides are supported. See [Typical overrides](#typical-overrides) and [Unsupported overrides](#unsupported-overrides).
30
30
* Create a Kubernetes configuration map that contains:
31
31
* 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`.
33
33
* Set your domain resource `configOverrides` to the name of this configuration map.
34
34
* If templates leverage `secret macros`:
35
35
* Create Kubernetes secrets that contain template macro values.
36
36
* 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).)
39
39
* Verify your overrides are taking effect. (See [Debugging](#debugging)).
40
40
41
41
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,
261
261
* Make sure your overrides are supported. See [Typical overrides](#typical-overrides) and [Unsupported overrides](#unsupported-overrides).
262
262
* 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.
263
263
* 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.
265
266
* Templates must not override the settings listed in [Unsupported overrides](#unsupported-overrides).
266
267
* Templates must be formatted and named as per [Override template names and syntax](#override-template-names-and-syntax).
267
268
* 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,
289
290
* 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.
290
291
* 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).
291
292
* 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).)
293
294
* Or delete your domain resource, wait, and apply your (potentially changed) domain resource.
294
295
* See [Debugging](#debugging) for ways to check if the situational configuration is taking effect or if there are errors.
0 commit comments