Commit Graph

103371 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
b47f8263e1
Merge pull request #104858 from pohly/generic-ephemeral-volume-intree-tests
e2e: enable generic ephemeral inline volume also for in-tree drivers
2021-09-10 14:49:01 -07:00
Kubernetes Prow Robot
1e607a500f
Merge pull request #104880 from dcantah/update-hcsshim-0.8.21
vendor: bump hcsshim to v0.8.22
2021-09-10 11:21:21 -07:00
Kubernetes Prow Robot
528859ef9d
Merge pull request #104901 from soltysh/refactor_printers
Move `YamlPrinter` to its own file
2021-09-10 09:04:00 -07:00
Kubernetes Prow Robot
d6acb7ce01
Merge pull request #104884 from eddiezane/ez/update-kubectl-run-flags
Remove functionality from deprecated kubectl run flags
2021-09-10 07:52:00 -07:00
Kubernetes Prow Robot
cf535b0339
Merge pull request #104866 from zzchun/fix-typo-in-framework-interface
fix typo in framework interface
2021-09-10 06:46:01 -07:00
Maciej Szulik
281231e074
Move YamlPrinter to its own file 2021-09-10 13:23:25 +02:00
Kubernetes Prow Robot
5261433627
Merge pull request #104606 from endocrimes/dani/device-driver-deflake
[Failing Test] Fix GPU Device Driver test in kubelet-serial
2021-09-10 04:20:00 -07:00
Kubernetes Prow Robot
758ad0790c
Merge pull request #104572 from andyzhangx/detach-disk-deleting
fix detach disk issue on deleting vmss node
2021-09-10 01:58:00 -07:00
Daniel Canter
3eef755b3b vendor: bump hcsshim to v0.8.22
This tag of hcsshim brings in a couple welcome features/improvements. One being
exposing a way to query for hns endpoint statistics (Packets received/sent etc.).
This tag also contains some optimizations for querying whether a certain HCN feature
is supported, which is a common workflow in kube-proxy on Windows. The first result
from querying HCN is now cached so further calls can skip the hcn query as well as the
version range parsing that was performed. This also gets rid of some redundant logs
that used to hit everytime the version range parsing occurred.

The Go-winio dep bump, and all of the ctrd deps are transitive only. Nothing new is needed/intended
to be used.

Signed-off-by: Daniel Canter <dcanter@microsoft.com>
2021-09-10 00:54:24 -07:00
Kubernetes Prow Robot
34003c5aee
Merge pull request #104841 from h4ghhh/deltafifo_rv
client-go: para 'resourceVersion' in DeltaFIFO.Replace is not used, so remove it
2021-09-10 00:48:00 -07:00
Kubernetes Prow Robot
1dcea5cb02
Merge pull request #104817 from smarterclayton/pod_status
kubelet: Rejected pods should be filtered from admission
2021-09-09 22:15:59 -07:00
Kubernetes Prow Robot
5724484bda
Merge pull request #104069 from pacoxu/fix-data-race-104057
fix data race in kubelet volume test: add lock for ut
2021-09-09 21:09:59 -07:00
Kubernetes Prow Robot
51ff4bb814
Merge pull request #104881 from MikeSpreitzer/relax-queueset-tests
Widen margins of TestDifferentWidths and TestTooWide
2021-09-09 19:49:59 -07:00
zzchun
3ad158d62c fix typo in framework interface
Signed-off-by: zzchun <zzchun@zju.edu.cn>
2021-09-10 10:14:21 +08:00
Kubernetes Prow Robot
c91287c7b9
Merge pull request #104747 from kinvolk/invidian/typos
Fix typos in files which are used for generating OpenAPI
2021-09-09 18:04:57 -07:00
Kubernetes Prow Robot
a402f1753c
Merge pull request #104756 from tnqn/ipvs-sctp-masquerade
Fix client IP preservation for NodePort service with protocol SCTP
2021-09-09 15:34:56 -07:00
Kubernetes Prow Robot
5b49d125b7
Merge pull request #104103 from pohly/logr-1.0
klog 2.20.0, logr v1.1.0, zapr v1.1.0
2021-09-09 14:28:56 -07:00
Eddie Zaneski
da8f404ae0
Remove functionality from deprecated kubectl run flags
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2021-09-09 15:25:52 -06:00
Mike Spreitzer
59d319ec06 Widen margins of TestDifferentWidths and TestTooWide
These behavioral unit tests of queueset were failing because the
evaluation criteria were too strict.
2021-09-09 17:08:50 -04:00
Kubernetes Prow Robot
73453e473b
Merge pull request #104826 from cici37/UpdateOWNERS
Update CHANGELOG OWNERS
2021-09-09 10:50:11 -07:00
Kubernetes Prow Robot
669de4b957
Merge pull request #104666 from alculquicondor/tracking-beta
Fix Job tracking with finalizers for more than 500 pods
2021-09-09 09:26:11 -07:00
Kubernetes Prow Robot
c0c7039f3a
Merge pull request #103751 from y-tag/approx-float64
fix AsApproximateFloat64() for BinarySI
2021-09-09 08:22:11 -07:00
Patrick Ohly
cb6a653777 klog 2.20.0, logr v1.1.0, zapr v1.1.0
This replaces the experimental logr v0.4 with the stable v1.1.0
release. This is a breaking API change for some users because:
- Comparing logr.Logger against nil is not possible anymore:
  it's now a struct instead of an interface. Code which
  allows a nil logger should switch to *logr.Logger as type.
