Skip to content

Commit 2282aa8

Browse files
committed
Correct kubectl command in doc
Signed-off-by: doxiao <[email protected]>
1 parent 9b8926f commit 2282aa8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The script will perform the following steps:
3232
* Build a Docker image based on the Docker sample, [Example Image with a WebLogic Server Domain using the Oracle WebLogic Deploy Tooling (WDT)](https://github.com/oracle/docker-images/tree/master/OracleWebLogic/samples/12213-domain-home-in-image-wdt) and [Example Image with a WebLogic Server Domain using WLST](https://github.com/oracle/docker-images/tree/master/OracleWebLogic/samples/12213-domain-home-in-image). It will create a sample WebLogic Server domain in the Docker image. Also, you can run the Docker sample, [Example Image with a WebLogic Server Domain](https://github.com/oracle/docker-images/tree/master/OracleWebLogic/samples/12213-domain-home-in-image), manually with the generated `domain.properties` to create a domain home image. **Note**: Oracle recommends keeping the domain home image private in the local repository.
3333
* Create a Kubernetes domain YAML file, `domain.yaml`, in the directory that is created above. This YAML file can be used to create the Kubernetes resource using the `kubectl create -f` or `kubectl apply -f` command.
3434
```
35-
kubectl apply -f /path/to/output-directory/weblogic-domains/<domainUID>/domain.yaml
35+
$ kubectl apply -f /path/to/output-directory/weblogic-domains/<domainUID>/domain.yaml
3636
```
3737

3838
As a convenience, using the `-e` option, the script can optionally create the domain object, which in turn results in the creation of the corresponding WebLogic Server pods and services. This option should only be used in a single node Kubernetes cluster.
@@ -72,7 +72,7 @@ If you run the sample from a machine that is remote to the Kubernetes cluster, a
7272
* Run the following command to create the domain.
7373

7474
```
75-
kubectl apply -f /path/to/output-directory/weblogic-domains/<domainUID>/domain.yaml
75+
$ kubectl apply -f /path/to/output-directory/weblogic-domains/<domainUID>/domain.yaml
7676
```
7777

7878
The domain creation inputs can be customized by editing `create-domain-inputs.yaml`.

site/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ If you run the sample from a machine that is remote to the Kubernetes cluster, a
184184
* Run the following command to create the domain.
185185

186186
```
187-
kubectl apply -f /some/output/directory/weblogic-domains/sample-domain1/domain.yaml
187+
$ kubectl apply -f /some/output/directory/weblogic-domains/sample-domain1/domain.yaml
188188
```
189189

190190
c. Confirm that the operator started the servers for the domain:

0 commit comments

Comments
 (0)