Joseph Walton
fb61854bd2
Set a static Retry-After when evicting a pod is not allowed.
...
Follow the original TODO from back in c86b84c
with the errors added
in d3be1ac
. Edit the TODO to make clear that a dynamic response would
still be ideal.
Dramatically reduce the time based on suggestion in PR, and remove name from TODO
as not currently active.
2021-01-11 23:23:35 +11:00
Maciej Borsz
b78f0b3106
Improve logging in cacheWatcher
2021-01-11 12:33:52 +01:00
Kubernetes Prow Robot
465e4172d4
Merge pull request #97416 from pandaamanda/changelog1.20
...
CHANGELOG: Fix typo for release-note in 1.20
2021-01-11 03:33:07 -08:00
chymy
dc0433e03f
Fix typo of changelog-1.20
...
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-01-11 19:28:16 +08:00
he.qingguo
05bad7a25c
changeLog-Fixtypo
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2021-01-11 18:45:02 +08:00
Laurent Bernaille
15439148da
Do not set sysctlRouteLocalnet (CVE-2020-8558)
...
Signed-off-by: Laurent Bernaille <laurent.bernaille@datadoghq.com>
2021-01-11 11:41:32 +01:00
Kubernetes Prow Robot
c66576b212
Merge pull request #97711 from heqg/chgs-occuring
...
Change log:Fix Spelling error about [occuring]
2021-01-11 01:49:09 -08:00
Kubernetes Prow Robot
930cd9cf9d
Merge pull request #97518 from heqg/chgs
...
CHANGELOG: add a hyperlink to issue 86282
2021-01-11 00:51:06 -08:00
adamzhoul
314a9c4a62
fix replyChan block
2021-01-11 08:36:27 +00:00
Ling Samuel
a1f8dc41ef
make labels.NewRequirement returns aggregated field.ErrorList, make nodeaffinity parsing function use it
...
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-01-11 16:23:53 +08:00
jornshen
5af5a2ac7d
migrate proxy.UpdateServiceMap to be a method of ServiceMap
2021-01-11 11:07:30 +08:00
Kubernetes Prow Robot
bb376f1616
Merge pull request #96492 from ramnar/master
...
remove generator dependency in create service account
2021-01-10 14:57:05 -08:00
Chok Yip Lau
bd4bf6a28e
Moving kubectl logs Long command into variable
2021-01-10 14:57:56 -05:00
Zhou Peng
894ac9b899
[k8s.io/apimachinery/pkg/test]: cleanup commented code
...
The commented code has no help to make reader more comprehensiable, it was just
a legacy copy paste.
Signed-off-by: Zhou Peng <p@ctriple.cn>
2021-01-10 23:17:31 +08:00
Kubernetes Prow Robot
94b082550e
Merge pull request #96887 from sttts/sttts-unexpected-error-string
...
apiserver: print unknown responsewriter error strings, not only %#+v
2021-01-09 19:25:05 -08:00
Kubernetes Prow Robot
943af78753
Merge pull request #97873 from heqg/typo-BoostrapToken
...
Fix typo of BoostrapToken in kubeadmin-type.go]
2021-01-09 15:39:05 -08:00
Justin SB
8797738c02
Fix spelling typos: scheduable -> schedulable
...
Bulk fix of a common typo.
2021-01-09 12:59:33 -05:00
Kubernetes Prow Robot
e1f84d52b7
Merge pull request #97879 from justinsb/e2e_multi_node_control_plane
...
e2e: recognize multi-node control planes
2021-01-09 07:13:05 -08:00
Justin Santa Barbara
33055a8b6b
e2e: recognize multi-node control planes
...
We were treating multiple nodes as a failure; instead we can return all
the node (internal) IPs we find.
2021-01-09 09:18:29 -05:00
Justin Santa Barbara
ae26042e1a
e2e: split test into kubeup & generic tests
...
The "should have correct firewall rules for e2e cluster" test is GCE
specific, and likely specific to the kube-up configuration.
However, the second half of the test is a generic behaviour based test
that verifies that ports are not reachable.
We can split this into two tests, with an eye to running the generic
test in more places.
2021-01-09 09:15:47 -05:00
he.qingguo
fe499b5960
Fix typo of invalide in claims.go]
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2021-01-09 16:41:45 +08:00
he.qingguo
6f1c8de85c
Fix typo of BoostrapToken in kubeadmin-type.go]
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2021-01-09 16:16:29 +08:00
Kubernetes Prow Robot
67541a1bcc
Merge pull request #96393 from thockin/rest-hooks
...
Add BeginCreate and BeginUpdate REST hooks
2021-01-08 20:57:05 -08:00
Kubernetes Prow Robot
be839a4365
Merge pull request #97177 from pacoxu/cleanup/docker-20.10
...
cleanup: legacy 'ENV name value' syntax deprecated(Docker 20.10)
2021-01-08 20:01:04 -08:00
Michael Taufen
9f9e235b9d
Mount /var/lib/kubelet/pki on tmpfs
...
This helps avoid some rare instances of corrupt cert files
that cause Kubelet to crash-loop after node reboots, e.g.
if Kubelet opens the file during the shutdown but is unable
to write it.
2021-01-08 18:04:35 -08:00
Kubernetes Prow Robot
06482704e6
Merge pull request #97816 from jayunit100/fix_node_selector_hostmaps
...
Fix node selector hostmaps
2021-01-08 16:57:06 -08:00
Kubernetes Prow Robot
d9a26fb69b
Merge pull request #97860 from MikeSpreitzer/rejigger-quantize-4
...
move all variables in sampleAndWaterMarkHistograms::innerSet
2021-01-08 15:39:24 -08:00
Kubernetes Prow Robot
4de1607f5e
Merge pull request #97494 from chymy/changelog-anchor
...
CHANGELOG-1.20: fix anchor point err
2021-01-08 15:39:18 -08:00
Kubernetes Prow Robot
781eb03b89
Merge pull request #96792 from aojea/promotev6image
...
e2e test regression image multiarch
2021-01-08 15:39:05 -08:00
Ernest Wong
747eec42fe
pause: encode Windows OS version in image tag instead of repository
...
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-01-08 18:02:28 -05:00
Kubernetes Prow Robot
8b5aeeedb4
Merge pull request #97742 from benhxy/apiserver-cipher
...
Configure --tls-cipher-suites on kube-apiserver
2021-01-08 13:44:29 -08:00
Ben Hu
d4e75baae1
Fix comment on comment
2021-01-08 20:24:59 +00:00
Aldo Culquicondor
14a5b5c859
Add test for ValidateJobUpdate
...
Change-Id: If194f941919e2f4256001030a96101b6c91c4d08
2021-01-08 15:20:08 -05:00
jayunit100
13b0a3e4f2
volumes tests - adding support for windows labels
2021-01-08 11:53:53 -08:00
Haowei Cai
83b30bc92f
generated
2021-01-08 11:39:41 -08:00
Haowei Cai
be172d6900
add rbac role for storage version GC
2021-01-08 11:39:08 -08:00
Aldo Culquicondor
0309b8ac9b
Use t.Run in Job validation tests
...
Change-Id: I0bc69c59b5ccfc9bb323295fed3478341f7a7b21
2021-01-08 14:29:27 -05:00
Kubernetes Prow Robot
2b8cac754c
Merge pull request #96754 from tkashem/fix-etcd-metric
...
Reduce number of buckets for etcd_request_duration_seconds metric
2021-01-08 11:24:29 -08:00
Tim Hockin
37b34f5b53
Use typedefs for Begin* functions
...
David asked for this for readability, even if not all other hooks do it.
2021-01-08 11:08:12 -08:00
Tim Hockin
25da6a0660
Change AfterCreate/Update to take Options
...
Also adds typedefs for these function signatures for code clarity.
2021-01-08 11:08:12 -08:00
Tim Hockin
9402f48e05
Change AfterDelete to take DeleteOptions
...
All of the After* hooks are called, whether the operation is dry-run or
not. Create and Upate both have BeginCreate() hooks which know about
dry-run but delete doesn't, and can't (because of graceful deletion and
finalizers, the Delete() method may return and the object is actually
deleted later).
This adds an argument to AfterDelete(), and the others will follow.
This commit also adds tests for AfterDelete being called in the right
places.
2021-01-08 11:08:08 -08:00
Tim Hockin
bb79475a86
Remove ObjectFunc
2021-01-08 11:00:39 -08:00
Tim Hockin
625713008d
Make REST Decorator funcs not return error
2021-01-08 11:00:39 -08:00
Tim Hockin
64491be328
Make REST After* funcs not return error
2021-01-08 11:00:39 -08:00
Tim Hockin
67c9761623
Add BeginCreate and BeginUpdate REST hooks
...
These hooks return a "cleanup" func which is called when the top-level
operation completes, with an indicator of which result.
This is to enable much simpler handling of allocations in Service's REST
implementation, in particular.
Some discussion in https://github.com/kubernetes/kubernetes/pull/95967
This also adds tests for the almost totally untested Decorator,
AfterCreate, and AfterUpdate hooks.
2021-01-08 11:00:12 -08:00
Aldo Culquicondor
568b71151e
Test enabled and disabled gates for Job strategy
...
Change-Id: Ie93c9019e7d67573573b8d4b53ae32ab8fb22d39
2021-01-08 13:57:09 -05:00
Kubernetes Prow Robot
cfc96c7db7
Merge pull request #97820 from tkashem/webhook-error
...
prevent panic on webhook authenticator and authorizer timeout before response
2021-01-08 10:34:41 -08:00
Kubernetes Prow Robot
04e3106b1e
Merge pull request #97809 from jayunit100/fix_node_port_windows
...
Fix node port tests windows nodeSelector metadata
2021-01-08 10:34:29 -08:00
Mike Spreitzer
611184aa59
move all variables in sampleAndWaterMarkHistograms::innerSet
...
to tiptoe around https://github.com/golang/go/issues/43570 for #97685
2021-01-08 13:32:38 -05:00
Jordan Liggitt
ecbff22ca1
Track opened connections with a single tracker per authenticator
2021-01-08 13:21:09 -05:00