File tree Expand file tree Collapse file tree 4 files changed +19
-33
lines changed
kubernetes/samples/scripts/create-weblogic-domain Expand file tree Collapse file tree 4 files changed +19
-33
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,12 @@ spec:
147
147
# - "ADMIN_ONLY" will start up only the administration server (no managed servers will be started)
148
148
# - "IF_NEEDED" will start all non-clustered servers, including the administration server and clustered servers up to the replica count
149
149
serverStartPolicy: "IF_NEEDED"
150
+ # an (optional) list of environment variable to be set on the servers
151
+ env:
152
+ - name: JAVA_OPTIONS
153
+ value: "-Dweblogic.StdoutDebugEnabled=false"
154
+ - name: USER_MEM_ARGS
155
+ value: "-Xms64m -Xmx256m "
150
156
# adminServer is used to configure the desired behavior for starting the administration server.
151
157
adminServer:
152
158
# serverStartState legal values are "RUNNING" or "ADMIN"
@@ -158,23 +164,12 @@ spec:
158
164
# Uncomment to export the T3Channel as a service
159
165
# exportedNetworkAccessPoints:
160
166
# T3Channel: {}
161
- # an (optional) list of environment variable to be set on the server
162
- env:
163
- - name: JAVA_OPTIONS
164
- value: "-Dweblogic.StdoutDebugEnabled=false"
165
- - name: USER_MEM_ARGS
166
- value: "-Xms64m -Xmx256m "
167
167
# clusters is used to configure the desired behavior for starting member servers of a cluster.
168
168
# If you use this entry, then the rules will be applied to ALL servers that are members of the named clusters.
169
169
clusters:
170
170
cluster-1:
171
171
desiredState: "RUNNING"
172
172
replicas: 2
173
- env:
174
- - name: JAVA_OPTIONS
175
- value: "-Dweblogic.StdoutDebugEnabled=false"
176
- - name: USER_MEM_ARGS
177
- value: "-Xms64m -Xmx256m "
178
173
# The number of managed servers to start for unlisted clusters
179
174
# replicas: 1
180
175
Original file line number Diff line number Diff line change 44
44
# - "ADMIN_ONLY" will start up only the administration server (no managed servers will be started)
45
45
# - "IF_NEEDED" will start all non-clustered servers, including the administration server and clustered servers up to the replica count
46
46
serverStartPolicy : " %SERVER_START_POLICY%"
47
+ # an (optional) list of environment variable to be set on the servers
48
+ env :
49
+ - name : JAVA_OPTIONS
50
+ value : " %JAVA_OPTIONS%"
51
+ - name : USER_MEM_ARGS
52
+ value : " -Xms64m -Xmx256m "
47
53
# adminServer is used to configure the desired behavior for starting the administration server.
48
54
adminServer :
49
55
# serverStartState legal values are "RUNNING" or "ADMIN"
@@ -55,22 +61,11 @@ spec:
55
61
# Uncomment to export the T3Channel as a service
56
62
%EXPOSE_T3_CHANNEL_PREFIX%exportedNetworkAccessPoints:
57
63
%EXPOSE_T3_CHANNEL_PREFIX% T3Channel: {}
58
- # an (optional) list of environment variable to be set on the server
59
- env :
60
- - name : JAVA_OPTIONS
61
- value : " %JAVA_OPTIONS%"
62
- - name : USER_MEM_ARGS
63
- value : " -Xms64m -Xmx256m "
64
64
# clusters is used to configure the desired behavior for starting member servers of a cluster.
65
65
# If you use this entry, then the rules will be applied to ALL servers that are members of the named clusters.
66
66
clusters :
67
67
%CLUSTER_NAME%:
68
68
serverStartState : " RUNNING"
69
69
replicas : %INITIAL_MANAGED_SERVER_REPLICAS%
70
- env :
71
- - name : JAVA_OPTIONS
72
- value : " %JAVA_OPTIONS%"
73
- - name : USER_MEM_ARGS
74
- value : " -Xms64m -Xmx256m "
75
70
# The number of managed servers to start from clusters not listed in clusters
76
71
# replicas: 1
Original file line number Diff line number Diff line change @@ -163,6 +163,12 @@ spec:
163
163
# - "ADMIN_ONLY" will start up only the administration server (no managed servers will be started)
164
164
# - "IF_NEEDED" will start all non-clustered servers, including the administration server and clustered servers up to the replica count
165
165
serverStartPolicy: "IF_NEEDED"
166
+ # an (optional) list of environment variable to be set on the servers
167
+ env:
168
+ - name: JAVA_OPTIONS
169
+ value: "-Dweblogic.StdoutDebugEnabled=false"
170
+ - name: USER_MEM_ARGS
171
+ value: "-Xms64m -Xmx256m "
166
172
# adminServer is used to configure the desired behavior for starting the administration server.
167
173
adminServer:
168
174
# serverStartState legal values are "RUNNING" or "ADMIN"
@@ -175,22 +181,12 @@ spec:
175
181
exportedNetworkAccessPoints:
176
182
T3Channel: {}
177
183
# an (optional) list of environment variable to be set on the server
178
- env:
179
- - name: JAVA_OPTIONS
180
- value: "-Dweblogic.StdoutDebugEnabled=false"
181
- - name: USER_MEM_ARGS
182
- value: "-Xms64m -Xmx256m "
183
184
# clusters is used to configure the desired behavior for starting member servers of a cluster.
184
185
# If you use this entry, then the rules will be applied to ALL servers that are members of the named clusters.
185
186
clusters:
186
187
cluster-1:
187
188
serverStartState: "RUNNING"
188
189
replicas: 2
189
- env:
190
- - name: JAVA_OPTIONS
191
- value: "-Dweblogic.StdoutDebugEnabled=false"
192
- - name: USER_MEM_ARGS
193
- value: "-Xms64m -Xmx256m "
194
190
# The number of managed servers to start for unlisted clusters
195
191
# replicas: 1
196
192
storage:
Original file line number Diff line number Diff line change 53
53
# - "ADMIN_ONLY" will start up only the administration server (no managed servers will be started)
54
54
# - "IF_NEEDED" will start all non-clustered servers, including the administration server and clustered servers up to the replica count
55
55
serverStartPolicy : " %SERVER_START_POLICY%"
56
- # an (optional) list of environment variable to be set on the server
56
+ # an (optional) list of environment variable to be set on the servers
57
57
env :
58
58
- name : JAVA_OPTIONS
59
59
value : " %JAVA_OPTIONS%"
You can’t perform that action at this time.
0 commit comments