hi:
   I'm  trying to deploy a flink job with flink-operaotor. The flink-operator's 
version is 1.2.0. And the yaml i use is here:
````
apiVersion: flink.apache.org/v1beta1
kind: FlinkDeployment
metadata:
  name: basic-example
spec:
  image: flink:1.15
  flinkVersion: v1_15
  flinkConfiguration:
  serviceAccount: flink
  jobManager:
    resource:
      memory: "2048m"
      cpu: 1
  taskManager:
    resource:
      memory: "2048m"
      cpu: 1
  job:
    jarURI: local:///opt/flink/examples/streaming/StateMachineExample.jar
    parallelism: 2
    upgradeMode: stateless
````
   But i found in the generated configMap, there was a field named 
"taskmanager.numberOfTaskSlots" was set to 2.  Which is very weird, since that 
field was not defined by user.  And according to flink doc the default value of 
"taskmanager.numberOfTaskSlots" should be 1.

Reply via email to