aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-10-08 10:20:48 +0100
committerGravatar GitHub <noreply@github.com> 2019-10-08 10:20:48 +0100
commit65458b2de24bd748e2983e34c779f5b04d38f20c (patch)
tree1a79107784baf6ef94e9775274b84538d6a7e05b /plugin/kubernetes
parentffe6225ff6b1c55b4d9a89a016c4f1aed98dc026 (diff)
downloadcoredns-65458b2de24bd748e2983e34c779f5b04d38f20c.tar.gz
coredns-65458b2de24bd748e2983e34c779f5b04d38f20c.tar.zst
coredns-65458b2de24bd748e2983e34c779f5b04d38f20c.zip
Directive -> plugin (#3363)
Caught my eye, we name things directive still, esp when talking about the prometheus *plugin*. Rename everything that needs to be plugin to 'plugin'. Also make sure Metrics is a H2 section (not H1). Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/kubernetes')
-rw-r--r--plugin/kubernetes/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/kubernetes/README.md b/plugin/kubernetes/README.md
index 74de47ed7..fd3a60b17 100644
--- a/plugin/kubernetes/README.md
+++ b/plugin/kubernetes/README.md
@@ -24,7 +24,7 @@ This plugin can only be used once per Server Block.
kubernetes [ZONES...]
~~~
-With only the directive specified, the *kubernetes* plugin will default to the zone specified in
+With only the plugin specified, the *kubernetes* plugin will default to the zone specified in
the server's block. It will handle all queries in that zone and connect to Kubernetes in-cluster. It
will not provide PTR records for services or A records for pods. If **ZONES** is used it specifies
all the zones the plugin should be authoritative for.
@@ -231,7 +231,7 @@ plugin is also enabled:
## Metrics
-If monitoring is enabled (via the *prometheus* directive) then the following metrics are exported:
+If monitoring is enabled (via the *prometheus* plugin) then the following metrics are exported:
* `coredns_kubernetes_dns_programming_duration_seconds{service_kind}` - Exports the
[DNS programming latency SLI](https://github.com/kubernetes/community/blob/master/sig-scalability/slos/dns_programming_latency.md).