You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/3.4/content/_index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ You can:
23
23
24
24
{{% notice tip %}}
25
25
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)
27
27
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.
Copy file name to clipboardExpand all lines: documentation/3.4/content/developerguide/integration-tests.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ You will need to obtain the `kube.config` file for an administrative user and ma
16
16
$ mvn clean verify -P java-integration-tests
17
17
```
18
18
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).
20
20
21
21
{{% notice note %}}
22
22
When you run the integrations tests, they do a cleanup of any operator or domains on that cluster.
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.
Copy file name to clipboardExpand all lines: documentation/3.4/content/faq/oci-fss-pv.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ see [Persistent storage]({{< relref "/userguide/managing-domains/persistent-stor
31
31
32
32
#### Failure during domain creation with persistent volume sample
33
33
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)
35
35
uses a Kubernetes Job to create the domain. The sample uses an
36
36
`initContainers` section to change the file ownership which will
37
37
fail for OCI FSS created volumes used with an OKE cluster.
@@ -65,7 +65,7 @@ Init Containers:
65
65
```
66
66
67
67
#### 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),
69
69
you can see the updated `command` for the init container:
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:
Copy file name to clipboardExpand all lines: documentation/3.4/content/quickstart/create-domain.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ weight: 6
11
11
* 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).
12
12
* Pick or create a directory to which you can write output.
13
13
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:
with the value specified by the `-d` flag. For example, the command above would create a secret named
23
23
`sample-domain1-weblogic-credentials`.
24
24
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.
26
26
27
27
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" >}})
28
28
29
29
{{% 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.
30
30
{{% /notice%}}
31
31
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:
33
33
* `domainUID`: `sample-domain1`
34
34
* `image`: Leave empty unless you need to tag the new image that the script builds to a different name.
35
35
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
74
74
$ kubectl get services -n sample-domain1-ns
75
75
```
76
76
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:
Copy file name to clipboardExpand all lines: documentation/3.4/content/quickstart/install.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ draft: false
5
5
weight: 4
6
6
---
7
7
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.
9
9
10
10
First, set up Helm:
11
11
@@ -21,7 +21,7 @@ Create a namespace for the ingress controller.
21
21
$ kubectl create namespace traefik
22
22
```
23
23
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.
0 commit comments