@@ -61,15 +61,15 @@ $ kubectl create -f flink-config.yaml
6161$ kubectl create -f jobmanager-service.yaml
6262
6363# 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
6666```
6767
6868To terminate the cluster, simply delete the deployments.
6969
7070``` 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
7373$ kubectl delete -f jobmanager-service.yaml
7474$ kubectl delete -f flink-config.yaml
7575$ kubectl delete -f application-module.yaml
@@ -113,6 +113,7 @@ apiVersion: v1
113113kind: ConfigMap
114114metadata:
115115 name: flink-config
116+ namespace: statefun
116117 labels:
117118 app: statefun
118119data:
@@ -174,6 +175,7 @@ apiVersion: v1
174175kind: Service
175176metadata:
176177 name: flink-jobmanager
178+ namespace: statefun
177179spec:
178180 type: ClusterIP
179181 ports:
@@ -197,6 +199,7 @@ apiVersion: v1
197199kind: Service
198200metadata:
199201 name: statefun-jobmanager-rest
202+ namespace: statefun
200203spec:
201204 type: NodePort
202205 ports:
@@ -216,12 +219,13 @@ apiVersion: apps/v1
216219kind: Deployment
217220metadata:
218221 name: statefun-jobmanager
222+ namespace: statefun
219223spec:
220224 replicas: 1
221225 selector:
222226 matchLabels:
223227 app: statefun
224- component: jobmanager
228+ component: master
225229 template:
226230 metadata:
227231 labels:
0 commit comments