Skip to content

Commit 31bb0d2

Browse files
authored
Q sedits (#677)
* edits from Bhavani * changed to sample-domain1-ns
1 parent a4fd55e commit 31bb0d2

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

kubernetes/samples/charts/ingress-per-domain/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Declare variables to be passed into your templates.
77

88
# Load balancer type. Supported values are: TRAEFIK, VOYAGER
9-
type: TRAEFIK
9+
type: TRAEFIK
1010

1111
# WLS domain as backend to the load balancer
1212
wlsDomain:
@@ -18,7 +18,7 @@ wlsDomain:
1818
# Traefik specific values
1919
traefik:
2020
# hostname used by host-routing
21-
hostname: doamin1.org
21+
hostname: domain1.org
2222

2323
# Voyager specific values
2424
voyager:

site/quickstart.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ refer to the [User guide](user-guide.md).
77
## Prerequisites
88
For this exercise, you’ll need a Kubernetes cluster. If you need help setting one up, check out our [cheat sheet](k8s_setup.md).
99

10-
You should clone this repository to your local machine so that you have access to the
10+
You should clone this repository to your local machine so that you have access to the
1111
various sample files mentioned throughout this guide:
1212
```
1313
$ git clone https://github.com/oracle/weblogic-kubernetes-operator
@@ -101,14 +101,14 @@ $ kubectl log -n sample-weblogic-operator-ns -c weblogic-operator deployments/we
101101
a. Create a namespace that can host one or more domains:
102102

103103
```
104-
$ kubectl create namespace sample-domains-ns1
104+
$ kubectl create namespace sample-domain1-ns
105105
```
106106
b. Use `helm` to configure the operator to manage domains in this namespace:
107107

108108
```
109109
$ helm upgrade \
110110
--reuse-values \
111-
--set "domainNamespaces={sample-domains-ns1}" \
111+
--set "domainNamespaces={sample-domain1-ns}" \
112112
--wait \
113113
sample-weblogic-operator \
114114
kubernetes/charts/weblogic-operator
@@ -118,7 +118,7 @@ c. Configure Traefik to manage Ingresses created in this namespace:
118118
```
119119
$ helm upgrade \
120120
--reuse-values \
121-
--set "kubernetes.namespaces={traefik,sample-domains-ns1}" \
121+
--set "kubernetes.namespaces={traefik,sample-domain1-ns}" \
122122
traefik-operator \
123123
stable/traefik
124124
```
@@ -133,7 +133,7 @@ a. Create a Kubernetes secret containing the `username` and `password` for the d
133133

134134
```
135135
$ cd kubernetes/samples/scripts/create-weblogic-domain-credentials
136-
$ ./create-weblogic-credentials.sh -u weblogic -p welcome1 -n sample-domains-ns1 -d sample-domain1
136+
$ ./create-weblogic-credentials.sh -u weblogic -p welcome1 -n sample-domain1-ns -d sample-domain1
137137
```
138138

139139
The sample will create a secret named `domainUID-weblogic-credentials` where the `domainUID` is replaced
@@ -145,7 +145,7 @@ Follow the directions in the [README](../kubernetes/samples/scripts/create-weblo
145145
including:
146146

147147
* Copying the sample `create-domain-inputs.yaml` file and updating your copy with the `domainUID` (`sample-domain1`),
148-
domain namespace (`sample-domains-ns1`) and the base image (`oracle/weblogic:12213-patch-wls-for-k8s`).
148+
domain namespace (`sample-domain1-ns`) and the base image (`oracle/weblogic:12213-patch-wls-for-k8s`).
149149

150150
* Setting `weblogicCredentialsSecretName` to the name of the secret containing the WebLogic credentials.
151151
By convention, the secret will be named`domainUID-weblogic-credentials` (where `domainUID` is replaced with the
@@ -159,7 +159,7 @@ $ ./create-domain.sh -i my-inputs.yaml -o /some/output/directory -e -v
159159

160160
c. Confirm that the operator started the servers for the domain:
161161
```
162-
$ kubectl get pods -n sample-domain-ns1
162+
$ kubectl get pods -n sample-domain1-ns
163163
```
164164

165165
After a short time, you will see the Administration Server and Managed Servers running.
@@ -170,11 +170,11 @@ $ kubectl describe domain sample-domain1 -n sample-domain1-ns
170170
```
171171
* Verify that the operator's pod is running, by listing the pods in the operator's namespace. You should see one for the operator.
172172
```
173-
$ kubectl get pods -n sample-weblogic-operator1-ns
173+
$ kubectl get pods -n sample-weblogic-operator-ns
174174
```
175175

176176
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:
177-
* Use `helm install`, specifying the `domainUID` (`sample-domain1`) and domain namespace (`sample-domains-ns1`) in the `values.yaml` file.
177+
* Use `helm install`, specifying the `domainUID` (`sample-domain1`) and domain namespace (`sample-domain1-ns`) in the `values.yaml` file.
178178
```
179179
$ cd kubernetes/samples/charts
180180
$ helm install ingress-per-domain --name domain1-ingress --values ingress-per-domain/values.yaml
@@ -197,8 +197,8 @@ b. Remove the domain resources by using the sample [`delete-weblogic-domain-reso
197197

198198
c. Use `kubectl` to confirm that the server pods and domain resource are gone.
199199
```
200-
$ kubectl get pods -n sample-domains-ns1
201-
$ kubectl get domains -n sample-domains-ns1
200+
$ kubectl get pods -n sample-domain1-ns
201+
$ kubectl get domains -n sample-domain1-ns
202202
```
203203

204204
## 7. Remove the domain namespace.
@@ -225,7 +225,7 @@ $ helm upgrade \
225225
c. Delete the domain namespace:
226226

227227
```
228-
$ kubectl delete namespace sample-domains-ns1
228+
$ kubectl delete namespace sample-domain1-ns
229229
```
230230

231231
## 8. Remove the operator.

0 commit comments

Comments
 (0)