Hi All, Trying to deploy Flink in k8s. After deplo...
# troubleshooting
k
Hi All, Trying to deploy Flink in k8s. After deploying it is starting as "Mini cluster mode" and not normal cluster or standalone-job mode. For this we need to pass command in jobmanager deployment.yaml.
Copy code
command: ["/opt/flink/bin/standalone-job.sh"]
But the issue is, we are dockerizing our flink application and deploying. The start command path "/opt/flink" is not present in our jobmanager pod. We are getting the path unknown. How does "/opt/flink/" path is created and how to find standalone-job.sh file ?
g
We recommend using the Flink Kubernetes Operator to deploy on k8s: https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/
k
@kiran kumar as gyula mentioned install flink operator and go through all the example from the below link to understand the flink CR deployment https://github.com/apache/flink-kubernetes-operator/tree/main/examples if you face any challenge let me know
k
Sure @kingsathurthi @Gyula Fóra