Fuel CCP - Memcached deployment
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

memcached.yaml 832B

123456789101112131415161718192021222324252627282930
  1. dsl_version: 0.4.0
  2. service:
  3. name: memcached
  4. ports:
  5. - {{ memcached.port }}
  6. # {% if telegraf is defined %}
  7. annotations:
  8. service:
  9. prometheus.io/scrape: "true"
  10. prometheus.io/port: "{{ telegraf.prometheus_output_port.cont }}"
  11. # {% endif %}
  12. containers:
  13. - name: memcached
  14. image: memcached
  15. daemon:
  16. command: memcached -v -u memcached -l {{ memcached.address }} -m {{ memcached.ram }} -c {{ memcached.max_connections }}
  17. user: memcached
  18. # {% if telegraf is defined %}
  19. - name: memcached-telegraf
  20. image: telegraf
  21. daemon:
  22. command: telegraf --config /etc/telegraf/telegraf.conf --input-filter memcached
  23. files:
  24. - telegraf-conf
  25. # {% endif %}
  26. files:
  27. telegraf-conf:
  28. path: /etc/telegraf/telegraf.conf
  29. content: telegraf.conf.j2