Skip to content

Commit 668f948

Browse files
authored
Merge pull request kubernetes-sigs#113 from DirectXMan12/release/v0.3.0-alpha.1
Prep for v0.3.0 release
2 parents 697f4e7 + 4a2c4f1 commit 668f948

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Compatibility matrix:
2121

2222
Metrics Server | Metrics API group/version | Supported Kubernetes version
2323
---------------|---------------------------|-----------------------------
24+
0.3.x | `metrics.k8s.io/v1beta1` | 1.8+
2425
0.2.x | `metrics.k8s.io/v1beta1` | 1.8+
2526
0.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

Comments
 (0)