Commit Graph

40372 Commits

Author SHA1 Message Date
Patrik Cyvoct
d29665cc17 Revert "Merge pull request #92312 from Sh4d1/kep_1860"
This reverts commit ef16faf409, reversing
changes made to 2343b8a68b.
2020-11-11 10:26:53 +01:00
Kubernetes Prow Robot
0923b9abce Merge pull request #95206 from misterikkit/quobyte-update
storage: Use FilteredDialContext in quobyte client
2020-11-10 21:44:30 -08:00
Kubernetes Prow Robot
a27a357ba1 Merge pull request #86102 from derekwaynecarr/downward-api
Add support for hugepages in downward API
2020-11-10 21:43:57 -08:00
Kubernetes Prow Robot
87ed842fa3 Merge pull request #96127 from fonsecas72/header-accept-encoding
HTTP Probe: Removes Accept-Encoding header from http probe
2020-11-10 19:49:48 -08:00
lixiaobing1
2cba0a02f7 fix note delete to update according to code 2020-11-11 09:50:47 +08:00
Kubernetes Prow Robot
c22e2246ca Merge pull request #95521 from masap/fix_si
kube-eviction: Fix SI of process quantity
2020-11-10 17:47:56 -08:00
Kubernetes Prow Robot
f102cc887e Merge pull request #95895 from roycaihw/apiserver-lease-gc
Apiserver lease garbage collector
2020-11-10 16:46:41 -08:00
Haowei Cai
e363709d73 add V(4) log when apiserver lease was deleted before this controller reacts 2020-11-10 15:32:16 -08:00
Haowei Cai
bfebc7aefd generated 2020-11-10 15:32:16 -08:00
Haowei Cai
1d43fd4694 add apiserver lease garbage collector 2020-11-10 15:12:14 -08:00
Kubernetes Prow Robot
38f5dc8e7b Merge pull request #96248 from qingsenLi/201105-IPVSProxyMode
Remove Const IPVSProxyMode
2020-11-10 13:41:28 -08:00
Derek Carr
45bd6cb186 Downward API hugepages 2020-11-10 16:09:13 -05:00
Kubernetes Prow Robot
6068f12e90 Merge pull request #96376 from gnufied/fsgroup-change-policy-beta
Move fsGroupChangePolicy feature to beta
2020-11-10 12:43:45 -08:00
Kubernetes Prow Robot
40ef0ad6e9 Merge pull request #95002 from p0lyn0mial/upstream-supress-err-conn-killed
stop logging killing connection/stream because serving request timed out and response had been started
2020-11-10 12:37:51 -08:00
Kubernetes Prow Robot
02528ce91a Merge pull request #96247 from saikat-royc/iss-95590
e2e test for PodFsGroupChangePolicy feature
2020-11-10 11:45:03 -08:00
Jonathan Basseri
dfe6ea6df6 Use FilteredDialContext with quobyte API
This injects the filtered DialContext behavior from VolumeHost into the
quobyte plugin, which allows us to configure a host deny list for the
plugin.

There should be no change in timeouts, because we are able to use the
same default transport settings as before.
2020-11-10 11:21:04 -08:00
Kubernetes Prow Robot
2b8f43bf15 Merge pull request #96071 from Huang-Wei/phantom-sched-update-evt
Ignore some update Pod events in scheduler
2020-11-10 10:55:17 -08:00
Kubernetes Prow Robot
f458996af1 Merge pull request #95770 from jingxu97/oct/readyfile
Remove ready directory which created in empty volumeMounter setUp func
2020-11-10 10:54:40 -08:00
Maciej Borsz
4d81f7e129 Improve observability of node authorizer:
* Adding some metrics to the graph
* Adding log message when node authorizer has synced

Change-Id: I3447d6bc389a0b82ded1db2a7a4ae41d79486c2b
2020-11-10 08:40:46 +01:00
Jing Xu
a4aa494cc1 Remove ready directory which created in empty volumeMounter setUp func
Change-Id: I2384b07c7a044149e93e951a45f9f8a7bd9dba15
2020-11-09 23:12:21 -08:00
Kubernetes Prow Robot
347e4e9e22 Merge pull request #96205 from qingsenLi/k8s201104-ga
Remove TaintBasedEvictions Feature Gate
2020-11-09 20:56:40 -08:00
Wei Huang
6e0fb9ad7f Ignore specific Pod update events in scheduler 2020-11-09 20:35:01 -08:00
Hemant Kumar
006020b71e Move fsGroupChangePolicy feature to beta 2020-11-09 21:49:11 -05:00
Kubernetes Prow Robot
6e95025994 Merge pull request #92165 from RenaudWasTaken/v1-pod-resources
Graduate the Pod Resources API to G.A
2020-11-09 18:24:41 -08:00
Kubernetes Prow Robot
4261200724 Merge pull request #93873 from roycaihw/storage-version/handler
Apiserver updates storageversions API and filters certain write requests during bootstrap
2020-11-09 17:30:41 -08:00
Kubernetes Prow Robot
734889ed82 Merge pull request #96224 from gnufied/add-dangling-error-vsphere
Add dangling volume check for vsphere
2020-11-09 16:09:09 -08:00
Kubernetes Prow Robot
fe37798329 Merge pull request #94115 from andrewsykim/fix-dockershim-exec
kubelet: respect exec probe timeouts
2020-11-09 16:08:55 -08:00
Kubernetes Prow Robot
2b4be7bb5f Merge pull request #88759 from andyzhangx/csi-dir-fix
feat: ignore mount dir check in csi node stage/publish
2020-11-09 16:08:40 -08:00
Haowei Cai
23f77ce7c6 fixup! apiserver correctly validates encoding/decodable versions 2020-11-09 15:23:13 -08:00
Kubernetes Prow Robot
e5194dd936 Merge pull request #96202 from alculquicondor/default-node-affinity
Add AddedAffinity to NodeAffinity Filter and Score plugin
2020-11-09 15:14:55 -08:00
Hugo Fonseca
ba514718da HTTP Prove: Removes Accept-Encoding header from http probe
The Accept-Encoding header is added by default because compression is enabled by default. By removing it we are reducing the sent payload.
2020-11-09 22:20:56 +00:00
Saikat Roychowdhury
23207436cd Enable ConfigurableFSGroupPolicy feature gate 2020-11-09 21:06:48 +00:00
Kubernetes Prow Robot
f15e9f6fce Merge pull request #96245 from tengqm/kubelet-validate-msg
Use user facing field names in validation message
2020-11-09 12:48:55 -08:00
Kubernetes Prow Robot
dd6b511d87 Merge pull request #95087 from thinpark/remove.deadcode
[pkg/watch/json]: remove dead code
2020-11-09 12:48:27 -08:00
Hemant Kumar
6c4c5ab691 Add dangling volume check for vsphere 2020-11-09 15:39:17 -05:00
Aldo Culquicondor
3ce145787a Add AddedAffinity to the NodeAffinityArgs
And use it in Filter and Score.

Change-Id: I173d8f2d5578762e9873181d5b44ea30b6dbbbc2
2020-11-09 15:19:15 -05:00
Tim Allclair
a439bc5572 Remove --redirect-container-streaming functionality (#95935)
* Remove --redirect-container-streaming functionality

* Update bazel
2020-11-09 11:50:11 -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