mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-13 06:04:02 +00:00
This fixes the Redis StatefulSet e2e test by adding the missing `publishNotReadyAddresses: true` field, which was accidentially left out in #63742. Without this fix, the redis e2e test will fail because the pod is unable to lookup the service: ``` 2018/09/14 13:57:10 lookup redis on 172.31.9.247:53: no such host ``` Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
17 lines
282 B
YAML
17 lines
282 B
YAML
# A headless service to create DNS records
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: redis
|
|
labels:
|
|
app: redis
|
|
spec:
|
|
ports:
|
|
- port: 6379
|
|
name: peer
|
|
# *.redis.default.svc.cluster.local
|
|
clusterIP: None
|
|
selector:
|
|
app: redis
|
|
publishNotReadyAddresses: true
|