Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Increase memcached memory defaults #1780

Merged
merged 1 commit into from
Feb 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chart/flux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ The following tables lists the configurable parameters of the Weave Flux chart a
| `registry.dockercfg.enabled` | Mount `config.json` via Secret into the Flux Pod, enabling Flux to use a custom docker config file | `false`
| `registry.dockercfg.secretName` | Kubernetes secret with the docker config.json | `None`
| `memcached.verbose` | Enable request logging in memcached | `false`
| `memcached.maxItemSize` | Maximum size for one item | `1m`
| `memcached.maxMemory` | Maximum memory to use, in megabytes | `64`
| `memcached.maxItemSize` | Maximum size for one item | `5m`
| `memcached.maxMemory` | Maximum memory to use, in megabytes | `128`
| `memcached.pullSecret` | Image pull secret | `None`
| `memcached.repository` | Image repository | `memcached`
| `memcached.resources` | CPU/memory resource requests/limits for memcached | `None`
Expand Down
8 changes: 4 additions & 4 deletions chart/flux/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ memcached:
pullSecret:
createClusterIP: true
verbose: false
maxItemSize: 1m
maxMemory: 64
maxItemSize: 5m
maxMemory: 128
nodeSelector: {}
tolerations: []
affinity: {}
Expand All @@ -166,10 +166,10 @@ memcached:
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 70Mi
# memory: 256Mi
# requests:
# cpu: 50m
# memory: 64Mi
# memory: 128Mi

ssh:
# Overrides for git over SSH. If you use your own git server, you
Expand Down
5 changes: 3 additions & 2 deletions deploy/memcache-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ spec:
image: memcached:1.4.25
imagePullPolicy: IfNotPresent
args:
- -m 64 # Maximum memory to use, in megabytes. 64MB is default.
- -p 11211 # Default port, but being explicit is nice.
- -m 128 # Maximum memory to use, in megabytes
- -I 5m # Maximum size for one item
- -p 11211 # Default port
# - -vv # Uncomment to get logs of each request and response.
ports:
- name: clients
Expand Down