flink-on-k8s-operator icon indicating copy to clipboard operation
flink-on-k8s-operator copied to clipboard

Internal error occurred: failed calling webhook "mflinkcluster.flinkoperator.k8s.io"

Open ilyak77 opened this issue 4 years ago • 1 comments

Beginner question:

our study group try to learn and run the demo. When we ran the make deploy, it failed in pull image. So we try to run each yaml file seperately.

kubectl apply -f flinkoperator_v1beta1_remotejobjar.yaml, it returns error like:

"flinkoperator_v1beta1_remotejobjar.yaml": Internal error occurred: failed calling webhook "mflinkcluster.flinkoperator.k8s.io": Post "https://flink-operator-webhook-service.flink-operator-system.svc:443/mutate-flinkoperator-k8s-io-v1beta1-flinkcluster?timeout=30s": dial tcp 10.190.33.155:443: connect: connection refused

Our OS is centos 8.1 and kubectl version is Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.1", GitCommit:"c4d752765b3bbac2237bf87cf0b1c2e307844666", GitTreeState:"clean", BuildDate:"2020-12-18T12:09:25Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.1", GitCommit:"c4d752765b3bbac2237bf87cf0b1c2e307844666", GitTreeState:"clean", BuildDate:"2020-12-18T12:00:47Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}

Is that due to our k8s node configuration issue or a network issue? if the later one, is there any place we could get those images directory? thanks!

ilyak77 avatar Feb 02 '21 11:02 ilyak77

I restart the docker and kubelet and resolved the problem,but not a real way。。

banbushi avatar Apr 01 '22 09:04 banbushi