Hi

In the apache flink documentation
https://ci.apache.org/projects/flink/flink-docs-release-1.4/ops/deployment/kubernetes.html

The order of creating the deployment and services are incorrect. It is
mentioned in the order as follows-

kubectl create -f jobmanager-deployment.yaml
kubectl create -f taskmanager-deployment.yaml
kubectl create -f jobmanager-service.yaml

 But this order of execution would fail if there is sufficient delay
between the execution of 2nd and 3rd command.

The reason being that the task manager is trying to connect to job manager
through service name which is still not up.

Ideally the order must be like this-

kubectl create -f jobmanager-deployment.yaml
kubectl create -f jobmanager-service.yaml
kubectl create -f taskmanager-deployment.yaml

Regards

Sampath

Reply via email to