Hello all, I am started using flink kubernetes ope...
# troubleshooting
v
Hello all, I am started using flink kubernetes operator 1.7 in local minikube cluster and built application using flink version 1.17.2 but i am facing below error Error:
Copy code
Caused by: org.apache.flink.runtime.rest.util.RestClientException: [org.apache.flink.runtime.rest.handler.RestHandlerException: Cannot connect to ResourceManager right now. Please try to refresh.
kindly help to resolve this issue , i am not sure what i am missing. operator is installed using below cmd :
Copy code
helm repo add flink-operator-repo https://downloads.apache.org/flink/flink-kubernetes-operator-1.7.0/
helm install flink-kubernetes-operator flink-operator-repo/flink-kubernetes-operator --set webhook.create=false
below is the deployment yaml file
Copy code
apiVersion: flink.apache.org/v1beta1
kind: FlinkDeployment
metadata:
  name: flink-example
spec:
  image: flink_example_1.17:latest
  flinkVersion: v1_17
  mode: native
  flinkConfiguration:
    taskmanager.numberOfTaskSlots: "1"
  serviceAccount: flink
  jobManager:
    resource:
      memory: "2048m"
      cpu: 1
  taskManager:
    resource:
      memory: "2048m"
      cpu: 1
  job:
    jarURI: local:///opt/flink/usrlib/test.jar
    entryClass: com.example.testApp
    parallelism: 3
    upgradeMode: stateless