streamnative/function-mesh

[Bug] Can't deploy example function

Closed this issue · 1 comments

After installing the Function Mesh Operator v0.14.0,

helm upgrade --install function-mesh-operator function-mesh/function-mesh-operator -n operators

helm list -n operators
NAME                     	NAMESPACE	REVISION	UPDATED                                	STATUS  	CHART                           	APP VERSION
function-mesh-operator   	operators	1       	2023-07-09 10:16:36.725695459 -0700 PDT	deployed	function-mesh-operator-0.2.17   	0.14.0     

I get the following error when trying to deploy an example function as described in the documentation:

kubectl apply -f compute_v1alpha1_function.yaml -n pulsar
configmap/pulsar created
secret/test-tls created
secret/test-secret created
Error from server (InternalError): error when creating "compute_v1alpha1_function.yaml": Internal error occurred: failed calling webhook "mfunction.kb.io": failed to call webhook: Post "https://function-mesh-controller-manager-service.operators.svc:443/mutate-compute-functionmesh-io-v1alpha1-function?timeout=10s": dial tcp 10.152.183.219:443: connect: connection refused

The Function Mesh operator is running in the operators namespace as expected, but on a different IP address than the one listed in the error.

Screenshot from 2023-07-09 10-28-14

compute_v1alpha1_function.zip

nlu90 commented

we have discussed offline, this is caused by a conflicting installation of FM operator by another component