-
Notifications
You must be signed in to change notification settings - Fork 8
/
memcached-config.yml.k8s_sample
30 lines (30 loc) · 1.12 KB
/
memcached-config.yml.k8s_sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
memcached-config.yml: |
---
# Run auto discovery to find pods with label "app=memcached"
# https://docs.newrelic.com/docs/integrations/host-integrations/installation/container-auto-discovery
discovery:
command:
# Use the following optional arguments:
# --namespaces: Comma separated list of namespaces to discover pods on
# --tls: Use secure (TLS) connection
# --port: Port used to connect to the kubelet. Default is 10255
exec: /var/db/newrelic-infra/nri-discovery-kubernetes
match:
label.app: memcached
integrations:
- name: nri-memcached
env:
# Hostname of the memcached instance.
# Defaults to localhost.
HOST: ${discovery.ip}
# Port memcached is running on.
# Defaults to 11211
port: 11211
# Memcached SASL username. Only required if
# authentication is enabled.
username: cacheuser
# Memcached SASL password. Only required if
# authentication is enabled.
password: password
labels:
env: production