Commit Graph

99662 Commits

Author SHA1 Message Date
tanjing2020
d0882e69e2 Fix the wrong judgment of oom_score_adj 2021-03-24 16:13:20 +08:00
Kubernetes Prow Robot
b11d0fbdd5
Merge pull request #100171 from chenyw1990/fixGlobalFlagChange
add normalize function to global FlagSet
2021-03-23 22:08:04 -07:00
Chok Yip Lau
12f8468fe0 Fixed describe ingress causing SEGFAULT 2021-03-23 23:55:56 -04:00
tanjing2020
d4465b995e Scheduler: skip updates of assumed pods 2021-03-24 10:01:22 +08:00
Wei Huang
b697cacf27
sched: dedupe logic of building kubeConfig 2021-03-23 17:15:45 -07:00
Kubernetes Prow Robot
ea07644522
Merge pull request #99926 from gjkim42/deflake-TestWatchFileChanged
kubelet_test: Deflake TestWatchFileChanged
2021-03-23 16:30:05 -07:00
Abu Kashem
a8ff821a19
refactor finishRequest 2021-03-23 19:21:41 -04:00
Abu Kashem
393a1f73fb
move FinishRequest to its own package 2021-03-23 19:21:33 -04:00
Kubernetes Prow Robot
e471fa419e
Merge pull request #100362 from CaoDonghui123/fixissues6
Fix a panic in "e2e.test --help"
2021-03-23 14:24:07 -07:00
Maciej Szulik
81d9606554
Prevent nil-pointer exception when constructing PrinterFlags 2021-03-23 20:42:35 +01:00
Kubernetes Prow Robot
16610bbb2f
Merge pull request #100472 from liggitt/endpoint-slice-v1beta1
Mark v1beta1 EndpointSlice deprecated in favor of v1
2021-03-23 12:09:48 -07:00
Kubernetes Prow Robot
42261726ed
Merge pull request #100254 from tkashem/apf-post-start-hook-handle-error
apf PostStartHook: handle error from PollImmediateUntil
2021-03-23 12:09:36 -07:00
Jan Safranek
408d67dcc5 Fix mounting partitions on NVMe devices 2021-03-23 19:01:47 +01:00
Hemant Kumar
0c9138a204 reduce volume length for vsphere volumes further 2021-03-23 13:43:51 -04:00
Kubernetes Prow Robot
bbb58fa085
Merge pull request #100465 from chrishenzie/nil-ptr-deref-in-logs
Fix nil ptr dereference in log line
2021-03-23 09:41:36 -07:00
Antonio Ojea
f05998f582 add aojea as sig-network approver 2021-03-23 17:08:21 +01:00
Kubernetes Prow Robot
be2eb33b96
Merge pull request #100438 from dims/fix-providerless-kubelet
Ensure providerless kubelet does not pull cloud providers
2021-03-23 07:49:37 -07:00
Kubernetes Prow Robot
375c9abfa2
Merge pull request #99873 from liggitt/etcd-compatibility
Add Etcd compatibility test
2021-03-23 05:27:36 -07:00
Lukasz Szaszkiewicz
c40a780f9b DynamicControllerClientBuilder: use already provided config when creating new clients
It is the caller's responsibility to remove sensitive information prior to creation.
This allows for potential extensions in the future.
For example, it preserves HTTP wrappers for custom behavior per request.
2021-03-23 11:32:53 +01:00
Lukasz Szaszkiewicz
fa118e23ec DynamicControllerClientBuilder: allows for plugging HTTP wrappers for custom behaviour
There might be cases in which callers want to preserve HTTP wrappers for custom behavior per request.
For example, there might be distributions that would like to add custom HTTP Headers for each HTTP request.
This PR allows for that.

