Adds v1.Service.PublishUnreadyAddresses and deprecates service.alpha.kubernetes.io/tolerate-unready-endpoints

This commit is contained in:
Kenneth Owens
2017-08-09 15:17:56 -07:00
parent fdc65025ee
commit 509af53cbd
3 changed files with 26 additions and 0 deletions

View File

@@ -63,6 +63,8 @@ const (
// receiving traffic for the Service from the moment the kubelet starts all
// containers in the pod and marks it "Running", till the kubelet stops all
// containers and deletes the pod from the apiserver.
// This field is deprecated. v1.Service.PublishNotReadyAddresses will replace it
// subsequent releases.
TolerateUnreadyEndpointsAnnotation = "service.alpha.kubernetes.io/tolerate-unready-endpoints"
)