Skip to content

Commit 863dfe4

Browse files
committed
Fix serverStartPolicy in samples
Signed-off-by: doxiao <[email protected]>
1 parent 9f56d20 commit 863dfe4

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The following parameters can be provided in the inputs file.
8888
| `managedServerPort` | Port number for each Managed Server. | `8001` |
8989
| `namespace` | Kubernetes namespace in which to create the domain. | `default` |
9090
| `productionModeEnabled` | Boolean indicating if production mode is enabled for the domain. | `true` |
91-
| `serverStartPolicy` | Determines which WebLogic Servers will be started up. Legal values are `NEVER`, `ALWAYS`, `IF_NEEDED`, `ADMIN_ONLY`. | `IF_NEEDED` |
91+
| `serverStartPolicy` | Determines which WebLogic Servers will be started up. Legal values are `NEVER`, `IF_NEEDED`, `ADMIN_ONLY`. | `IF_NEEDED` |
9292
| `t3ChannelPort` | Port for the T3 channel of the NetworkAccessPoint. | `30012` |
9393
| `t3PublicAddress` | Public address for the T3 channel. | `kubernetes` |
9494
| `weblogicCredentialsSecretName` | Name of the Kubernetes secret for the Administration Server's username and password. | `domain1-weblogic-credentials` |

kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain-inputs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ domainUID: domain1
1919
clusterType: DYNAMIC
2020

2121
# Determines which WebLogic Servers the Operator will start up
22-
# Legal values are "NEVER", "ALWAYS", "IF_NEEDED", or "ADMIN_ONLY"
22+
# Legal values are "NEVER", "IF_NEEDED", or "ADMIN_ONLY"
2323
serverStartPolicy: IF_NEEDED
2424

2525
# Cluster name

kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/domain-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
includeServerOutInPodLog: %INCLUDE_SERVER_OUT_IN_POD_LOG%
3232
# serverStartPolicy legal values are "NEVER", "IF_NEEDED", or "ADMIN_ONLY"
3333
# This determines which WebLogic Servers the Operator will start up when it discovers this Domain
34-
# - "NEVER" will not start any servers in the domain
34+
# - "NEVER" will not start any server in the domain
3535
# - "ADMIN_ONLY" will start up only the administration server (no managed servers will be started)
3636
# - "IF_NEEDED" will start all non-clustered servers, including the administration server and clustered servers up to the replica count
3737
serverStartPolicy: "%SERVER_START_POLICY%"

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ The following parameters can be provided in the inputs file.
9595
| `namespace` | Kubernetes namespace in which to create the domain. | `default` |
9696
| `persistentVolumeClaimName` | Name of the persistent volume claim. If not specified, the value is derived from the `domainUID` as `<domainUID>-weblogic-sample-pvc` | `domain1-weblogic-sample-pvc` |
9797
| `productionModeEnabled` | Boolean indicating if production mode is enabled for the domain. | `true` |
98-
| `serverStartPolicy` | Determines which WebLogic Servers will be started up. Legal values are `NEVER`, `ALWAYS`, `IF_NEEDED`, `ADMIN_ONLY`. | `IF_NEEDED` |
98+
| `serverStartPolicy` | Determines which WebLogic Servers will be started up. Legal values are `NEVER`, `IF_NEEDED`, `ADMIN_ONLY`. | `IF_NEEDED` |
9999
| `t3ChannelPort` | Port for the T3 channel of the NetworkAccessPoint. | `30012` |
100100
| `t3PublicAddress` | Public address for the T3 channel. | `kubernetes` |
101101
| `weblogicCredentialsSecretName` | Name of the Kubernetes secret for the Administration Server's username and password. If not specified, the value is derived from the `domainUID` as `<domainUID>-weblogic-credentials`. | `domain1-weblogic-credentials` |
@@ -159,9 +159,9 @@ spec:
159159
# If not specified or empty, domain log file, server logs, server out, and node manager log files
160160
# will be stored in the default logHome location of /shared/logs/<domainUID>/.
161161
logHome: /shared/logs/domain1
162-
# serverStartPolicy legal values are "NEVER", "ALWAYS", "IF_NEEDED", or "ADMIN_ONLY"
162+
# serverStartPolicy legal values are "NEVER", "IF_NEEDED", or "ADMIN_ONLY"
163163
# This determines which WebLogic Servers the operator will start up when it discovers this Domain
164-
# - "ALWAYS" will start up all defined servers
164+
# - "NEVER" will not start up any server in the domain
165165
# - "ADMIN_ONLY" will start up only the administration server (no managed servers will be started)
166166
# - "IF_NEEDED" will start all non-clustered servers, including the administration server and clustered servers up to the replica count
167167
serverStartPolicy: "IF_NEEDED"

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/create-domain-inputs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ domainHome: /shared/domains/domain1
2323
clusterType: DYNAMIC
2424

2525
# Determines which WebLogic Servers the Operator will start up
26-
# Legal values are "NEVER", "ALWAYS", "IF_NEEDED", or "ADMIN_ONLY"
26+
# Legal values are "NEVER", "IF_NEEDED", or "ADMIN_ONLY"
2727
serverStartPolicy: IF_NEEDED
2828

2929
# Cluster name

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/domain-template.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ spec:
3535
# If not specified or empty, domain log file, server logs, server out, and node manager log files
3636
# will be stored in the default logHome location of /shared/logs/<domainUID>/.
3737
logHome: %LOG_HOME%
38-
# serverStartPolicy legal values are "NEVER", "ALWAYS", "IF_NEEDED", or "ADMIN_ONLY"
38+
# serverStartPolicy legal values are "NEVER", "IF_NEEDED", or "ADMIN_ONLY"
3939
# This determines which WebLogic Servers the Operator will start up when it discovers this Domain
40-
# - "ALWAYS" will start up all defined servers
40+
# - "NEVER" will not start any server in the domain
4141
# - "ADMIN_ONLY" will start up only the administration server (no managed servers will be started)
4242
# - "IF_NEEDED" will start all non-clustered servers, including the administration server and clustered servers up to the replica count
4343
serverStartPolicy: "%SERVER_START_POLICY%"
@@ -70,6 +70,7 @@ spec:
7070
# If you use this entry, then the rules will be applied to ALL servers that are members of the named clusters.
7171
clusters:
7272
- clusterName: %CLUSTER_NAME%
73+
serverStartState: "RUNNING"
7374
replicas: %INITIAL_MANAGED_SERVER_REPLICAS%
7475
# The number of managed servers to start for unlisted clusters
7576
# replicas: 1

0 commit comments

Comments
 (0)