blob: b6a07f4ca9da72987f7a7fb67084afa6eefb2ce3 [file] [log] [blame]
Filip Pytloune21bc772015-10-06 16:28:32 +02001======================
2Memcached cache server
3======================
4
5Install and configure Memcached server
6
7Available states
8================
9
10.. contents::
11 :local:
12
13``memcached.server``
14--------------------
15
16Setup Memcached server
17
18Available metadata
19==================
20
21.. contents::
22 :local:
23
24``metadata.memcached.server.single``
25------------------------------------
26
27Single memcached server
28
29``metadata.memcached.server.local``
30-----------------------------------
31
32Memcached server listening on localhost only
33
34Configuration parameters
35========================
36
37
38Example reclass
39===============
40
41Single node memcached service, default parameters but modified cache size.
42
43.. code-block:: yaml
44
45 classes:
46 - service.memcached.server.single
47
48 parameters:
49 memcached:
50 server:
51 cache_size: 64
52
53Sample pillar
54=============
55
56.. code-block:: yaml
57
58 memcached:
59 server:
60 enabled: true
61 cache_size: 64
62 bind:
63 address: 0.0.0.0
64 port: 11211
65 protocol: tcp
66
67Read more
68=========
69
70* http://memcached.org/