Skip to content

Commit bd8ba0f

Browse files
author
Jirka Kremser
authored
Update README.md
1 parent 9ad2657 commit bd8ba0f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ make build
8080

8181
Run the `haskell-example-operator` deployment:
8282
```bash
83-
kubectl create -f manifest/operator.yaml
83+
kubectl apply -f manifest/operator.yaml
8484
```
8585

8686
Create new ConfigMap from the prepared example:
8787

8888
```bash
89-
kubectl create -f examples/cm.yaml
89+
kubectl apply -f examples/cm.yaml
9090
```
9191

9292

@@ -96,13 +96,13 @@ For deployment on OpenShift use the same commands as above, but with `oc` instea
9696
This operator can also work with CRDs. Assuming the admin user is logged in, you can install the operator with:
9797

9898
```bash
99-
kubectl create -f manifest/operator-crd.yaml
99+
kubectl apply -f manifest/operator-crd.yaml
100100
```
101101

102102
and then create the Spark clusters by creating the custom resources (CR).
103103

104104
```bash
105-
kubectl create sparkcluster -f examples/cr.yaml
105+
kubectl apply -f examples/cr.yaml
106106
```
107107

108108
# Development
@@ -111,4 +111,4 @@ kubectl create sparkcluster -f examples/cr.yaml
111111
make devel
112112
```
113113

114-
This will build the image and deploys the operator into OpenShift. It assumes the `oc` on `PATH`.
114+
This will build the image and deploys the operator into OpenShift. It assumes the `oc` on `PATH`.

0 commit comments

Comments
 (0)