Launch the custom metrics API adapter server Usage: [flags] Flags: --additional-prometheus-server stringToString additional prometheus servers that can be used using the 'prometheus-server-alias' annotation. Format is = (e.g. internal=http://prometheus-internal:9090), can be repeated (default []) --additional-prometheus-server-token-file stringToString token files for additional prometheus servers. Format is =(e.g. internal=/var/run/secrets/tokens/name-token), can be repeated (default []) --authentication-kubeconfig string kubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. --authentication-skip-lookup If false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster. --authentication-token-webhook-cache-ttl duration The duration to cache responses from the webhook token authenticator. (default 10s) --authentication-tolerate-lookup-failure If true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous. --authorization-always-allow-paths strings A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server. (default [/healthz,/readyz,/livez]) --authorization-kubeconfig string kubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. --authorization-webhook-cache-authorized-ttl duration The duration to cache 'authorized' responses from the webhook authorizer. (default 10s) --authorization-webhook-cache-unauthorized-ttl duration The duration to cache 'unauthorized' responses from the webhook authorizer. (default 10s) --aws-external-metrics whether to enable AWS external metrics --aws-region strings the AWS regions which should be monitored. eg: eu-central, eu-west-1 --bind-address ip The IP address on which to listen for the --secure-port port. The associated interface(s) must be reachable by the rest of the cluster, and by CLI/web clients. If blank or an unspecified address (0.0.0.0 or ::), all interfaces and IP address families will be used. (default 0.0.0.0) --cert-dir string The directory where the TLS certs are located. If --tls-cert-file and --tls-private-key-file are provided, this flag will be ignored. (default "apiserver.local.config/certificates") --client-ca-file string If set, any request presenting a client certificate signed by one of the authorities in the client-ca-file is authenticated with an identity corresponding to the CommonName of the client certificate. --contention-profiling Enable block profiling, if profiling is enabled --credentials-dir string path to the credentials dir where tokens are stored (default "/meta/credentials") --debug-socket-path string Use an unprotected (no authn/authz) unix-domain socket for profiling with the given path --default-collection-interval duration Default interval used for collecting metrics. (default 1m0s) --disable-http2-serving If true, HTTP2 serving will be disabled [default=false] --disregard-incompatible-hpas disregard failing to create collectors for incompatible HPAs --enable-custom-metrics-api whether to enable Custom Metrics API (default true) --enable-external-metrics-api whether to enable External Metrics API (default true) --enable-priority-and-fairness If true, replace the max-in-flight handler with an enhanced one that queues and dispatches with priority and fairness --external-rps-metric-name string The name of the metric that should be used to query prometheus for RPS per hostname. (default "skipper_serve_host_duration_seconds_count") --external-rps-metrics whether to enable external RPS metric collector or not --garbage-collector-interval duration Interval to clean up metrics that are stored in in-memory cache. (default 10m0s) -h, --help help for this command --horizontal-pod-autoscaler-tolerance float The HPA tolerance also configured in the HPA controller. (default 0.1) --http2-max-streams-per-connection int The limit that the server gives to clients for the maximum number of streams in an HTTP/2 connection. Zero means to use golang's default. --influxdb-address string address of InfluxDB 2.x server to query (e.g. http://localhost:9999) --influxdb-org string organization ID for InfluxDB 2.x server to query --influxdb-token string token for InfluxDB 2.x server to query --kube-client-burst int maximum burst for throttle to the Kubernetes API server (increase for large clusters, defaults to 10) --kube-client-qps float maximum queries per second (QPS) to the Kubernetes API server (increase for large clusters), defaults to 5 --lister-kubeconfig string kubeconfig file pointing at the 'core' kubernetes server with enough rights to list any described objects --metrics-address string The address where to serve prometheus metrics (default ":7979") --metrics-ttl duration TTL for metrics that are stored in in-memory cache. (default 15m0s) --nakadi-endpoint string url of Nakadi endpoint to for nakadi subscription stats --nakadi-token-name string name of the token used to call nakadi subscription API (default "nakadi") --permit-address-sharing If true, SO_REUSEADDR will be used when binding the port. This allows binding to wildcard IPs like 0.0.0.0 and specific IPs in parallel, and it avoids waiting for the kernel to release sockets in TIME_WAIT state. [default=false] --permit-port-sharing If true, SO_REUSEPORT will be used when binding the port, which allows more than one instance to bind on the same address and port. [default=false] --profiling Enable profiling via web interface host:port/debug/pprof/ (default true) --prometheus-server string url of prometheus server to query --prometheus-server-token-file string path to file containing bearer token for prometheus server authentication --requestheader-allowed-names strings List of client certificate common names to allow to provide usernames in headers specified by --requestheader-username-headers. If empty, any client certificate validated by the authorities in --requestheader-client-ca-file is allowed. --requestheader-client-ca-file string Root certificate bundle to use to verify client certificates on incoming requests before trusting usernames in headers specified by --requestheader-username-headers. WARNING: generally do not depend on authorization being already done for incoming requests. --requestheader-extra-headers-prefix strings List of request header prefixes to inspect. X-Remote-Extra- is suggested. (default [x-remote-extra-]) --requestheader-group-headers strings List of request headers to inspect for groups. X-Remote-Group is suggested. (default [x-remote-group]) --requestheader-uid-headers strings List of request headers to inspect for UIDs. X-Remote-Uid is suggested. Requires the RemoteRequestHeaderUID feature to be enabled. --requestheader-username-headers strings List of request headers to inspect for usernames. X-Remote-User is common. (default [x-remote-user]) --resource-update-interval duration Interval at which HPA resources get updated. (default 30s) --scaling-schedule whether to enable time-based ScalingSchedule metrics --scaling-schedule-default-scaling-window duration Default rampup and rampdown window duration for ScalingSchedules (default 10m0s) --scaling-schedule-default-time-zone string Default time zone to use for ScalingSchedules. (default "Europe/Berlin") --scaling-schedule-ramp-steps int Number of steps used to rampup and rampdown ScalingSchedules. It's used to guarantee won't avoid reaching the max scaling due to the 10% minimum change rule. (default 10) --secure-port int The port on which to serve HTTPS with authentication and authorization. If 0, don't serve HTTPS at all. (default 443) --skipper-backends-annotation stringArray the annotation to get backend weights so that the returned metric can be weighted --skipper-ingress-metrics whether to enable skipper ingress metrics --skipper-routegroup-metrics whether to enable skipper routegroup metrics --tls-cert-file string File containing the default x509 Certificate for HTTPS. (CA cert, if any, concatenated after server cert). If HTTPS serving is enabled, and --tls-cert-file and --tls-private-key-file are not provided, a self-signed certificate and key are generated for the public address and saved to the directory specified by --cert-dir. --tls-cipher-suites strings Comma-separated list of cipher suites for the server. If omitted, the default Go cipher suites will be used. Preferred values: TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305, TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256. Insecure values: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_3DES_EDE_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_256_GCM_SHA384, TLS_RSA_WITH_RC4_128_SHA. --tls-min-version string Minimum TLS version supported. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13 --tls-private-key-file string File containing the default x509 private key matching --tls-cert-file. --tls-sni-cert-key namedCertKey A pair of x509 certificate and private key file paths, optionally suffixed with a list of domain patterns which are fully qualified domain names, possibly with prefixed wildcard segments. The domain patterns also allow IP addresses, but IPs should only be used if the apiserver has visibility to the IP address requested by a client. If no domain patterns are provided, the names of the certificate are extracted. Non-wildcard matches trump over wildcard matches, explicit domain patterns trump over extracted names. For multiple key/certificate pairs, use the --tls-sni-cert-key multiple times. Examples: "example.crt,example.key" or "foo.crt,foo.key:*.foo.com,foo.com". (default []) --token string static oauth2 token to use when calling external services like ZMON and Nakadi --zmon-kariosdb-endpoint string url of ZMON KariosDB endpoint to query for ZMON checks --zmon-token-name string name of the token used to query ZMON (default "zmon")