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: docs-source/content/_index.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Oracle is finding ways for organizations using WebLogic Server to run important
14
14
* Scale WebLogic domains by starting and stopping Managed Servers on demand, or by integrating with a REST API to initiate scaling based on WLDF, Prometheus, Grafana, or other rules.
15
15
* Publish operator and WebLogic Server logs into Elasticsearch and interact with them in Kibana.
16
16
17
-
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/updated-weblogic-kubernetes-support-with-operator-20), or try out the [samples]({{< relref "/samples/_index.md" >}}).
17
+
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" >}}).
18
18
19
19
***
20
20
The [current release of the operator](https://github.com/oracle/weblogic-kubernetes-operator/releases) is 2.2.1.
Copy file name to clipboardExpand all lines: docs-source/content/quickstart/create-domain.md
+22-61Lines changed: 22 additions & 61 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,12 @@ weight: 6
6
6
---
7
7
8
8
9
-
1. Create a Kubernetes secret containing the `username` and `password` for the domain using the [`create-weblogic-credentials`](http://github.com/oracle/weblogic-kubernetes-operator/blob/master/kubernetes/samples/scripts/create-weblogic-domain-credentials/create-weblogic-credentials.sh) script:
9
+
1. For use in the following steps:
10
+
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
+
* Pick or create a directory to which you can write output.
13
+
14
+
1. Create a Kubernetes secret for the WebLogic administrator credentials containing the `username` and `password` for the domain, using the [create-weblogic-credentials](http://github.com/oracle/weblogic-kubernetes-operator/blob/master/kubernetes/samples/scripts/create-weblogic-domain-credentials/create-weblogic-credentials.sh) script:
with the value you provided. For example, the command above would create a secret named
18
23
`sample-domain1-weblogic-credentials`.
19
24
20
-
1. Create a new image with a domain home by running the [`create-domain`](http://github.com/oracle/weblogic-kubernetes-operator/blob/master/kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain.sh) script.
21
-
Follow the directions in the [sample]({{< relref "/samples/simple/domains/domain-home-in-image/_index.md">}}),
22
-
including:
23
-
24
-
* Copying the sample `kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain-inputs.yaml` file and updating your copy with the `domainUID` (`sample-domain1`),
25
-
domain namespace (`sample-domain1-ns`), and the `domainHomeImageBase` (`container-registry.oracle.com/middleware/weblogic:12.2.1.3`).
26
-
27
-
* Setting `weblogicCredentialsSecretName` to the name of the secret containing the WebLogic credentials, in this case, `sample-domain1-weblogic-credentials`.
28
-
29
-
* Leaving the `image` empty unless you need to tag the new image that the script builds to a different name.
30
-
{{% notice note %}}
31
-
If you set the `domainHomeImageBuildPath` property to `./docker-images/OracleWebLogic/samples/12213-domain-home-in-image-wdt`, make sure that your `JAVA_HOME` is set to a Java JDK version 1.8 or later.
32
-
{{% /notice %}}
25
+
1. Create a new image with a domain home by running the [create-domain](http://github.com/oracle/weblogic-kubernetes-operator/blob/master/kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain.sh) script. First, copy the sample [create-domain-inputs.yaml](http://github.com/oracle/weblogic-kubernetes-operator/blob/master/kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain-inputs.yaml) file and update your copy with:
26
+
*`domainUID`: `sample-domain1`
27
+
*`image`: Leave empty unless you need to tag the new image that the script builds to a different name.
You need to provide the WebLogic administration user name and password in the `-u` and `-p` options
42
-
respectively, as shown in the example.
43
-
{{% notice note %}}
44
-
When using this sample, the WebLogic Server credentials that you specify, in three separate places, must be consistent:
45
-
46
-
- The secret that you create for the credentials.
47
-
- The properties files in the sample project you choose to create the Docker image from.
48
-
- The parameters you supply to the `create-domain.sh` script.
49
-
{{% /notice %}}
50
-
51
-
52
-
If you specify the `-e` option, the script will generate the
53
-
Kubernetes YAML files *and* apply them to your cluster. If you omit the `-e` option, the
54
-
script will just generate the YAML files, but will not take any action on your cluster.
55
-
56
-
If you run the sample from a machine that is remote to the Kubernetes cluster, and you need to push the new image to a registry that is local to the cluster, you need to do the following:
57
-
58
-
* Set the `image` property in the inputs file to the target image name (including the registry hostname/port, and the tag if needed).
59
-
* If you want Kubernetes to pull the image from a private registry, create a Kubernetes secret to hold your credentials and set the `imagePullSecretName` property in the inputs file to the name of the secret.
60
-
{{% notice note %}}
61
-
The Kubernetes secret must be in the same namespace where the domain will be running.
62
-
For more information, see [domain home in image protection]({{<relref "/security/domain-security/image-protection.md#weblogic-domain-in-docker-image-protection">}})
63
-
in the ***Security*** section.
64
-
{{% /notice %}}
65
-
* Run the `create-domain.sh` script without the `-e` option.
0 commit comments