File tree Expand file tree Collapse file tree 4 files changed +33
-19
lines changed
kubernetes/samples/scripts/create-weblogic-domain Expand file tree Collapse file tree 4 files changed +33
-19
lines changed Original file line number Diff line number Diff line change @@ -147,12 +147,6 @@ 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 "
156
150
# adminServer is used to configure the desired behavior for starting the administration server.
157
151
adminServer:
158
152
# serverStartState legal values are "RUNNING" or "ADMIN"
@@ -164,12 +158,23 @@ spec:
164
158
# Uncomment to export the T3Channel as a service
165
159
# exportedNetworkAccessPoints:
166
160
# 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 "
173
178
# The number of managed servers to start for unlisted clusters
174
179
# replicas: 1
175
180
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 "
53
47
# adminServer is used to configure the desired behavior for starting the administration server.
54
48
adminServer :
55
49
# serverStartState legal values are "RUNNING" or "ADMIN"
@@ -61,11 +55,22 @@ spec:
61
55
# Uncomment to export the T3Channel as a service
62
56
%EXPOSE_T3_CHANNEL_PREFIX%exportedNetworkAccessPoints:
63
57
%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 "
70
75
# The number of managed servers to start from clusters not listed in clusters
71
76
# replicas: 1
Original file line number Diff line number Diff line change @@ -163,12 +163,6 @@ 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 "
172
166
# adminServer is used to configure the desired behavior for starting the administration server.
173
167
adminServer:
174
168
# serverStartState legal values are "RUNNING" or "ADMIN"
@@ -181,12 +175,22 @@ spec:
181
175
exportedNetworkAccessPoints:
182
176
T3Channel: {}
183
177
# 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 "
184
183
# clusters is used to configure the desired behavior for starting member servers of a cluster.
185
184
# If you use this entry, then the rules will be applied to ALL servers that are members of the named clusters.
186
185
clusters:
187
186
cluster-1:
188
187
serverStartState: "RUNNING"
189
188
replicas: 2
189
+ env:
190
+ - name: JAVA_OPTIONS
191
+ value: "-Dweblogic.StdoutDebugEnabled=false"
192
+ - name: USER_MEM_ARGS
193
+ value: "-Xms64m -Xmx256m "
190
194
# The number of managed servers to start for unlisted clusters
191
195
# replicas: 1
192
196
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 servers
56
+ # an (optional) list of environment variable to be set on the server
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