- Logger implementations must be updated in lockstep.

Instead of updating the forked zapr code in json.go, directly using
the original go-logr/zapr is simpler and avoids duplication of effort.

The updated zapr supports logging of numeric verbosity. Error messages
don't have a verbosity (= always get logged), so "v" is not getting
added to them anymore.

Source code logging for panic messages got fixed so that it references
the code with the invalid log call, not the json.go implementation.

Finally, zapr includes additional information in its panic
messages ("zap field", "ignored key", "invalid key").
2021-09-09 14:43:43 +02:00
Kubernetes Prow Robot
c964fe6001
Merge pull request #104812 from astraw99/fix-sharedInformer-doc
Fix comment of `processorListener.requestedResyncPeriod`
2021-09-09 01:42:11 -07:00
Patrick Ohly
468acb7418 e2e: enable generic ephemeral inline volume also for in-tree drivers
Previously, the ephemeral volume test suite was only enabled for CSI
drivers. By splitting the test patterns into those that work for all drivers
and the one for CSI ephemeral inline volumes it becomes possible to
define the former for all drivers and the latter only for CSI.

This increases test coverage, in particular also for migration to
CSI (https://testgrid.k8s.io/provider-gcp-compute-persistent-disk-csi-driver#Migration%20Kubernetes%20Master%20Driver%20Latest).
2021-09-09 09:59:39 +02:00
Kubernetes Prow Robot
95390e6476
Merge pull request #103023 from tiloso/staticcheck-apiserver-clientgo
Fix staticcheck in k8s.io/{apiserver/pkg/storage,client-go/rest/watch}
2021-09-08 18:50:10 -07:00
Kubernetes Prow Robot
d25a4c40cf
Merge pull request #104849 from Huang-Wei/revert-103515
Revert PR 103515
2021-09-08 17:44:21 -07:00
Kubernetes Prow Robot
9956551b62
Merge pull request #104848 from ehashman/node-api-shadow
Request: Add ehashman as a sig-node API review shadow
2021-09-08 17:44:10 -07:00
Kubernetes Prow Robot
5990b3c76a
Merge pull request #104828 from leiyiz/mock_volume_flake
increasing sleep timer to 5 sec in attempt to deflake token test
2021-09-08 15:48:52 -07:00
Léiyì Zhang
f1bfd8f8df increasing sleep timer to 5 sec 2021-09-08 21:41:31 +00:00
Wei Huang
c2e9305173
Revert PR 103515 2021-09-08 13:23:30 -07:00
Kubernetes Prow Robot
edc3a48f26
Merge pull request #104845 from aojea/iperf_threshold
e2e iperf2 change threshold to 10MBps = 80 Mbps
2021-09-08 12:03:56 -07:00
Kubernetes Prow Robot
559808670a
Merge pull request #104806 from MikeSpreitzer/set-g-to-3ms
Change execution duration guess from 1 minute to 3 milliseconds
2021-09-08 10:05:20 -07:00
Antonio Ojea
3f6f63d2a8 e2e iperf2 change threshold to 10MBps = 80 Mbps 2021-09-08 18:46:04 +02:00
Kubernetes Prow Robot
5be7bb413d
Merge pull request #104805 from chendave/typos
Fix couple of incorrect description
2021-09-08 07:43:21 -07:00
Clayton Coleman
17d32ed0b8
kubelet: Rejected pods should be filtered from admission
A pod that has been rejected by admission will have status manager
set the phase to Failed locally, which make take some time to
propagate to the apiserver. The rejected pod will be included in
admission until the apiserver propagates the change back, which
was an unintended regression when checking pod worker state as
authoritative.

A pod that is terminal in the API may still be consuming resources
on the system, so it should still be included in admission.
2021-09-08 10:23:45 -04:00
Kubernetes Prow Robot
9ced7b4a31
Merge pull request #104704 from Pingan2017/ttl-beta-0901
Change TTLAfterFinished state to beta in comment
2021-09-08 06:29:20 -07:00
00255991
2949045ec4 para 'resourceVersion' in DeltaFIFO.Replace is not used, so remove it 2021-09-08 19:10:40 +08:00
Kubernetes Prow Robot
9f6a31916a
Merge pull request #104833 from MikeSpreitzer/fix104811
Refine locking in API Priority and Fairness config controller
2021-09-08 01:29:20 -07:00
Mike Spreitzer
58927c1abe Refine locking in API Priority and Fairness config controller
Instead of a plain `Mutex`, use an `RWMutex` so that the common
operations can proceed in parallel.
2021-09-08 00:34:52 -04:00
Kubernetes Prow Robot
3282d6cfdb
Merge pull request #103515 from muma378/feature/verbose-node-scores
Add verbose logs for node/plugin scores even ranged in low levels
2021-09-07 21:21:22 -07:00
Kubernetes Prow Robot
6ae42ec773
Merge pull request #104829 from mikedanese/rbac-doc
rbac: remove AttributeRestriction documentation
2021-09-07 19:29:27 -07:00
Kubernetes Prow Robot
f30f5a6862
Merge pull request #104816 from mkumatag/fix-rand
Update the valid string from rand.go
2021-09-07 19:29:19 -07:00
Dave Chen
6e1835b83b Fix couple of incorrect description
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-09-08 10:08:23 +08:00
Kubernetes Prow Robot
ebb9fafac6
Merge pull request #104823 from justinsb/less_cmp_3
Avoid expensive go-cmp/cmp comparison
2021-09-07 17:41:28 -07:00
Kubernetes Prow Robot
85b11ad24e
Merge pull request #104699 from vincepri/generate-name-error
Object creation with generateName should return AlreadyExists instead of a Timeout
2021-09-07 17:41:20 -07:00
Mike Danese
acb85012ba rbac: remove AttributeRestriction documentation
This field never made it past the alpha API.
2021-09-07 16:45:49 -07:00
Kubernetes Prow Robot
0ec2aaee47
Merge pull request #104790 from sttts/sttts-ssa-should-not-happen-name
server-side-apply: print object name in SHOULD NOT HAPPEN message
2021-09-07 16:32:27 -07:00
Kubernetes Prow Robot
f9488f314a
Merge pull request #104741 from robscott/topology-logging
Adding more detailed logging for Topology Hints
2021-09-07 16:32:16 -07:00
Mike Spreitzer
a0c161f2f6 Change execution duration guess from 1 minute to 3 milliseconds
So that the width estimate has some effect but not a grossly excessive
one.

Added the fifo::Peek method to simplify the fifo client code.

Also renamed the queueSet::estimatedServiceTime field to
estimatedServiceSeconds to make the units clear.
2021-09-07 18:36:30 -04:00