flinkk8soperator icon indicating copy to clipboard operation
flinkk8soperator copied to clipboard

"kubectl -n flink-operator apply -f" does not work as expect

Open zachwangb opened this issue 5 years ago • 4 comments

hi! i have a yaml like this

`apiVersion: flink.k8s.io/v1beta1 kind: FlinkApplication metadata: name: hotitems-dev namespace: flink-operator annotations: labels: environment: development spec: image: ***/hotitems:dev imagePullPolicy: Always imagePullSecrets:

  • name: regcred flinkConfig: taskmanager.heap.size: "4096m" state.backend.fs.checkpointdir: hdfs:///checkpoints-backend state.checkpoints.dir: hdfs:///checkpoints state.savepoints.dir: hdfs:///savepoints taskmanager.network.memory.min: "64mb" taskmanager.network.memory.max: "1gb" taskmanager.network.memory.fraction: 0.125 jobManagerConfig: resources: requests: memory: "1Gi" cpu: "4" replicas: 1 nodeSelector: attr: logic taskManagerConfig: taskSlots: 12 resources: requests: memory: "12Gi" cpu: "4" nodeSelector: attr: logic flinkVersion: "1.9.1" jarName: "HotItems-1.0-SNAPSHOT.jar" parallelism: 1 savepointPath: hdfs:///savepoints entryClass: "***.HotItems" deleteMode: Savepoint`,

and when i execute the cmd like this "kubectl -n flink-operator apply -f ", it print "flinkapplication.flink.k8s.io/hotitems-dev configured" ,but the operator does not submits a new , what's happen?

thanks!

zachwangb avatar Nov 20 '19 09:11 zachwangb

Is the Flink-operator running ? Can you check and paste the operator logs ?

anandswaminathan avatar Nov 21 '19 23:11 anandswaminathan

Also we had an issue with our documentation that we recently fixed. Check the updated doc https://github.com/lyft/flinkk8soperator/blob/master/docs/quick-start-guide.md

anandswaminathan avatar Nov 22 '19 21:11 anandswaminathan

hi,i sorry,i have not reply on time,the Flink-operator is running,and it just print "flinkapplication.flink.k8s.io/hotitems-dev configured",and the running task does not resume

zachwangb avatar Dec 01 '19 12:12 zachwangb

i have read the documentation,"https://github.com/lyft/flinkk8soperator/blob/master/docs/quick-start-guide.md", but i find nothing about the issue

zachwangb avatar Dec 01 '19 12:12 zachwangb