Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zachwangb opened this issue Nov 20, 2019 · 4 comments
Open

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

zachwangb opened this issue Nov 20, 2019 · 4 comments

Comments

@zachwangb
Copy link

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 zachwangb changed the title apply apply cmd does not work as expect Nov 20, 2019
@zachwangb zachwangb changed the title apply cmd does not work as expect "kubectl -n flink-operator apply -f" does not work as expect Nov 20, 2019
@anandswaminathan
Copy link
Contributor

anandswaminathan commented Nov 21, 2019

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

@anandswaminathan
Copy link
Contributor

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

@zachwangb
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants