Skip to content

Commit eab6338

Browse files
committed
Publish documentation updates
1 parent 3b7c364 commit eab6338

File tree

3 files changed

+31
-8
lines changed

3 files changed

+31
-8
lines changed

documentation/3.2/content/_index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,12 @@ maintained for one release after a replacement is available.
5454
#### Getting help
5555

5656
See [Get help]({{< relref "userguide/introduction/get-help.md" >}}).
57+
58+
#### Related projects
59+
60+
* [Oracle Fusion Middleware on Kubernetes](https://oracle.github.io/fmw-kubernetes/)
61+
* [WebLogic Deploy Tooling](https://oracle.github.io/weblogic-deploy-tooling/)
62+
* [WebLogic Image Tool](https://oracle.github.io/weblogic-image-tool/)
63+
* [WebLogic Monitoring Exporter](https://github.com/oracle/weblogic-monitoring-exporter)
64+
* [WebLogic Logging Exporter](https://github.com/oracle/weblogic-logging-exporter)
65+
* [WebLogic Remote Console](https://github.com/oracle/weblogic-remote-console)

documentation/3.2/content/samples/simple/azure-kubernetes-service/domain-on-pv.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,30 @@ We need to set up the domain configuration for the WebLogic domain.
297297
```
298298
{{% /expand %}}
299299

300-
**Note**: If your output does not show a successful completion, you must
300+
If your output does not show a successful completion, you must
301301
troubleshoot the reason and resolve it before proceeding to the next
302302
step.
303303

304+
{{% notice note %}} This sample creates WebLogic Server pods with reasonable values for memory, CPU, and JVM heap size (as a percentage of memory). You can supply different values. Edit `~/azure/weblogic-on-aks/domain1.yaml` and set the desired values for `serverPodMemoryRequest`, `serverPodMemoryLimit`, `serverPodCpuRequest`, `serverPodCpuLimit` and `javaOptions` before running `./create-domain.sh -i ~/azure/weblogic-on-aks/domain1.yaml -o ~/azure -e -v`.
305+
{{% /notice%}}
306+
307+
Here is an excerpt showing reasonable values:
308+
309+
```yaml
310+
serverPodMemoryRequest: "1.5Gi"
311+
serverPodCpuRequest: "250m"
312+
313+
serverPodMemoryLimit: "1.5Gi"
314+
serverPodCpuLimit: "250m"
315+
316+
javaOptions: -Dweblogic.StdoutDebugEnabled=false -XX:MinRAMPercentage=25.0 -XX:MaxRAMPercentage=50.0
317+
```
318+
319+
Notice that the `Limit` and `Request` values are the same for each of `serverPodMemory` and `serverPodCpu`. This is intentional. To learn why, see [Create a Pod that gets assigned a QoS class of Guaranteed](https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/#create-a-pod-that-gets-assigned-a-qos-class-of-guaranteed). You must have allocated sufficient CPU and memory resources so that the pod can be scheduled for running by Kubernetes. This is an example of **capacity planning**, a very important Kubernetes success factor. For more details on capacity planning with AKS, see [Azure Kubernetes Service Cluster Capacity Planning
320+
](https://techcommunity.microsoft.com/t5/core-infrastructure-and-security/azure-kubernetes-service-cluster-capacity-planning/ba-p/1474990). For more details about Java and capacity planning, see [Java heap size and memory resource considerations]({{< relref "/faq/resource-settings.md" >}}).
321+
322+
The complete set of values that can be configured in this way is described in [configuration parameters]({{< relref "/samples/simple/domains/domain-home-on-pv/#configuration-parameters" >}}). If you want further advanced domain configuration, then run `./create-domain.sh -i ~/azure/weblogic-on-aks/domain1.yaml -o ~/azure`, which will output a Kubernetes domain resource YAML file in `~/azure/weblogic-domains/domain.yaml`. Edit the `domain.yaml` file and use `kubectl create -f ~/azure/weblogic-domains/domain.yaml` to create domain resources.
323+
304324
4. You must create `LoadBalancer` services for the Administration Server and the WLS cluster. This enables WLS to service requests from outside the AKS cluster.
305325

306326
Use the sample configuration file `kubernetes/samples/scripts/create-weblogic-domain-on-azure-kubernetes-service/domain-on-pv/admin-lb.yaml` to create a load balancer service for the Administration Server. If you are choosing not to use the predefined YAML file and instead created new one with customized values, then substitute the following content with your domain values.

documentation/3.2/content/userguide/managing-domains/model-in-image/common-mounts.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ Model In Image model files, application archives, and the WDT installation files
210210
```shell
211211
$ docker build -f /tmp/mii-sample/cm-docker-file/Dockerfile \
212212
--build-arg COMMON_MOUNT_PATH=/common \
213-
--build-arg COMMON_MOUNT_STAGE=. \
214213
--tag model-in-image:WLS-CM-v1 .
215214
```
216215

@@ -235,20 +234,15 @@ Model In Image model files, application archives, and the WDT installation files
235234
# 2) 'domain.spec.configuration.model.wdtInstallHome'
236235
# Default '/common'.
237236
#
238-
# COMMON_MOUNT_STAGE arg:
239-
# Local directory containing files to be copied to the COMMON_MOUNT_PATH.
240-
# Default '.'.
241-
#
242237
243238
FROM busybox
244239
ARG COMMON_MOUNT_PATH=/common
245-
ARG COMMON_MOUNT_STAGE=.
246240
ARG USER=oracle
247241
ARG USERID=1000
248242
ARG GROUP=root
249243
ENV COMMON_MOUNT_PATH=${COMMON_MOUNT_PATH}
250244
RUN adduser -D -u ${USERID} -G $GROUP $USER
251-
COPY ${COMMON_MOUNT_STAGE}/ ${COMMON_MOUNT_PATH}/
245+
COPY ./ ${COMMON_MOUNT_PATH}/
252246
RUN chown -R $USER:$GROUP ${COMMON_MOUNT_PATH}
253247
USER $USER
254248
```

0 commit comments

Comments
 (0)