commit | c4224833ec92049b94d1274f9465d9b4890384a7 | [log] [tgz] |
---|---|---|
author | Sascha Grunert <sgrunert@redhat.com> | Fri Mar 05 12:39:04 2021 |
committer | Kubernetes Publisher <k8s-publishing-bot@users.noreply.github.com> | Fri Mar 05 12:39:04 2021 |
tree | 2dd6dfb0de58de6e9967a9926410fef4d09f8232 | |
parent | be0c81341c371b6d3464d2ef6a8ffdf2b3fa5c89 [diff] |
Cleanup portforward streams after their usage This implements a stream cleanup when using portforwardings. Before applying this patch, the streams []httpstream.Stream within `spdy/connection.go` would fill-up for each streaming request. This could result in heavy memory usage. Now we use the stream identifier to keep track of them and finally remove them again once they're no longer needed. Signed-off-by: Sascha Grunert <sgrunert@redhat.com> Kubernetes-commit: b14bd44f33d93e1ee64c1d68fa7591d79eac5893
Scheme, typing, encoding, decoding, and conversion packages for Kubernetes and Kubernetes-like API objects.
This library is a shared dependency for servers and clients to work with Kubernetes API infrastructure without direct type dependencies. Its first consumers are k8s.io/kubernetes
, k8s.io/client-go
, and k8s.io/apiserver
.
There are NO compatibility guarantees for this repository. It is in direct support of Kubernetes, so branches will track Kubernetes and be compatible with that repo. As we more cleanly separate the layers, we will review the compatibility guarantee.
apimachinery
is synced from https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery. Code changes are made in that location, merged into k8s.io/kubernetes
and later synced here.
pkg
in this repo. Those are driven from k8s.io/kubernetes/staging/src/k8s.io/apimachinery
.