Skip to content

fix: update deployment yaml #312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions docs/content/docs/deployment/overview.md
Original file line number Diff line number Diff line change
@@ -61,15 +61,15 @@ $ kubectl create -f flink-config.yaml
$ kubectl create -f jobmanager-service.yaml

# Deploy the StateFun runtime
$ kubectl create -f jobmanager-job.yaml
$ kubectl create -f taskmanager-job-deployment-yaml
$ kubectl create -f jobmanager-application.yaml
$ kubectl create -f taskmanager-job-deployment.yaml
```

To terminate the cluster, simply delete the deployments.

```bash
$ kubectl delete -f taskmanager-job-deployment-yaml
$ kubectl delete -f jobmanager-job.yaml
$ kubectl delete -f taskmanager-job-deployment.yaml
$ kubectl delete -f jobmanager-application.yaml
$ kubectl delete -f jobmanager-service.yaml
$ kubectl delete -f flink-config.yaml
$ kubectl delete -f application-module.yaml
@@ -113,6 +113,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: flink-config
namespace: statefun
labels:
app: statefun
data:
@@ -174,6 +175,7 @@ apiVersion: v1
kind: Service
metadata:
name: flink-jobmanager
namespace: statefun
spec:
type: ClusterIP
ports:
@@ -197,6 +199,7 @@ apiVersion: v1
kind: Service
metadata:
name: statefun-jobmanager-rest
namespace: statefun
spec:
type: NodePort
ports:
@@ -216,12 +219,13 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: statefun-jobmanager
namespace: statefun
spec:
replicas: 1
selector:
matchLabels:
app: statefun
component: jobmanager
component: master
template:
metadata:
labels:
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ public static TypeName typeNameFromString(String typeNameString) {
/**
* Creates a {@link TypeName}.
*
* @param namespace the function type's namepsace.
* @param namespace the function type's namespace.
* @param type the function type's name.
*/
private TypeName(String namespace, String type) {