in pkg/controller/nameservice/nameservice_controller.go [309:317]
func getRunningNameServersNum(pods []corev1.Pod) int32 {
var num int32 = 0
for _, pod := range pods {
if reflect.DeepEqual(pod.Status.Phase, corev1.PodRunning) {
num++
}
}
return num
}