aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-04-08 16:45:29 +0100
committerGravatar GitHub <noreply@github.com> 2019-04-08 16:45:29 +0100
commitbe1ac9fed437b639f86fdba9347a03f72190992d (patch)
tree5940a57d7557cc07cf9000a3e6a7f2f4d839a939 /plugin/kubernetes
parentbe8b29cd4d428eb85fb8cd97b439b3af4d451beb (diff)
downloadcoredns-be1ac9fed437b639f86fdba9347a03f72190992d.tar.gz
coredns-be1ac9fed437b639f86fdba9347a03f72190992d.tar.zst
coredns-be1ac9fed437b639f86fdba9347a03f72190992d.zip
plugins: remove `upstream [ADDRESS]` from docs (#2772)
Various plugins still had this documented, the setup functions still allow it (which is fine), but update the docs that this arguments isn't there any more. Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/kubernetes')
-rw-r--r--plugin/kubernetes/README.md11
1 files changed, 5 insertions, 6 deletions
diff --git a/plugin/kubernetes/README.md b/plugin/kubernetes/README.md
index 5fa880824..22614db8e 100644
--- a/plugin/kubernetes/README.md
+++ b/plugin/kubernetes/README.md
@@ -39,7 +39,7 @@ kubernetes [ZONES...] {
labels EXPRESSION
pods POD-MODE
endpoint_pod_names
- upstream [ADDRESS...]
+ upstream
ttl TTL
noendpoints
transfer to ADDRESS...
@@ -60,7 +60,7 @@ kubernetes [ZONES...] {
* `namespace_labels` **EXPRESSION** only expose the records for Kubernetes namespaces that match this label selector.
The label selector syntax is described in the
[Kubernetes User Guide - Labels](http://kubernetes.io/docs/user-guide/labels/). An example that
- only exposes namespaces labeled as "istio-injection=enabled", would use:
+ only exposes namespaces labeled as "istio-injection=enabled", would use:
`labels istio-injection=enabled`.
* `labels` **EXPRESSION** only exposes the records for Kubernetes objects that match this label selector.
The label selector syntax is described in the
@@ -90,10 +90,9 @@ kubernetes [ZONES...] {
follows: Use the hostname of the endpoint, or if hostname is not set, use the
pod name of the pod targeted by the endpoint. If there is no pod targeted by
the endpoint, use the dashed IP address form.
-* `upstream` [**ADDRESS**...] defines the upstream resolvers used for resolving services
- that point to external hosts (aka External Services, aka CNAMEs). If no **ADDRESS** is given, CoreDNS
- will resolve External Services against itself. **ADDRESS** can be an IP, an IP:port, or a path
- to a file structured like resolv.conf.
+* `upstream` defines the upstream resolvers used for resolving services
+ that point to external hosts (aka External Services, aka CNAMEs). CoreDNS
+ will resolve External Services against itself.
* `ttl` allows you to set a custom TTL for responses. The default is 5 seconds. The minimum TTL allowed is
0 seconds, and the maximum is capped at 3600 seconds. Setting TTL to 0 will prevent records from being cached.
* `noendpoints` will turn off the serving of endpoint records by disabling the watch on endpoints.