|
|
@ -77,6 +77,7 @@ const (
|
|
|
|
var (
|
|
|
|
var (
|
|
|
|
grpcAddr = flag.String("listen", fmt.Sprintf(":%v", environment.DefaultTillerPort), "address:port to listen on")
|
|
|
|
grpcAddr = flag.String("listen", fmt.Sprintf(":%v", environment.DefaultTillerPort), "address:port to listen on")
|
|
|
|
probeAddr = flag.String("probe-listen", fmt.Sprintf(":%v", environment.DefaultTillerProbePort), "address:port to listen on for probes")
|
|
|
|
probeAddr = flag.String("probe-listen", fmt.Sprintf(":%v", environment.DefaultTillerProbePort), "address:port to listen on for probes")
|
|
|
|
|
|
|
|
enableProbing = flag.Bool("probe", true, "enable probing over http")
|
|
|
|
enableTracing = flag.Bool("trace", false, "enable rpc tracing")
|
|
|
|
enableTracing = flag.Bool("trace", false, "enable rpc tracing")
|
|
|
|
store = flag.String("storage", storageConfigMap, "storage driver to use. One of 'configmap', 'memory', 'sql' or 'secret'")
|
|
|
|
store = flag.String("storage", storageConfigMap, "storage driver to use. One of 'configmap', 'memory', 'sql' or 'secret'")
|
|
|
|
|
|
|
|
|
|
|
@ -205,7 +206,9 @@ func start() {
|
|
|
|
|
|
|
|
|
|
|
|
logger.Printf("Starting Tiller %s (tls=%t)", version.GetVersion(), *tlsEnable || *tlsVerify)
|
|
|
|
logger.Printf("Starting Tiller %s (tls=%t)", version.GetVersion(), *tlsEnable || *tlsVerify)
|
|
|
|
logger.Printf("GRPC listening on %s", *grpcAddr)
|
|
|
|
logger.Printf("GRPC listening on %s", *grpcAddr)
|
|
|
|
|
|
|
|
if *enableProbing {
|
|
|
|
logger.Printf("Probes listening on %s", *probeAddr)
|
|
|
|
logger.Printf("Probes listening on %s", *probeAddr)
|
|
|
|
|
|
|
|
}
|
|
|
|
logger.Printf("Storage driver is %s", env.Releases.Name())
|
|
|
|
logger.Printf("Storage driver is %s", env.Releases.Name())
|
|
|
|
logger.Printf("Max history per release is %d", *maxHistory)
|
|
|
|
logger.Printf("Max history per release is %d", *maxHistory)
|
|
|
|
|
|
|
|
|
|
|
@ -225,6 +228,10 @@ func start() {
|
|
|
|
}()
|
|
|
|
}()
|
|
|
|
|
|
|
|
|
|
|
|
go func() {
|
|
|
|
go func() {
|
|
|
|
|
|
|
|
if !*enableProbing {
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
mux := newProbesMux()
|
|
|
|
mux := newProbesMux()
|
|
|
|
|
|
|
|
|
|
|
|
// Register gRPC server to prometheus to initialized matrix
|
|
|
|
// Register gRPC server to prometheus to initialized matrix
|
|
|
|