diff --git a/pkg/apiserver/proxy.go b/pkg/apiserver/proxy.go index a8abe07826a..879a88819fb 100644 --- a/pkg/apiserver/proxy.go +++ b/pkg/apiserver/proxy.go @@ -25,6 +25,7 @@ import ( "net/url" "path" "strings" + "time" "github.com/GoogleCloudPlatform/kubernetes/pkg/api" "github.com/GoogleCloudPlatform/kubernetes/pkg/httplog" @@ -137,6 +138,7 @@ func (r *ProxyHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { proxyHost: req.URL.Host, proxyPathPrepend: path.Join(r.prefix, resourceName, id), } + proxy.FlushInterval = 200 * time.Millisecond proxy.ServeHTTP(w, newReq) }