[stable/memcached] fix the memcached chart's bug, when the AntiAffinity is soft (#3221)

* Update statefulset.yaml

* Update Chart.yaml

* fixes linter issues
This commit is contained in:
AlawnWong
2018-01-04 23:04:12 -08:00
committed by k8s-ci-robot
parent a0d40d36a9
commit 0177dae9da
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -31,7 +31,7 @@ spec:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 5
podAffinityTerm:
- topologyKey: "kubernetes.io/hostname"
topologyKey: "kubernetes.io/hostname"
labelSelector:
matchLabels:
app: {{ template "memcached.fullname" . }}
+3 -3
View File
@@ -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