func main()

in cmd/gke-prober.go [30:43]


func main() {
	if home := homedir.HomeDir(); home != "" {
		flag.StringVar(&kubeconfig, "kubeconfig", filepath.Join(home, ".kube", "config"), "(optional) absolute path to the kubeconfig file")
	} else {
		flag.StringVar(&kubeconfig, "kubeconfig", "", "absolute path to the kubeconfig file")
	}
	klog.InitFlags(nil)
	flag.Parse()
	defer klog.Flush()

	ctx := server.SetupSignalContext()
	s := server.NewServer(nil, nil)
	s.RunUntil(ctx, kubeconfig)
}