Skip to content

Commit

Permalink
[stable/memcached] fix the memcached chart's bug, when the AntiAffini…
Browse files Browse the repository at this point in the history
…ty is soft (helm#3221)

* Update statefulset.yaml

* Update Chart.yaml

* fixes linter issues
  • Loading branch information
AlawnWong authored and k8s-ci-robot committed Jan 5, 2018
1 parent a0d40d3 commit 0177dae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion stable/memcached/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: memcached
version: 2.0.0
version: 2.0.1
description: Free & open source, high-performance, distributed memory object caching
system.
keywords:
Expand Down
2 changes: 1 addition & 1 deletion stable/memcached/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 5
podAffinityTerm:
- topologyKey: "kubernetes.io/hostname"
topologyKey: "kubernetes.io/hostname"
labelSelector:
matchLabels:
app: {{ template "memcached.fullname" . }}
Expand Down
6 changes: 3 additions & 3 deletions stable/memcached/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ image: memcached:1.4.36-alpine
# imagePullPolicy:
#

##Replica count
## Replica count
replicaCount: 3

##Pod disruption budget minAvailable count
## Pod disruption budget minAvailable count
pdbMinAvailable: 3

## Select AnitAffinity as either hard or soft, default is hard
AntiAffinity: "hard"

memcached:
## Various values that get set as command-line flags.
## ref: https://github.com/memcached/memcached/wiki/ConfiguringServer#commandline-arguments
Expand Down

0 comments on commit 0177dae

Please sign in to comment.