code: func NewOpenEBSProvisioner(client kubernetes.Interface) controller.Provisioner {
  
  	nodeName := os.Getenv("NODE_NAME")
  	if nodeName == "" {
  		glog.Errorf("ENV variable 'NODE_NAME' is not set")
  	}
  	var openebsObj mApiv1.OpenEBSVolume
  
  	//Get maya-apiserver IP address from cluster
  	addr, err := openebsObj.GetMayaClusterIP(client)
  
  	if err != nil {
  		glog.Errorf("Error getting maya-apiserver IP Address: %v", err)
  		return nil
  	}
  	mayaServiceURI := "http://" + addr + ":5656"
  
  	//Set maya-apiserver IP address along with default port
  	os.Setenv("MAPI_ADDR", mayaServiceURI)
  
  	return &openEBSProvisioner{
  		mapiURI:  mayaServiceURI,
  		identity: nodeName,
  	}
  }
docs: // NewOpenEBSProvisioner creates a new openebs provisioner