Skip to content

Commit

Permalink
ksonnet: use consistent hashing in memcached client configs (#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfratto authored Sep 16, 2019
1 parent a399cc1 commit ec81583
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions production/ksonnet/loki/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
memcached_client: {
host: 'memcached-index-queries.%s.svc.cluster.local' % $._config.namespace,
service: 'memcached-client',
consistent_hash: true,
},
},
} +
Expand Down Expand Up @@ -173,6 +174,7 @@
memcached_client: {
host: 'memcached.%s.svc.cluster.local' % $._config.namespace,
service: 'memcached-client',
consistent_hash: true,
},
},

Expand All @@ -185,6 +187,7 @@
memcached_client: {
host: 'memcached-index-writes.%s.svc.cluster.local' % $._config.namespace,
service: 'memcached-client',
consistent_hash: true,
},
},
max_look_back_period: 0,
Expand Down

0 comments on commit ec81583

Please sign in to comment.