Hi Team, We are trying to set up Flink cluster mod...
# troubleshooting
k
Hi Team, We are trying to set up Flink cluster mode in k8s. The setup has 1 jobmanager and 2 taskmanagers with k8s "kind: Deployment". We followed all the steps mentioned in the below documentation. But the issue we are facing is, when deployed it is running in standalone mode and not cluster mode. We are seeing only 1 task manager in Flink dashboard. Can anyone review our configurations and suggest where we are going wrong. This is the first time our company trying to set up Flink application.
Copy code
flink-properties:
  checkpoint-interval: 5000
  checkpoint-timeout: 15000
  checkpoint-pause-between: 500
  rest-address: sherlocksvc-jobmanager.sherlocksvc
  rest-port: 8082
  blob-server-port: 6124
  data-port: 6121

  jobmanager-rpc-address: sherlocksvc.sherlocksvc.sherlocksvc
  jobmanager-rpc-port: 6123
  taskmanager-rpc-port: 6122
  taskmanager-numberOfTaskSlots: 1
https://blog.knoldus.com/flink-on-kubernetes/
b
I would recommend using the flink operator for running flink on k8s. More details here https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/
❤️ 1
k
@Bhupendra Yadav Thanks for the alternative suggestion. Can you please share a sample document for deploying using Flink k8s operator in production? https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-release-1.5/docs/try-flink-kubernetes-operator/quick-start/ This is for local deployment only. Also, Can we please check what is going wrong with the approach we are doing.
b