-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Search before asking
- I had searched in the issues and found no similar issues.
What happened
前置说明:
1、目前 native application运作良好,想验证 operator application是否可行,本次例子可以提交native application,但无法提交operator application
2、(已确保operator正确安装部署)使用 yaml能正常提交operator application,比如使用 https://github.com/apache/flink-kubernetes-operator/blob/main/examples/basic.yaml, 能正常提交 operator 任务
2025-04-23 21:10:34.758 INFO org.dinky.gateway.kubernetes.operator.KubernetesApplicationOperatorGateway(92): deploy kubernetes , status is : MISSING
2025-04-23 21:10:34.800 INFO org.dinky.gateway.kubernetes.operator.KubernetesApplicationOperatorGateway(92): deploy kubernetes , status is : MISSING
2025-04-23 21:10:34.855 INFO org.dinky.gateway.kubernetes.operator.KubernetesApplicationOperatorGateway(92): deploy kubernetes , status is : MISSING
2025-04-23 21:10:34.856 INFO org.dinky.gateway.kubernetes.operator.KubernetesApplicationOperatorGateway(96): deploy kubernetes error :{"type":"org.apache.flink.kubernetes.operator.exception.ReconciliationException","message":"org.apache.flink.kubernetes.shaded.io.fabric8.kubernetes.client.KubernetesClientException: Load kubernetes config failed.","additionalMetadata":{},"throwableList":[{"type":"org.apache.flink.kubernetes.shaded.io.fabric8.kubernetes.client.KubernetesClientException","message":"Load kubernetes config failed.","additionalMetadata":{}},{"type":"java.nio.file.NoSuchFileException","message":"/opt/dinky/tmp/kubernetes/f0678209-8606-4055-bab3-ac89e8af83b6/kubernetes.config.file.yaml","additionalMetadata":{}}]}
Process Step SUBMIT_EXECUTE exit with status:FAILED
java.lang.RuntimeException: {"type":"org.apache.flink.kubernetes.operator.exception.ReconciliationException","message":"org.apache.flink.kubernetes.shaded.io.fabric8.kubernetes.client.KubernetesClientException: Load kubernetes config failed.","additionalMetadata":{},"throwableList":[{"type":"org.apache.flink.kubernetes.shaded.io.fabric8.kubernetes.client.KubernetesClientException","message":"Load kubernetes config failed.","additionalMetadata":{}},{"type":"java.nio.file.NoSuchFileException","message":"/opt/dinky/tmp/kubernetes/f0678209-8606-4055-bab3-ac89e8af83b6/kubernetes.config.file.yaml","additionalMetadata":{}}]}
at org.dinky.gateway.kubernetes.operator.KubernetesApplicationOperatorGateway.lambda$submitJar$0(KubernetesApplicationOperatorGateway.java:97)
at io.fabric8.kubernetes.client.dsl.base.BaseOperation.lambda$waitUntilCondition$3(BaseOperation.java:851)
at io.fabric8.kubernetes.client.dsl.base.BaseOperation.lambda$informOnCondition$6(BaseOperation.java:881)
at io.fabric8.kubernetes.client.dsl.base.BaseOperation$2.onUpdate(BaseOperation.java:903)
at io.fabric8.kubernetes.client.dsl.base.BaseOperation$2.onUpdate(BaseOperation.java:890)
at
with an error " Load kubernetes config failed" ,when submit a flink operator job
but i can find the file under /opt/dinky/tmp/kubernetes
What you expected to happen
success to submit with operator
How to reproduce
CREATE TABLE Orders (
order_number BIGINT,
price DECIMAL(32,2),
buyer ROW<first_name STRING, last_name STRING>,
order_time TIMESTAMP(3)
) WITH (
'connector' = 'datagen',
'rows-per-second' = '1',
'number-of-rows' = '50'
);
select order_number,price,first_name,last_name,order_time from Orders
submit to flink operator cluser
Anything else
Version
1.2.3
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable




