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: site/domains.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ Please consult My Oracle Support Doc ID 2349228.1 for up-to-date information abo
80
80
81
81
### Creating and managing WebLogic domains
82
82
83
-
Please see [this page](creating-domain.md) for information about creating and managing domains.
83
+
In this version of the operator, a WebLogic domain can be located either in a persistent volume (PV) or in a Docker image. For examples of each, see the [WebLogic operator samples](../kubernetes/samples/README.md).
Copy file name to clipboardExpand all lines: site/persistent-volumes.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,15 @@ The following prerequisites must be fulfilled before proceeding with the creatio
14
14
## Storage locations
15
15
Persistent volumes can point to different storage locations, for example NFS servers or a local directory path. The list of available options is listed in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/storage/persistent-volumes/).
16
16
17
+
**Note regarding HostPath**:
18
+
In a single-node Kubernetes cluster, such as may be used for testing or proof of concept activities, `HOST_PATH` provides the simplest configuration. In a multinode Kubernetes cluster, a `HOST_PATH` that is located on shared storage mounted by all nodes in the Kubernetes cluster is the simplest configuration. If nodes do not have shared storage, then NFS is probably the most widely available option. There are other options listed in the referenced table.
19
+
20
+
The persistent volume for the domain must be created using the appropriate tools before running the script to create the domain. In the simplest case, namely the `HOST_PATH` provider, this means creating a directory on the Kubernetes master and ensuring that it has the correct permissions:
In the current GA version, the OCI Container Engine for Kubernetes supports network block storage that can be shared across nodes with access permission RWOnce (meaning that only one can write, others can read only). At this time, the WebLogic on Kubernetes domain created by the WebLogic Server Kubernetes Operator, requires a shared file system to store the WebLogic domain configuration, which MUST be accessible from all the pods across the nodes. As a workaround, you need to install an NFS server on one node and share the file system across all the nodes.
Copy file name to clipboardExpand all lines: site/quickstart.md
+20-12Lines changed: 20 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ refer to the [User guide](user-guide.md).
7
7
## Prerequisites
8
8
For this exercise, you’ll need a Kubernetes cluster. If you need help setting one up, check out our [cheat sheet](k8s_setup.md).
9
9
10
+
The operator uses Helm to create and deploy necessary resources and then run the operator in a Kubernetes cluster. For Helm installation and usage information, see [Using operator Helm charts](helm-charts.md).
11
+
10
12
You should clone this repository to your local machine so that you have access to the
11
13
various sample files mentioned throughout this guide:
* Verify that the operator's pod is running, by listing the pods in the operator's namespace. You should see one for the operator.
180
+
181
+
You should also see all the Kubernetes services for the domain.
174
182
```
175
-
$ kubectl get pods -n sample-weblogic-operator-ns
183
+
$ kubectl get services -n sample-domain1-ns
176
184
```
177
185
178
186
d. Create an Ingress for the domain, in the domain namespace, by using the [sample](../kubernetes/samples/charts/ingress-per-domain/README.md) Helm chart:
179
187
* Use `helm install`, specifying the `domainUID` (`sample-domain1`) and domain namespace (`sample-domain1-ns`) in the `values.yaml` file.
Copy file name to clipboardExpand all lines: site/weblogic-docker-images.md
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,25 @@ If you want to use the second option, which includes the domain directory
17
17
inside the Docker image, then you will need to build your own Docker images
18
18
as described in [this section](#creating-a-custom-image-with-your-domain-inside-the-image).
19
19
20
+
## Setting up secrets to access the Docker Store
21
+
22
+
**Note** This version of the operator requires WebLogic Server 12.2.1.3.0 plus patch 28076014, so pulling an unpatched image directly to the Kubernetes cluster is not particularly useful. However, we have left this information in the documentation for reference purposes.
23
+
24
+
In order for Kubernetes to obtain the WebLogic Server Docker image from the Docker Store, which requires authentication, a Kubernetes secret containing the registry credentials must be created. To create a secret with Docker Store credentials, issue the following command:
In this command, replace the uppercase items with the appropriate values. The `SECRET_NAME` will be needed in later parameter files. The `NAMESPACE` must match the namespace where the first domain will be deployed, otherwise Kubernetes will not be able to find it.
36
+
37
+
It may be preferable to manually pull the image in advance, on each Kubernetes worker node, as described in the next section.
38
+
If you choose this approach, you do not require the Kubernetes secret.
20
39
21
40
## Obtaining standard images from the Docker store
0 commit comments