Commit Graph

99760 Commits

Author SHA1 Message Date
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
Sagar Muchhal
2e01560fd0 Adds actual context to node drainer code
Signed-off-by: Sagar Muchhal <muchhals@vmware.com>
2021-03-21 18:17:50 -07:00
Vinayak Goyal
4b3271a542 Fix kube-apiserver manifest. 2021-03-21 16:24:56 -07:00
drfish
0558ca1918 Unify some methods in e2e common 2021-03-21 21:51:56 +08:00
mozillazg
15688b6342
Fix staticcheck failures for vendor/k8s.io/apimachinery/pkg/runtime 2021-03-21 19:41:40 +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
Abu Kashem
b776109427
apf: handle error from PollImmediateUntil
We should not attempt creation of mandatory objects if ensuring
the suggested configuration resulted in an error.
We rely on the presence of the "exempt" priority level configuration
object in the cluster to indicate whether we should ensure
suggested configuration.
2021-03-19 14:37:44 -04:00
Ernest Wong
42011ecfe4
test image: bump agnhost version to 2.30
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-19 11:12:45 -07:00
Kubernetes Prow Robot
ac5f05b374
Merge pull request #100359 from chewong/increase-dns-timeout
agnhost: increase dns timeout from 5 seconds to 20 seconds
2021-03-19 08:04:33 -07:00
Aditi Sharma
a724a3df77 Fix structured logs for dns.go
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2021-03-19 19:05:30 +05:30
saravanan palanisamy
b9696ae455 remove namespace for clusterRoleBinding object - fluentd-es addon 2021-03-19 12:08:14 +04:00
Kubernetes Prow Robot
eb44008ce2
Merge pull request #100368 from soltysh/gce_non_root
Run GCE unit tests as non-root
2021-03-18 22:52:33 -07:00
mengjiao.liu
2f9f72a563 Update PodSpec/Overhead broken links 2021-03-19 13:49:13 +08:00
Kubernetes Prow Robot
019080fc4d
Merge pull request #100341 from kevindelgado/apiservices-stacktrace
Add ability to skip OpenAPI handler installation
2021-03-18 20:58:35 -07:00
xiongzhongliang
e6d6409cf8 remove duplicated validation for service-cluster-ip-range 2021-03-19 11:17:07 +08:00
Kubernetes Prow Robot
74f72c4738
Merge pull request #100320 from ehashman/kubelet-logs-migrated
Mark kubelet structured logs as migrated
2021-03-18 16:30:48 -07:00