Compare commits

..

5 Commits

Author SHA1 Message Date
Kubernetes Publisher
5454dbb242 Update dependencies to v0.19.13-rc.0 tag 2021-06-17 22:13:46 +00:00
Kubernetes Publisher
16f4fb3dbb Merge pull request #102588 from saschagrunert/release-1.19
Revert "Cleanup portforward streams after their usage" [1.19]

Kubernetes-commit: f1bbe359f4ee98a54412ff1f80f9ae3537a5e28c
2021-06-04 20:02:37 +00:00
Sascha Grunert
402f834d7a Revert "Cleanup portforward streams after their usage"
This reverts commit a1ee076d5f4a3965afe43d0bc23096dfdc170448.

A regression has been introduced with this patch. The strategy is to
apply the fix on master and revert on the release branches.

Kubernetes-commit: 21900bc5f5c64850507b18e9fe9533019116f0c3
2021-06-04 08:57:28 +02:00
Kubernetes Publisher
ca39f0ea1d Merge pull request #100953 from saschagrunert/automated-cherry-pick-of-#99839-upstream-release-1.19
Automated cherry pick of #99839: Cleanup portforward streams after their usage

Kubernetes-commit: cc22cfabdfdeb5574fcd5310515a2986a2394cdf
2021-05-18 10:50:29 +00:00
Sascha Grunert
6dc9fe450c 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: a1ee076d5f4a3965afe43d0bc23096dfdc170448
2021-03-05 13:39:04 +01:00
3 changed files with 10 additions and 9 deletions

4
Godeps/Godeps.json generated
View File

@@ -444,11 +444,11 @@
},
{
"ImportPath": "k8s.io/api",
"Rev": "v0.19.11-rc.0"
"Rev": "60680b5087d3"
},
{
"ImportPath": "k8s.io/apimachinery",
"Rev": "v0.19.11-rc.0"
"Rev": "7556458a5d8e"
},
{
"ImportPath": "k8s.io/gengo",

8
go.mod
View File

@@ -26,14 +26,14 @@ require (
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b
golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6
golang.org/x/time v0.0.0-20191024005414-555d28b269f0
k8s.io/api v0.19.11-rc.0
k8s.io/apimachinery v0.19.11-rc.0
k8s.io/api v0.19.13-rc.0
k8s.io/apimachinery v0.19.13-rc.0
k8s.io/klog/v2 v2.2.0
k8s.io/utils v0.0.0-20200729134348-d5654de09c73
sigs.k8s.io/yaml v1.2.0
)
replace (
k8s.io/api => k8s.io/api v0.19.11-rc.0
k8s.io/apimachinery => k8s.io/apimachinery v0.19.11-rc.0
k8s.io/api => k8s.io/api v0.19.13-rc.0
k8s.io/apimachinery => k8s.io/apimachinery v0.19.13-rc.0
)

7
go.sum
View File

@@ -274,7 +274,6 @@ golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roY
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
@@ -335,8 +334,10 @@ honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWh
honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
k8s.io/api v0.19.11-rc.0/go.mod h1:AcNRJ3QCT6ZCzoY9maPrNEBeY36GfkcySsideyml+Sw=
k8s.io/apimachinery v0.19.11-rc.0/go.mod h1:9eb44nUQSsz9QZiilFRuMj3ZbTmoWolU8S2gnXoRMjo=
k8s.io/api v0.19.13-rc.0 h1:01AMncaTljY5nHE7rn2XuLM+0Y7+KUG/UDPe3b/+WNk=
k8s.io/api v0.19.13-rc.0/go.mod h1:MRQfP/7NsumdnNSOs+4rzjmAxi1gVBBfie1vr7nK1po=
k8s.io/apimachinery v0.19.13-rc.0 h1:d/xMK8Sw+N/5tCvi7yQO0zkogiILE9q5JK6tS6Q+2iM=
k8s.io/apimachinery v0.19.13-rc.0/go.mod h1:9eb44nUQSsz9QZiilFRuMj3ZbTmoWolU8S2gnXoRMjo=
k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
k8s.io/klog/v2 v2.2.0 h1:XRvcwJozkgZ1UQJmfMGpvRthQHOvihEhYtDfAaxMz/A=