Memcached

The source code and default configuration of the Building Block is available in our GitLab.

Adding the Building Block

Add the directory syseleven-memcached to your control repository. Add a .gitlab-ci.yml to the directory with the following content:

include:
  - project: syseleven/building-blocks/helmfiles/memcached
    file: JobDevelopment.yaml
    ref: 1.0.2
  - project: syseleven/building-blocks/helmfiles/memcached
    file: JobStaging.yaml
    ref: 1.0.2
  - project: syseleven/building-blocks/helmfiles/memcached
    file: JobProduction.yaml
    ref: 1.0.2

Remove environments you are not using by removing their include.

Required configuration

No configuration is required.

Monitoring

Additional alertrules

  • None

Additional Grafana dashboards

  • Memcached monitoring
    • An overview of performance metrics of memcached (e.g. bytes read/written, items, commands, ...)

Scaling Setup

The default scenario is to run memcached as standalone architecture. The used upstream helm charts supports standalone and high-availability. Please check its documentation for high-availability.

  • MaxMemory and MaxItemSize can be adjusted
  • Requests/limits for CPU/memory can be adjust