INNER CODE UNIT · Go

main

SeldonIO/seldon-core · operator/main.go:97

func main() {
	var (
		displayVersion           bool
		metricsAddr              string
		enableLeaderElection     bool
		probeAddr                string
		namespace                string
		watchNamespaces          string
		clusterwide              bool
		logLevel                 string
		useDeploymentsForServers bool
	)

	flag.BoolVar(&displayVersion, "version", false, "display version and exit")
	flag.StringVar(&metricsAddr, "metrics-bind-address", ":4000", "The address the metric endpoint binds to.")
	flag.StringVar(&probeAddr, "health-probe-bind-address", ":4001", "The address the probe endpoint binds to.")
	flag.StringVar(&namespace, "namespace", "", "The namespace to restrict the operator.")
	flag.StringVar(&watchNamespaces, "watch-namespaces", "",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…