Help with writing a custom CNI plugin

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: v1.16.3
Cloud being used: bare-metal
Installation method: apt
Host OS: Ubuntu 18.04.3
CNI and version: 0.3.0

I wanted to write a custon CNI plugin for Kubernetes. I have a two node (1 master - 1worker) kubernetes cluster. I added a yaml file in /etc/cni/net.d (there is a single yaml in the directory). I placed my custom CNI’s executable binary in /opt/cni/bin. Yet, I get NodeNotReady as the status for both nodes with the following warning:
runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

Are there addition steps in configuring a cni custom plugin?

Check the logs of your binary.