Closed tty47 closed 3 years ago
With make run, your local operator is starting from your system and not into your k8s cluster so it can't resolve the host simplenifi-headless.nifi.svc.cluster.local. Insert a line in your hosts file.
Hello, Yes, you are right! It was fixed deploying into the cluster directly. Thanks for the tip ;)
Bug Report
I have create and install the following resources, previous to deploy the nifi cluster:
I have setup the operator from the project, executing the following commands:
What did you do? I am trying to deploy the operator and create a basic Nifi cluster with the manifest:
Once I deploy the previous manifest, I got the following error in the operator:
The pods and the services in the ns nifi seems ok:
What did you expect to see? Dont get errors from the operator and being accessible forwarding port to the Nifi service (I use 8082 due to the operator running in dev mode (make run), use the 8080 in my local.
I got:
What did you see instead? Under which circumstances? The error mentioned.
Environment
nifikop version: master
go version: 1.15 (dockerfile)
Kubernetes version information: v1.20.7 but also with 1.16, 1.18, 1.20 Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.1", GitCommit:"5e58841cce77d4bc13713ad2b91fa0d961e69192", GitTreeState:"clean", BuildDate:"2021-05-13T02:40:46Z", GoVersion:"go1.16.3", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.7", GitCommit:"132a687512d7fb058d0f5890f07d4121b3f0a2e2", GitTreeState:"clean", BuildDate:"2021-05-27T23:27:49Z", GoVersion:"go1.15.12", Compiler:"gc", Platform:"linux/amd64"}
Kubernetes cluster kind: v1.20.7 but also with 1.16, 1.18, 1.20
NiFi version: 1.12.1
Thanks in advance