@@ -61,15 +61,15 @@ $ kubectl create -f flink-config.yaml
61
61
$ kubectl create -f jobmanager-service.yaml
62
62
63
63
# Deploy the StateFun runtime
64
- $ kubectl create -f jobmanager-job .yaml
65
- $ kubectl create -f taskmanager-job-deployment- yaml
64
+ $ kubectl create -f jobmanager-application .yaml
65
+ $ kubectl create -f taskmanager-job-deployment. yaml
66
66
```
67
67
68
68
To terminate the cluster, simply delete the deployments.
69
69
70
70
``` bash
71
- $ kubectl delete -f taskmanager-job-deployment- yaml
72
- $ kubectl delete -f jobmanager-job .yaml
71
+ $ kubectl delete -f taskmanager-job-deployment. yaml
72
+ $ kubectl delete -f jobmanager-application .yaml
73
73
$ kubectl delete -f jobmanager-service.yaml
74
74
$ kubectl delete -f flink-config.yaml
75
75
$ kubectl delete -f application-module.yaml
@@ -113,6 +113,7 @@ apiVersion: v1
113
113
kind: ConfigMap
114
114
metadata:
115
115
name: flink-config
116
+ namespace: statefun
116
117
labels:
117
118
app: statefun
118
119
data:
@@ -174,6 +175,7 @@ apiVersion: v1
174
175
kind: Service
175
176
metadata:
176
177
name: flink-jobmanager
178
+ namespace: statefun
177
179
spec:
178
180
type: ClusterIP
179
181
ports:
@@ -197,6 +199,7 @@ apiVersion: v1
197
199
kind: Service
198
200
metadata:
199
201
name: statefun-jobmanager-rest
202
+ namespace: statefun
200
203
spec:
201
204
type: NodePort
202
205
ports:
@@ -216,12 +219,13 @@ apiVersion: apps/v1
216
219
kind: Deployment
217
220
metadata:
218
221
name: statefun-jobmanager
222
+ namespace: statefun
219
223
spec:
220
224
replicas: 1
221
225
selector:
222
226
matchLabels:
223
227
app: statefun
224
- component: jobmanager
228
+ component: master
225
229
template:
226
230
metadata:
227
231
labels:
0 commit comments