factor config into each cluster type