SONAR-5687 refactor configuration of cluster