File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -80,13 +80,13 @@ make build
8080
8181Run the ` haskell-example-operator ` deployment:
8282``` bash
83- kubectl create -f manifest/operator.yaml
83+ kubectl apply -f manifest/operator.yaml
8484```
8585
8686Create 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
9696This 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
102102and 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
111111make 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 ` .
You can’t perform that action at this time.
0 commit comments