aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/object/metrics.go
diff options
context:
space:
mode:
authorGravatar Mat Lowery <mlowery@ebay.com> 2021-07-29 21:27:25 -0600
committerGravatar GitHub <noreply@github.com> 2021-07-29 23:27:25 -0400
commit9d5b8cd13d541cc3d2b7598ab255643d6298ba9d (patch)
tree5ac6f17f1d1a6b0e9033c759fb276a52c3ffab4e /plugin/kubernetes/object/metrics.go
parent8ff7c4b83444c488051384cea0606f085e5b6959 (diff)
downloadcoredns-9d5b8cd13d541cc3d2b7598ab255643d6298ba9d.tar.gz
coredns-9d5b8cd13d541cc3d2b7598ab255643d6298ba9d.tar.zst
coredns-9d5b8cd13d541cc3d2b7598ab255643d6298ba9d.zip
kubernetes: Improve namespace usage (#4767)
* Use GetByKey instead of List in GetNamespaceByName. * Add ToNamespace to reduce memory for namespace cache. Signed-off-by: Mat Lowery <mlowery@ebay.com>
Diffstat (limited to 'plugin/kubernetes/object/metrics.go')
0 files changed, 0 insertions, 0 deletions