Memcached¶
Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.
Architecture¶
This resource creates a Deployment
with a hard coded replica count of two,
the size of every replica corresponds to half the size provided inside the
custom resource.
This resource does not expose a headless service, instead, it creates a managed
resource of Mcrouter which is automatically updated with the IPs of the
pods that are running memcached
.
Usage¶
apiVersion: infrastructure.vexxhost.cloud/v1alpha1
kind: Memcached
metadata:
name: devstack
labels:
monitoring: haha
spec:
megabytes: 128