Elana Hashman
f3073b739f
Add explanation for kubeClient != nil in NewMainKubelet
2021-01-11 14:57:38 -08:00
JieJhih Jhang
f1829a7744
fix golint in volume fs
2021-01-12 06:35:52 +08:00
Andrew Sy Kim
a11abb5475
kube-proxy: ipvs proxy should ignore endpoints with condition ready=false
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-01-11 16:27:38 -05:00
Andrew Sy Kim
9c096292cc
kube-proxy: iptables proxy should ignore endpoints with condition ready=false
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-01-11 16:27:38 -05:00
Andrew Sy Kim
1acdfb4e7c
kube-proxyy: update winkernel proxier to read 'ready', 'serving' and 'terminating' conditions
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-01-11 16:17:58 -05:00
Andrew Sy Kim
a7333e1a3e
kube-proxy: add endpointslice cache unit tests for terminating endpoints
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-01-11 16:17:58 -05:00
Andrew Sy Kim
e5f9b80023
kube-proxy: health check server should only check ready endpoints
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-01-11 16:17:58 -05:00
Andrew Sy Kim
55cb453a3c
kube-proxy: update internal endpoints map with 'serving' and 'terminating' condition from EndpointSlice
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-01-11 16:17:58 -05:00
Jordan Liggitt
25ba5c5480
Use gluster client filter
2021-01-11 11:55:38 -05:00
Kubernetes Prow Robot
94a623a45a
Merge pull request #90299 from josephw/send-static-retry-after-when-hitting-pod-disruption-budget
...
Set a static Retry-After when evicting a pod is not allowed.
2021-01-11 07:19:07 -08:00
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
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
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
ialidzhikov
e1e7c39b47
Remove unnecessary type conversion
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com >
2021-01-09 22:43:29 +02:00
Justin SB
8797738c02
Fix spelling typos: scheduable -> schedulable
...
Bulk fix of a common typo.
2021-01-09 12:59:33 -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
Aldo Culquicondor
14a5b5c859
Add test for ValidateJobUpdate
...
Change-Id: If194f941919e2f4256001030a96101b6c91c4d08
2021-01-08 15:20:08 -05:00
Aldo Culquicondor
0309b8ac9b
Use t.Run in Job validation tests
...
Change-Id: I0bc69c59b5ccfc9bb323295fed3478341f7a7b21
2021-01-08 14:29:27 -05:00
Tim Hockin
625713008d
Make REST Decorator funcs not return error
2021-01-08 11:00:39 -08:00
Aldo Culquicondor
568b71151e
Test enabled and disabled gates for Job strategy
...
Change-Id: Ie93c9019e7d67573573b8d4b53ae32ab8fb22d39
2021-01-08 13:57:09 -05:00
lyzs90
7b3322f677
Pull hollow node images from real nodes
2021-01-09 00:12:56 +08:00
Kubernetes Prow Robot
5150d2f839
Merge pull request #97716 from chengzhycn/syncEndpoint-error-return
...
proxy/ipvs: return non-nil error when there is no matched IPVS servic…
2021-01-07 12:44:54 -08:00
Kubernetes Prow Robot
466e2e3751
Merge pull request #97678 from JornShen/proxier_iptables_structured_logging
...
migrate proxy/iptables/proxier.go logs to structured logging
2021-01-07 11:51:05 -08:00
Kubernetes Prow Robot
7602472a52
Merge pull request #97652 from gavinfish/benchmark-rbac
...
ApiServer: Add benchmark for ensureRBACPolicy
2021-01-07 10:57:05 -08:00
Kubernetes Prow Robot
5a6f9ed550
Merge pull request #97721 from aojea/slicelog
...
fix slice controller logging for services ipfamily
2021-01-07 09:34:40 -08:00
Kubernetes Prow Robot
f9c7c59e25
Merge pull request #97451 from pacoxu/fix/cluster-ip-quota
...
bugfix: nodeport quota check failure result into failing to create a clusterip service
2021-01-07 06:41:45 -08:00
Kubernetes Prow Robot
04b6b7c12b
Merge pull request #97787 from heqg/expect-policy_static_test
...
fix typo of [expect] in pkg/kubelet/../policy_static_test.go
2021-01-07 00:53:45 -08:00
Kubernetes Prow Robot
c5cc25d1cb
Merge pull request #97615 from wojtek-t/immutable_secrets_ga
...
Promote Immutable Secrets/ConfigMaps to Stable
2021-01-07 00:03:45 -08:00
he.qingguo
b72da953be
fix typo of [expect] in pkg/controller/../scheduler_binder.go
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn >
2021-01-07 12:23:14 +08:00
he.qingguo
d9368f53ad
fix typo of [expect] in pkg/kubelet/../policy_static_test.go
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn >
2021-01-07 12:20:03 +08:00
chengzhycn
c6c74f2a5d
proxy/ipvs: return non-nil error when there is no matched IPVS service in syncEndpoint
...
Signed-off-by: chengzhycn <chengzhycn@gmail.com >
2021-01-07 10:49:04 +08:00
jornshen
07990e44bf
migrate proxy/iptables/proxier.go logs to structured logging
2021-01-07 10:48:01 +08:00
Chris Henzie
736b7e15b7
Remove duplicate test CSI plugin constructor logic
2021-01-06 16:32:41 -08:00
Chris Henzie
359b9e3383
Ensure CSI test plugin informers are synced before returning
...
This way of syncing informers ensures all informers generated from these
factories are synced. Informers are lazy loaded, and only created once a
user calls .Informer() (which was why the .PollImmediate() worked).
Asserting the number of synced types to ensure everything is set up
correctly.
2021-01-06 16:11:50 -08:00
Chris Henzie
257704b30d
Remove setupInformer argument from test CSI plugin constructor
2021-01-06 16:11:50 -08:00
Chris Henzie
70eddfefec
Ensure goroutines exit in CSI attacher tests
...
The reason for adding an expectedVolumeHost field is to prevent a
channel read from hanging when a test fails prior to creating the
VolumeAttachment watch.
2021-01-06 16:11:50 -08:00
Chris Henzie
f098ada9d1
Extract watch reactor out of test CSI plugin constructor
2021-01-06 16:11:50 -08:00
Chris Henzie
195a5af23b
Make volume attachment watch timeout configurable for csiAttacher
2021-01-06 16:11:39 -08:00
Chris Henzie
b4e3f272b9
Remove unused waitSleepTime field in csiAttacher
2021-01-06 15:45:56 -08:00
Kubernetes Prow Robot
81b13a912c
Merge pull request #97314 from abowloflrf/patch-1
...
fix typo in dns.go
2021-01-06 15:21:45 -08:00
pacoxu
15867d9e8a
bugfix: check Spec.AllocateLoadBalancerNodePorts for nodeport and skip zero usage in delta evaluator
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
When Spec.AllocateLoadBalancerNodePorts is "false" NodePort shall
not be included when computing quota for type:LoadBalancer.
Co-authored-by: uablrek
2021-01-07 07:11:22 +08:00
Kubernetes Prow Robot
e456b45a2a
Merge pull request #97749 from heqg/errorf-wrap
...
The code in TestNonePolicyName does not need to wrap, so fix it.
2021-01-06 12:02:04 -08:00
Claudiu Belu
82a9fb9d0e
subatomic: Creates the symlinks to user-visible files later
...
When creating a symlink on Windows, if the target does not exist, the created
file is just a regular "symlink" file. But, if the target ultimately ends up being
a folder, then that symlink file is not valid, it must be a "symlinkd" in order to function
properly. Because the symlink file is not valid, the pods having that volume will fail to start.
Creating the user-visible files after the timestamped and data folders have been created
addresses this issue.
2021-01-06 04:10:28 -08:00
Kubernetes Prow Robot
39483aa095
Merge pull request #96889 from jsafrane/fix-kubelet-symlink
...
Fix loopback device lookup
2021-01-05 20:57:51 -08:00
he.qingguo
8826d12bb0
The code in TestNonePolicyName does not need to wrap, so fix it.
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn >
2021-01-06 10:48:30 +08:00
he.qingguo
8249cd611d
Fix variable 'state' collides with imported package name
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn >
2021-01-06 10:31:47 +08:00
lixiaobing1
b5487d823c
modify hostname of ErrReason
2021-01-06 09:25:25 +08:00
Kubernetes Prow Robot
b39494ce35
Merge pull request #97374 from geegeea/golint
...
Fix golint issues in pkg/kubelet/types
2021-01-05 17:10:03 -08:00
Kubernetes Prow Robot
10c1c3acf6
Merge pull request #96906 from Rajalakshmi-Girish/issue-96853
...
Fixes the unit tests to be more tolerant with error messages
2021-01-05 17:09:51 -08:00