Skip to content

Commit ebc6e2b

Browse files
committed
Synchronize documentation
1 parent 9539a1f commit ebc6e2b

File tree

35 files changed

+222
-115
lines changed

35 files changed

+222
-115
lines changed

documentation/3.4/content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can:
2323

2424
{{% notice tip %}}
2525
The fastest way to experience the operator is to follow the [Quick Start guide]({{< relref "/quickstart/_index.md" >}}), or you can peruse our [documentation]({{< relref "/userguide/_index.md" >}}), read our [blogs](https://blogs.oracle.com/weblogicserver/how-to-weblogic-server-on-kubernetes), or try out the [samples]({{< relref "/samples/_index.md" >}}).
26-
Also, you can step through the [Tutorial](https://github.com/oracle/weblogic-kubernetes-operator/blob/main/kubernetes/hands-on-lab/README.md)
26+
Also, you can step through the [Tutorial](https://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/kubernetes/hands-on-lab/README.md)
2727
using the operator to deploy and run a WebLogic domain container-packaged web application on an Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE) cluster.
2828
{{% /notice %}}
2929

documentation/3.4/content/developerguide/integration-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You will need to obtain the `kube.config` file for an administrative user and ma
1616
$ mvn clean verify -P java-integration-tests
1717
```
1818

19-
For more detailed information, see [How to run the Java integration tests ](https://github.com/oracle/weblogic-kubernetes-operator/tree/main/integration-tests#how-to-run-the-java-integration-tests).
19+
For more detailed information, see [How to run the Java integration tests ](https://github.com/oracle/weblogic-kubernetes-operator/tree/{{< latestMinorVersion >}}/integration-tests#how-to-run-the-java-integration-tests).
2020

2121
{{% notice note %}}
2222
When you run the integrations tests, they do a cleanup of any operator or domains on that cluster.

documentation/3.4/content/faq/configmaps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In each case, the access is configured within the `serverPod` element of the des
1616
For example, given
1717
a ConfigMap named `my-map` with entries `key-1` and `key-2`, you can provide access to both values as separate files
1818
in the same directory within the `cluster-1` cluster with the following
19-
in your [Domain](https://github.com/oracle/weblogic-kubernetes-operator/blob/main/documentation/domains/Domain.md):
19+
in your [Domain](https://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/documentation/domains/Domain.md):
2020

2121

2222
```yaml
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: "Scheduling pods to particular nodes"
3+
date: 2020-06-30T08:55:00-05:00
4+
draft: false
5+
weight: 14
6+
description: "How do I constrain scheduling WebLogic Server pods to particular nodes?"
7+
---
8+
9+
> How do I constrain scheduling WebLogic Server pods to a particular set of nodes?
10+
11+
To do this:
12+
13+
First, set a label on the nodes on which the WebLogic Server pods will run. For example:
14+
```shell
15+
$ kubectl label nodes name=weblogic-pods
16+
```
17+
18+
In the Domain CR, set a `nodeSelector`: a selector which must match a node's labels for the pod to be scheduled on that node. See `kubectl explain pods.spec.nodeSelector`.
19+
20+
You can set `nodeSelector` labels for WebLogic Server pods, all server pods in a cluster, or all server pods in a domain. `nodeSelector` is a field under the `serverPod` element, which occurs at several points in the Domain CR [schema](https://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/documentation/domains/Domain.md):
21+
22+
- At the top-level `spec.severPod` for the entire domain
23+
- At `spec.adminServer.serverPod` for the Administration Server
24+
- At `spec.clusters[*].serverPod` for each cluster
25+
- At `spec.managedServers[*].serverPod` for individual Managed Servers
26+
27+
28+
```yaml
29+
spec:
30+
serverPod:
31+
nodeSelector:
32+
```
33+
Under that level, you specify labels and values that match the labels on the nodes you want to select. For example:
34+
35+
```yaml
36+
nodeSelector:
37+
name: weblogic-pods
38+
```
39+
40+
For more details, see [Assign Pods to Nodes](https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/) in the Kubernetes documentation.

documentation/3.4/content/faq/oci-fss-pv.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ see [Persistent storage]({{< relref "/userguide/managing-domains/persistent-stor
3131

3232
#### Failure during domain creation with persistent volume sample
3333

34-
The existing sample for [creation of a domain home on persistent volume](https://github.com/oracle/weblogic-kubernetes-operator/tree/main/kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv)
34+
The existing sample for [creation of a domain home on persistent volume](https://github.com/oracle/weblogic-kubernetes-operator/tree/{{< latestMinorVersion >}}/kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv)
3535
uses a Kubernetes Job to create the domain. The sample uses an
3636
`initContainers` section to change the file ownership which will
3737
fail for OCI FSS created volumes used with an OKE cluster.
@@ -65,7 +65,7 @@ Init Containers:
6565
```
6666

6767
#### Updating the domain on persistent volume sample
68-
In the following snippet of the [create-domain-job-template.yaml](https://github.com/oracle/weblogic-kubernetes-operator/blob/main/kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/create-domain-job-template.yaml),
68+
In the following snippet of the [create-domain-job-template.yaml](https://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/create-domain-job-template.yaml),
6969
you can see the updated `command` for the init container:
7070
```yaml
7171
apiVersion: batch/v1

documentation/3.4/content/faq/security-validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Handling security validations"
33
date: 2020-06-30T08:55:00-05:00
44
draft: false
5-
weight: 14
5+
weight: 15
66
description: "Why am I seeing these security warnings?"
77
---
88

documentation/3.4/content/faq/volumes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spec:
3434
```
3535
3636
To provide access to this claim to all Managed Servers in the `cluster-1` cluster, specify the following
37-
in your [Domain](https://github.com/oracle/weblogic-kubernetes-operator/blob/main/documentation/domains/Domain.md):
37+
in your [Domain](https://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/documentation/domains/Domain.md):
3838

3939
```yaml
4040
clusters:

documentation/3.4/content/quickstart/cleanup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ weight: 7
1414
$ helm uninstall sample-domain1-ingress -n sample-domain1-ns
1515
```
1616

17-
1. Remove the Kubernetes resources associated with the domain by using the sample [`delete-weblogic-domain-resources`](http://github.com/oracle/weblogic-kubernetes-operator/blob/main/kubernetes/samples/scripts/delete-domain/delete-weblogic-domain-resources.sh) script:
17+
1. Remove the Kubernetes resources associated with the domain by using the sample [`delete-weblogic-domain-resources`](http://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/kubernetes/samples/scripts/delete-domain/delete-weblogic-domain-resources.sh) script:
1818

1919
```shell
2020
$ kubernetes/samples/scripts/delete-domain/delete-weblogic-domain-resources.sh -d sample-domain1

documentation/3.4/content/quickstart/create-domain.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ weight: 6
1111
* Select a user name and password, following the required rules for password creation (at least 8 alphanumeric characters with at least one number or special character).
1212
* Pick or create a directory to which you can write output.
1313

14-
1. Create a Kubernetes Secret for the WebLogic domain administrator credentials containing the `username` and `password` for the domain, using the [create-weblogic-credentials](http://github.com/oracle/weblogic-kubernetes-operator/blob/main/kubernetes/samples/scripts/create-weblogic-domain-credentials/create-weblogic-credentials.sh) script:
14+
1. Create a Kubernetes Secret for the WebLogic domain administrator credentials containing the `username` and `password` for the domain, using the [create-weblogic-credentials](http://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/kubernetes/samples/scripts/create-weblogic-domain-credentials/create-weblogic-credentials.sh) script:
1515

1616
```shell
1717
$ kubernetes/samples/scripts/create-weblogic-domain-credentials/create-weblogic-credentials.sh \
@@ -22,14 +22,14 @@ weight: 6
2222
with the value specified by the `-d` flag. For example, the command above would create a secret named
2323
`sample-domain1-weblogic-credentials`.
2424

25-
1. Create a new image with a domain home, plus create a domain resource that the operator will use to deploy the image, by running the [create-domain](http://github.com/oracle/weblogic-kubernetes-operator/blob/main/kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain.sh) script.
25+
1. Create a new image with a domain home, plus create a domain resource that the operator will use to deploy the image, by running the [create-domain](http://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain.sh) script.
2626

2727
The script's behavior is controlled by an inputs file plus command-line options. The script downloads the [WebLogic Image Tool](https://oracle.github.io/weblogic-image-tool/) and [WebLogic Deploy Tool](https://oracle.github.io/weblogic-deploy-tooling/) and uses these tools to create a new image with a domain home. The script also creates a domain resource YAML file that references the image, and, if the `-e` option is specified, deploys the domain resource to Kubernetes. For a detailed understanding of the steps that the `create-domain.sh` script performs for you, see the bulleted items under [Use the script to create a domain]({{< relref "/samples/domains/domain-home-in-image/#use-the-script-to-create-a-domain" >}})
2828
2929
{{% notice note %}} The `create-domain.sh` script and its inputs file are for demonstration purposes _only_; its contents and the domain resource file that it generates for you might change without notice. In production, we strongly recommend that you use the WebLogic Image Tool and WebLogic Deploy Tooling (when applicable), and directly work with domain resource files instead.
3030
{{% /notice%}}
3131
32-
First, copy the sample [create-domain-inputs.yaml](http://github.com/oracle/weblogic-kubernetes-operator/blob/main/kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain-inputs.yaml) file and update your copy with:
32+
First, copy the sample [create-domain-inputs.yaml](http://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain-inputs.yaml) file and update your copy with:
3333
* `domainUID`: `sample-domain1`
3434
* `image`: Leave empty unless you need to tag the new image that the script builds to a different name.
3535
For example if you are using a remote cluster that will need to pull the image from a container registry,
@@ -74,7 +74,7 @@ weight: 6
7474
$ kubectl get services -n sample-domain1-ns
7575
```
7676
77-
1. Create an ingress for the domain, in the domain namespace, by using the [sample](http://github.com/oracle/weblogic-kubernetes-operator/blob/main/kubernetes/samples/charts/ingress-per-domain/README.md) Helm chart:
77+
1. Create an ingress for the domain, in the domain namespace, by using the [sample](http://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/kubernetes/samples/charts/ingress-per-domain/README.md) Helm chart:
7878
7979
```shell
8080
$ helm install sample-domain1-ingress kubernetes/samples/charts/ingress-per-domain \

documentation/3.4/content/quickstart/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ draft: false
55
weight: 4
66
---
77

8-
#### Use Helm to install the operator and [Traefik](http://github.com/oracle/weblogic-kubernetes-operator/blob/main/kubernetes/samples/charts/traefik/README.md) ingress controller.
8+
#### Use Helm to install the operator and [Traefik](http://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/kubernetes/samples/charts/traefik/README.md) ingress controller.
99

1010
First, set up Helm:
1111

@@ -21,7 +21,7 @@ Create a namespace for the ingress controller.
2121
$ kubectl create namespace traefik
2222
```
2323

24-
Use the [values.yaml](http://github.com/oracle/weblogic-kubernetes-operator/blob/main/kubernetes/samples/charts/traefik/values.yaml) file in the sample but set `kubernetes.namespaces` specifically.
24+
Use the [values.yaml](http://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/kubernetes/samples/charts/traefik/values.yaml) file in the sample but set `kubernetes.namespaces` specifically.
2525

2626

2727
```shell

0 commit comments

Comments
 (0)