Tim Allclair
a439bc5572
Remove --redirect-container-streaming functionality ( #95935 )
...
* Remove --redirect-container-streaming functionality
* Update bazel
2020-11-09 11:50:11 -08:00
Rob Scott
b044fadf66
Graduating AppProtocol to GA
2020-11-09 11:08:19 -08:00
Kubernetes Prow Robot
55f95bc893
Merge pull request #96323 from msscaroso/fix-lint-runtime-serializer-json
...
Fix go lint on folder apimachinery/pkg/runtime/serializer/json
2020-11-09 10:32:27 -08:00
Jan Safranek
6060c57ba3
Call MountDevice only once
...
Cann MountDevice only when the volume was not device-mounted before.
2020-11-09 19:22:29 +01:00
Jan Safranek
b3b53cbf63
Mark MountDevice as uncertain after failed resize
...
When NodeExpand fails between MountDevice and SetUp, make sure the next
NodeExpand attempt is called before SetUp.
2020-11-09 19:22:29 +01:00
Jan Safranek
9a765f8c2d
Restore staging path creation
...
CSI says about NodeStage (=MountDevice):
// The CO SHALL ensure [...]
// that the path is directory and that the process serving the
// request has `read` and `write` permission to that directory. The
// CO SHALL be responsible for creating the directory if it does not
// exist.
2020-11-09 19:22:29 +01:00
Jan Safranek
55ffd9d5fc
Add unit test for staging path creation
2020-11-09 19:22:25 +01:00
Andrew Sy Kim
af40d18b67
kubelet: move pkg/kubelet/cri/.import-restrictions to pkg/kubelet/cri/streaming
...
Based on the comments in this file, it seems like these import
restrictions were originally meant for the kubelet CRI streaming
package. This commit moves the import restrictions to
pkg/kubelet/cri/streaming so that pkg/kubelet/cri can import internal
packages like pkg/probe/exec
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-11-09 13:05:09 -05:00
Andrew Sy Kim
4bb30c3b0e
kubelet: add feature gate check for exec probe timeouts
...
This change also involves adding a custom error type for probe timeouts
so that the kubelet exec prober can distinguish between failed probes
that have exited or probes that have timed out.
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-11-09 13:05:09 -05:00
Andrew Sy Kim
0b6ef21233
features: add ExecProbeTimeout feature gate
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-11-09 13:05:08 -05:00
Andrew Sy Kim
8ef299552b
kubelet: allow dockershim exec timeouts to be longer than 10s
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-11-09 13:03:28 -05:00
Andrew Sy Kim
2887e707f8
kubelet: respect probe exec timeout from CRI by returning utilexec.CodeExitError
...
This fixes a bug where the exec timeouts are not respected with
containerd
Exec prober expects a utilexec.CodeExitError on failed probes, otherwise
the prober returns 'Unknown' and a non-nil error which the kubelet throws
away. As a temporary fix, ExecSync as part of the CRI remote runtime
should return utilexec.CodeExitError when the grpc error code is
DeadlineContextExceeded. This ensure the exec prober registers exec
timeouts as real probe failures to the kubelet. We should also add a
TimededError type to k8s.io/utils/exec since it doesn't really make
sense to use CodeExitError for exec time outs.
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-11-09 13:03:28 -05:00
Andrew Sy Kim
1dc5fb0190
kubelet: respect dockershim exec timeout
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-11-09 13:03:28 -05:00
Lukasz Szaszkiewicz
057986e32c
stops puting a stacktrace of aborted requests in the logs
...
Aborted requests are the ones that were disrupted with http.ErrAbortHandler.
For example, the timeout handler will panic with http.ErrAbortHandler when a response to the client has been already sent
and the timeout elapsed.
Additionally, a new metric requestAbortsTotal was defined to count aborted requests. The new metric allows for aggregation for each group, version, verb, resource, subresource and scope.
2020-11-09 09:23:40 +01:00
Kubernetes Prow Robot
ef16faf409
Merge pull request #92312 from Sh4d1/kep_1860
...
Make Kubernetes aware of the LoadBalancer behaviour
2020-11-08 23:34:24 -08:00
Kubernetes Prow Robot
2343b8a68b
Merge pull request #95872 from 22dm/kube-proxy-comment-fix
...
Fix the kube-proxy document
2020-11-08 19:23:37 -08:00
Haowei Cai
7bcd25907a
apiserver correctly validates encoding/decodable versions
2020-11-08 18:53:40 -08:00
Chao Xu
22452917c2
make some rbac and scheduling post start hooks tolerate the apiserver
...
bootstrap delay caused by installing storage versions.
2020-11-08 18:53:40 -08:00
Andy Zhang
9056e3a86a
add andyzhangx as reviewer
2020-11-08 16:55:03 +08:00
Kubernetes Prow Robot
0e42122270
Merge pull request #96308 from andyzhangx/update-max-azuredisk-count
...
update max azure data disk count map
2020-11-07 02:33:38 -08:00
Patrik Cyvoct
20fc86df25
fix defaulting
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 10:00:59 +01:00
Patrik Cyvoct
0768b45e7b
add nil case in proxy
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 10:00:58 +01:00
Patrik Cyvoct
fea88f44a7
fix build
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 10:00:57 +01:00
Patrik Cyvoct
40dcef27c4
fix nit in validation
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 10:00:56 +01:00
Patrik Cyvoct
11b97e9ef8
fix tests
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 10:00:55 +01:00
Patrik Cyvoct
540901779c
fix reviews
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 10:00:53 +01:00
Patrik Cyvoct
af7494e896
Update generated
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 10:00:52 +01:00
Patrik Cyvoct
7bdf2af648
fix review
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 10:00:51 +01:00
Patrik Cyvoct
88330eafef
fix typo
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 10:00:50 +01:00
Patrik Cyvoct
7977e0ac44
add owner for feature gate
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 10:00:48 +01:00
Patrik Cyvoct
7460f9e00b
fix rebase
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 10:00:30 +01:00
Patrik Cyvoct
0153b96ab8
fix review
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 10:00:27 +01:00
Patrik Cyvoct
d562b6924a
Add tests
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 09:59:59 +01:00
Patrik Cyvoct
47ae7cbf52
Add route type field to loadbalancer status ingress
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io >
2020-11-07 09:59:58 +01:00
Kubernetes Prow Robot
9843ff244d
Merge pull request #96324 from SergeyKanzhelev/patch-1
...
Change the features removal note
2020-11-06 19:03:37 -08:00
Kubernetes Prow Robot
281866b35c
Merge pull request #95533 from roycaihw/apiserver-lease-controller
...
Add kube-apiserver lease controller
2020-11-06 18:09:37 -08:00
Marcio Caroso
4b8b9c92bf
Fix go lint on folder apimachinery/pkg/runtime/serializer/json
2020-11-06 20:45:27 -03:00
Sergey Kanzhelev
d049e9e4d3
Change the features removal note
2020-11-06 15:27:47 -08:00
Kubernetes Prow Robot
48a2bca893
Merge pull request #96251 from ravens/nodeport_udp_conntrack_fix
...
Correctly fix clearing conntrack entry on endpoint changes (nodeport)
2020-11-06 14:25:37 -08:00
Haowei Cai
39f8daf967
generated
2020-11-06 13:33:08 -08:00
Haowei Cai
3761a00e5b
add kube-apiserver-lease-controller poststart hook
2020-11-06 13:33:08 -08:00
Kubernetes Prow Robot
c97d9e96ae
Merge pull request #96141 from lingsamuel/rm-useless-if
...
Remove useless variable and if in kubelet.go
2020-11-06 11:29:03 -08:00
Kubernetes Prow Robot
d21815cb4e
Merge pull request #95569 from oomichi/remove-kubelet-util
...
Move dirExists() to kubelet_test
2020-11-06 11:28:51 -08:00
Kubernetes Prow Robot
d56783b140
Merge pull request #96165 from tangwz/remove_FrameworkFactory
...
scheduler: remove FrameworkFactory.
2020-11-06 10:36:50 -08:00
Kubernetes Prow Robot
e3185f2cc0
Merge pull request #94444 from derekwaynecarr/bound-tmpfs
...
Add support to size memory backed volumes
2020-11-06 09:03:06 -08:00
tangwz
3341023664
scheduler: remove FrameworkFactory.
2020-11-07 00:07:36 +08:00
Kubernetes Prow Robot
bf5382a53e
Merge pull request #96301 from lixiaobing1/removeNoteCacheSync
...
remove comment for cache sync because code was removed
2020-11-06 07:58:59 -08:00
Derek Carr
7eb37a7497
Add support to size memory backed volumes
2020-11-06 09:35:14 -05:00
Kubernetes Prow Robot
512b7b75a8
Merge pull request #96006 from serathius/datapolicy-volume
...
Add datapolicy tags to pkg/volume/
2020-11-06 06:22:50 -08:00
andyzhangx
72508c201c
update max azure data disk count map
2020-11-06 14:16:55 +00:00