@@ -21,6 +21,7 @@ Compatibility matrix:
2121
2222Metrics Server | Metrics API group/version | Supported Kubernetes version
2323---------------|---------------------------|-----------------------------
24+ 0.3.x | ` metrics.k8s.io/v1beta1 ` | 1.8+
24250.2.x | ` metrics.k8s.io/v1beta1 ` | 1.8+
25260.1.x | ` metrics/v1alpha1 ` | 1.7
2627
@@ -35,3 +36,43 @@ $ kubectl create -f deploy/1.7/
3536# Kubernetes > 1.8
3637$ kubectl create -f deploy/1.8+/
3738```
39+
40+ ## Flags
41+
42+ Metrics Server supports all the standard Kubernetes API server flags, as
43+ well as the standard Kubernetes ` glog ` logging flags. The most
44+ commonly-used ones are:
45+
46+ - ` --logtostderr ` : log to standard error instead of files in the
47+ container. You generally want this on.
48+
49+ - ` --v=<X> ` : set log verbosity. It's generally a good idea to run a log
50+ level 1 or 2 unless you're encountering errors. At log level 10, large
51+ amounts of diagnostic information will be reported, include API request
52+ and response bodies, and raw metric results from Kubelet.
53+
54+ - ` --secure-port=<port> ` : set the secure port. If you're not running as
55+ root, you'll want to set this to something other than the default (port
56+ 443).
57+
58+ - ` --tls-cert-file ` , ` --tls-private-key-file ` : the serving certificate and
59+ key files. If not specified, self-signed certificates will be
60+ generated, but it's recommended that you use non-self-signed
61+ certificates in production.
62+
63+ Additionally, Metrics Server defines a number of flags for configuring its
64+ behavior:
65+
66+ - ` --metric-resolution=<duration> ` : the interval at which metrics will be
67+ scraped from Kubelets (defaults to 60s).
68+
69+ - ` --kubelet-insecure-tls ` : skip verifying Kubelet CA certificates. Not
70+ recommended for production usage, but can be useful in test clusters
71+ with self-signed Kubelet serving certificates.
72+
73+ - ` --kubelet-port ` : the port to use to connect to the Kubelet (defaults to
74+ the default secure Kubelet port, 10250).
75+
76+ - ` --kubelet-preferred-address-types ` : the order in which to consider
77+ different Kubelet node address types when connecting to Kubelet.
78+ Functions similarly to the flag of the same name on the API server.
0 commit comments