It uses the Wrap method that adds a transport middleware function that will give the caller an opportunity to wrap the underlying http.RoundTripper prior to the first API call being made.
We cannot use WrapTransport because it simply overwrites RoundTrippers for the current config instead of appending to already existing ones.
2021-03-23 11:29:07 +01:00
houjun
d9939a34d9 Missing return on error 2021-03-23 17:21:07 +08:00
Kubernetes Prow Robot
07fe165442
Merge pull request #100417 from ibabou/fix-containerd-check
Fix the containerd service check to register it
2021-03-23 01:13:35 -07:00
Dave Chen
a0d93cc0c8 Move NodeResourcesFit plugin args validation to apis/config/validation
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-03-23 16:09:53 +08:00
caiweidong
850759ec87 Preempting: do not delete the victim if it just exits in WaitingPods 2021-03-23 14:37:36 +08:00
Kubernetes Prow Robot
ae6ceaa78d
Merge pull request #95783 from roycaihw/flake/wait-for-webhook-registration
webhook config manager: HasSynced returns true when the manager is synced with existing webhookconfig objects at startup
2021-03-22 21:47:36 -07:00
Jordan Liggitt
99dc24ec37 Mark v1beta1 EndpointSlice deprecated in favor of v1 2021-03-22 23:58:28 -04:00
Jiahao Huang
4621722888 Change go file mode from 755 to 644
to check all file:
find . -perm 755 | grep "\.go$"
2021-03-23 10:50:17 +08:00
Kubernetes Prow Robot
1822523afb
Merge pull request #100345 from ravisantoshgudimetla/fix-ds-test
Tighten DS rollout catching function
2021-03-22 18:51:35 -07:00
Haowei Cai
942bc9b32e fix the fake client example: how to handle a race between the fake client and informer
Note that the fake client isn't designed to work with informer. It
doesn't support resource version. It's encouraged to use a real client
in an integration/E2E test if you need to test complex behavior with
informer/controllers.
2021-03-22 17:00:47 -07:00
Antoine Pelisse
c8be9651ce fieldmanager: Strip managedfields BEFORE we update the timestamp 2021-03-22 16:29:37 -07:00
Kubernetes Prow Robot
f8e55fe974
Merge pull request #100393 from adisky/fix-dns
Fix structured logs for  pkg/kubelet/network/dns/dns.go
2021-03-22 16:09:36 -07:00
Chris Henzie
f756bd5189 Fix nil ptr dereference in log line 2021-03-22 16:06:51 -07:00
Linus Arver
8f6ca1c649 test/utils/image: remove listx from OWNERS
Removing myself from OWNERS as I haven't had the bandwidth to go over
these reviews for a long time.

This should have been part of #99718, which has already been merged.
2021-03-22 14:22:51 -07:00
Kubernetes Prow Robot
1a983bb958
Merge pull request #100418 from swetharepakula/eps-conformance
Promote EndpointSlice API test to Conformance
2021-03-22 13:27:35 -07:00
Davanum Srinivas
4edf95ed84
verify using go list
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-22 16:07:59 -04:00
Kubernetes Prow Robot
9c4ffa7e11
Merge pull request #100054 from gnufied/make-pv-provisioning-faster-vsphere
Speed up PV provisioning for vsphere driver
2021-03-22 11:58:48 -07:00
Yu Liao
1dbd5875e2 added yliaog as approver 2021-03-22 09:52:03 -07:00
Masashi Honma
39538463de test: Use bytes.Buffer.String
Fix some warnings from go-staticcheck.

"should use buffer.String() instead of string(buffer.Bytes()) (S1030)"

This warning is explained at this link.
https://staticcheck.io/docs/checks#S1030
2021-03-22 17:48:21 +09:00
卢振兴10069964
4d595b9129 log format optimization 2021-03-22 11:15:25 +08:00
Davanum Srinivas
ba56884d91
Ensure providerless kubelet does not pull cloud providers
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-21 21:36:38 -04:00
drfish
0558ca1918 Unify some methods in e2e common 2021-03-21 21:51:56 +08:00
Ikko Ashimine
7baa7dbdbe
test: fix typo in chaosmonkey.go
defered -> deferred
2021-03-21 12:20:00 +09:00
su225
eaa25983e1 fix typo - it should be ca.crt instead of ca.cert 2021-03-20 19:41:21 +05:30
Jie Shen
3807a92df0 Use cmp.Diff instead of diff.Object* in pkg/api 2021-03-20 21:40:34 +08:00
Kubernetes Prow Robot
cf3374e434
Merge pull request #100410 from chewong/agnhost-2-30
test image: bump agnhost version to 2.30
2021-03-19 22:33:43 -07:00
Nick Turner
d422a92e66 Fix ECR provider startup latency
* Before this change, even on non-AWS platforms, the Enabled() check attempts
  to make calls to the metadata endpoint when the session and credentials
  are initialized (in order to determine if the provider should be
  initialized at all).
* This can cause latency because the SDK times out and retries -- up to
  20 seconds of latency has been observed on non-AWS platforms when the
  metadata IP was blocked with an iptables rule.
* Instead, check once if we are running on an EC2 platform, first trying
  to find the EC2 UUID in system files, and second attempting to get
  credentials.
* Add a benchmark test that includes intialization and the credential
  check.
2021-03-19 23:37:11 +00:00
“Ibrahim
bc3f6c1be9 Fix the containerd service check 2021-03-19 23:35:05 +00:00
Swetha Repakula
9c1f9c3962 Promote EndpointSlice API test to Conformance 2021-03-19 23:28:35 +00:00
ravisantoshgudimetla
f339061816 Tighten DS rollout catching function 2021-03-19 16:02:41 -04:00
Haowei Cai
37d171e5bc webhook config manager: HasSynced returns true when the manager is synced with existing webhookconfig objects at startup 2021-03-19 12:39:19 -07:00