Files
kustomize/internal/tools/config/redis/http_cache/redis.yaml
Damien Robichaud 3f1b2bb744 Add configs
2019-08-23 12:57:59 -07:00

17 lines
417 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: redis-http-cache
spec:
template:
spec:
containers:
- name: redis
image: redis:5-alpine
imagePullPolicy: Always
# see redis.io/topics/lru-cache for other policy options.
args: ["--maxmemory", "1gb", "--maxmemory-policy", "allkeys-lru"]
ports:
- name: http-cache-port
containerPort: 6379