Programmatic cluster configuration