File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -80,13 +80,13 @@ make build
80
80
81
81
Run the ` haskell-example-operator ` deployment:
82
82
``` bash
83
- kubectl create -f manifest/operator.yaml
83
+ kubectl apply -f manifest/operator.yaml
84
84
```
85
85
86
86
Create new ConfigMap from the prepared example:
87
87
88
88
``` bash
89
- kubectl create -f examples/cm.yaml
89
+ kubectl apply -f examples/cm.yaml
90
90
```
91
91
92
92
@@ -96,13 +96,13 @@ For deployment on OpenShift use the same commands as above, but with `oc` instea
96
96
This operator can also work with CRDs. Assuming the admin user is logged in, you can install the operator with:
97
97
98
98
``` bash
99
- kubectl create -f manifest/operator-crd.yaml
99
+ kubectl apply -f manifest/operator-crd.yaml
100
100
```
101
101
102
102
and then create the Spark clusters by creating the custom resources (CR).
103
103
104
104
``` bash
105
- kubectl create sparkcluster -f examples/cr.yaml
105
+ kubectl apply -f examples/cr.yaml
106
106
```
107
107
108
108
# Development
@@ -111,4 +111,4 @@ kubectl create sparkcluster -f examples/cr.yaml
111
111
make devel
112
112
```
113
113
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