Tolerate unready endpoints for apiserver service

This avoids a race condition that can occur while joining nodes when
another node is down.

The service is really a discovery service that is primarily used by the
haproxy chart to find apiserver endpoints, so it's reasonable for it to
include all endpoints (HAProxy will monitor health on its own).

Change-Id: I09dd66883af4ff91f9d13432137094fdf876ca83
This commit is contained in:
Mark Burnett 2018-07-17 16:22:34 -05:00
parent bfce4208bf
commit 5a8b1d82e8
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ apiVersion: v1
kind: Service
metadata:
name: {{ .Values.service.name }}
annotations:
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
spec:
ports:
{{ if .Values.network.kubernetes_apiserver.enable_node_port }}