Skip to content

Commit f76233c

Browse files
committed
updates to quickstart and prereqs from monica
1 parent 38a46b1 commit f76233c

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
lines changed

site/quickstart.md

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,12 @@ $ git clone https://github.com/oracle/weblogic-kubernetes-operator
8080
3. Use `helm` to install and start the operator, from the directory you just cloned:
8181

8282
```
83-
$ helm install \
83+
$ helm install kubernetes/charts/weblogic-operator \
8484
--name sample-weblogic-operator \
8585
--namespace sample-weblogic-operator-ns \
8686
--set serviceAccount=sample-weblogic-operator-sa \
8787
--set "domainNamespaces={}" \
88-
-- wait \
89-
kubernetes/charts/weblogic-operator
88+
--wait
9089
```
9190
f. Verify that the operator is up and running by viewing the operator pod's log:
9291

@@ -127,19 +126,31 @@ $ kubectl -n traefik get pod -w
127126

128127
## 5. Create a domain in the domain namespace.
129128

130-
a. Create a new image with a domain home by running the [`create-domain`](../kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain.sh) script. Follow the directions in the [README](../kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/README.md) file, including:
129+
a. Create a Kubernetes secret containing the `username` and `password` for the domain using the [`create-weblogic-credentials`](../kubernetes/samples/scripts/create-weblogic-domain-credentials/create-weblogic-credentials.sh) script:
130+
131+
```
132+
$ cd kubernetes/samples/scripts/create-weblogic-domain-credentials
133+
$ ./create-weblogic-credentials.sh -u weblogic -p welcome1 -n sample-domain-ns1 -d sample-domain1
134+
```
135+
136+
b. Create a new image with a domain home by running the [`create-domain`](../kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain.sh) script.
137+
Follow the directions in the [README](../kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/README.md) file,
138+
including:
139+
140+
* Copying the sample `create-domain-inputs.yaml` file and updating your copy with the `domainUID` (`sample-domain1`),
141+
domain namespace (`sample-domains-ns1`) and the base image (`oracle/weblogic:12213-patch-wls-for-k8s`).
131142

132-
* Modifying the sample `inputs.yaml` file with the `domainUID` (`sample-domain1`), domain namespace (`sample-domains-ns1`) and the base image (`oracle/weblogic:12213-patch-wls-for-k8s`).
143+
* Setting `weblogicCredentialsSecretName` to the `domainUID` (`sample-domain1`).
133144

134-
* Creating Kubernetes secrets `username` and `password` using the [`create-weblogic-credentials`](../kubernetes/samples/scripts/create-weblogic-domain-credentials/create-weblogic-credentials.sh) script:
145+
For example, assuming you named your copy `my-inputs.yaml`:
135146
```
136-
$ cd ../kubernetes/samples/scripts/create-weblogic-domain-credentials
137-
$ ./create-weblogic-credentials.sh -u weblogic -p welcome1 -n sample-domain1-ns -d sample-domain1
147+
$ cd kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv
148+
$ ./create-domain.sh -i my-inputs.yaml -o /some/output/directory -e -v
138149
```
139150

140-
b. Confirm that the operator started the servers for the domain:
151+
c. Confirm that the operator started the servers for the domain:
141152
```
142-
$ kubectl get pods -n sample-domain1-ns
153+
$ kubectl get pods -n sample-domain-ns1
143154
```
144155

145156
After a short time, you will see the Administration Server and Managed Servers running.
@@ -153,14 +164,14 @@ $ kubectl describe domain sample-domain1 -n sample-domain1-ns
153164
$ kubectl get pods -n sample-weblogic-operator1-ns
154165
```
155166

156-
c. Create an Ingress for the domain, in the domain namespace, by using the [sample](../kubernetes/samples/charts/ingress-per-domain/README.md) Helm chart:
167+
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:
157168
* Use `helm install`, specifying the `domainUID` (`sample-domain1`) and domain namespace (`sample-domains-ns1`) in the `values.yaml` file.
158169
```
159170
$ cd kubernetes/samples/charts
160171
$ helm install ingress-per-domain --name domain1-ingress --values ingress-per-domain/values.yaml
161172
```
162173

163-
d. Confirm that the load balancer noticed the new Ingress and is successfully routing to the domain's server pods:
174+
e. Confirm that the load balancer noticed the new Ingress and is successfully routing to the domain's server pods:
164175
```
165176
$ curl http://${HOSTNAME}:30305/sample-domain1/
166177
```

site/user-guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Before using the operator, you might want to read the [design philosophy](design
6565
* Kubernetes 1.10.11+, 1.11.5+, and 1.12.3+ (check with `kubectl version`).
6666
* Flannel networking v0.9.1-amd64 (check with `docker images | grep flannel`).
6767
* Docker 18.03.1.ce (check with `docker version`).
68+
* Helm 2.8.2+ (check with `helm version`).
6869
* Oracle WebLogic Server 12.2.1.3.0 with patch 28076014.
6970
* You must have the `cluster-admin` role to install the operator.
7071

0 commit comments

Comments
 (0)