Commit Graph

113019 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
8d6bbfbad2
Merge pull request #112934 from wzshiming/fix/close-body
Close body when Report non-OK status code
2023-01-09 11:15:28 -08:00
Antoine Pelisse
ad65b25cc3 fieldmanager: Remove obsolete comment 2023-01-09 10:10:17 -08:00
Antoine Pelisse
adfc65ec23 Make internal managers private
This significantly reduces the surface area of the fieldmanager package
by hiding all the private "managers" objects, as well as the interface
that was made specifically for these. There is no reason to configure
these.
2023-01-09 10:10:17 -08:00
Kubernetes Prow Robot
bea405c581
Merge pull request #114876 from alculquicondor/fix-deadline-test
Ensure job is up to date in informer cache in test
2023-01-09 10:07:28 -08:00
Michal Wozniak
f79a34d267 Do not leak cross namespace pod metadata in preemption events 2023-01-09 18:30:19 +01:00
kannon92
0362c67859 Fix SyncPastDeadlineJobFinished for enabling finalizer path 2023-01-09 17:12:52 +00:00
Daniel Lenar
d53af22787 Use label selector for filtering out resources when pruning.
Matches same behavior as for kubectl apply

Signed-off-by: Daniel Lenar <dlenar@vailsys.com>
2023-01-09 10:42:40 -06:00
Aldo Culquicondor
4c1b95ddfa
Ensure job is up to date in informer cache in test
The fake client doesn't guarantee that the informer cache is updated.
If it's not up-to-date, the controller always tries to set the
StartTime, leading to a broken test.

Change-Id: I71f26d46ea44beff88f0d03517985348654aec95
2023-01-09 10:53:19 -05:00
Kubernetes Prow Robot
a8fc2c6543
Merge pull request #114891 from sanposhiho/fix-logic
cleanup(nodeaffinity): remove impossible scenario from test cases
2023-01-09 06:53:39 -08:00
Kubernetes Prow Robot
8cb2339730
Merge pull request #114548 from haircommander/cri-tools-1.26
update cri-tools to 1.26.0
2023-01-09 06:53:28 -08:00
Kubernetes Prow Robot
03b78f3a15
Merge pull request #114912 from pacoxu/archived-repos
add archived dependencies into unwanted-dependencies.json
2023-01-09 04:19:31 -08:00
Michal Wozniak
bdf58ce2eb Adjust DisruptionTarget condition message to do not include preemptor metadata 2023-01-09 12:22:19 +01:00
Patrick Ohly
b721272a1e test/OWNERS: add pohly as approver
As technical lead in SIG Testing it would be useful to have the right to
approve test changes...
2023-01-09 09:54:10 +01:00
Patrick Ohly
c6da602168 OWNERS: remove sig-testing-approvers
It's not used enough to add any real value. Instead, it obscures the real
ownership when someone looks at an OWNERS file where it is used.
2023-01-09 09:54:10 +01:00
Paco Xu
26ddc948e1 add archived dependencies into unwanted-dependencies.json 2023-01-09 16:14:39 +08:00
SataQiu
61916050d3 update staging README.md 2023-01-09 12:26:16 +08:00
Hao Ruan
7f3de6e53a fix a typo in pkg/proxy/ipvs/proxier.go 2023-01-09 09:29:22 +08:00
Kubernetes Prow Robot
cf7a3c5bbb
Merge pull request #114906 from ii/promote-subjectaccessreview-test
Promote e2e test for SubjectAccessReview & createAuthorizationV1NamespacedLocalSubjectAccessReview +2 Endpoints
2023-01-08 17:09:27 -08:00
Stephen Heywood
befb7d4a6a Promote SubjectAccessReview e2e test to Conformance 2023-01-09 11:24:05 +13:00
Kubernetes Prow Robot
3aff1f97be
Merge pull request #114899 from SataQiu/cleanup-import-restrictions
kubeadm: update .import-restrictions
2023-01-07 08:59:26 -08:00
SataQiu
5d99ad1182 kubeadm: update .import-restrictions 2023-01-07 23:46:02 +08:00
Kubernetes Prow Robot
ca5c522080
Merge pull request #114892 from nikhita/rules-prune-1.22
staging/publishing: remove rules for 1.22
2023-01-07 04:31:26 -08:00
Kensei Nakada
570c2d7036 cleanup(nodeaffinity): remove impossible scenario from test cases 2023-01-07 08:46:35 +00:00
Nikhita Raghunath
498eaacf0a staging/publishing: remove rules for 1.22 2023-01-07 14:13:15 +05:30
Kubernetes Prow Robot
643353abfe
Merge pull request #114885 from enj/enj/i/etcd_path_all_features
Enable all features during etcd storage path test
2023-01-06 21:01:38 -08:00
Kubernetes Prow Robot
8ce77a53b7
Merge pull request #113744 from iancoolidge/devel-cpuset-set
Prepare cpuset for import into kubernets/utils
2023-01-06 21:01:27 -08:00
Kante Yin
2ceadfe885 Code refactor for readability
Signed-off-by: Kante Yin <kerthcet@gmail.com>
2023-01-07 11:31:46 +08:00
Kubernetes Prow Robot
f7a9a9d5a9
Merge pull request #114881 from enj/enj/i/kms_grpc_flake
kms gRPC test: wait until server is healthy
2023-01-06 18:59:27 -08:00
Monis Khan
32c44b33e8
Enable all features during etcd storage path test
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-01-06 20:41:46 -05:00
Ian K. Coolidge
5533e49e2c cpuset: Add package comment
Describe use cases (node IDs, HT siblings, etc)

Call out novelty (Linux CPU list parse/dump)

Describe future work (relax immutable, refactor to use 'set')
2023-01-06 23:32:51 +00:00
Ian K. Coolidge
cbb985a310 cpuset: Delete 'builder' methods
All usage of builder pattern is convertible to cpuset.New()
with the same or fewer lines of code.

Migrate Builder.Add to a private method of CPUSet, with a comment
that it is only intended for internal use to preserve immutable
propoerty of the exported interface.

This also removes 'require' library dependency, which avoids
non-standard library usage.
2023-01-06 23:32:51 +00:00
Ian K. Coolidge
f3829c4be3 cpuset: Rename 'NewCPUSet' to 'New' 2023-01-06 23:32:51 +00:00
Ian K. Coolidge
768b1ecfb6 cpuset: hide 'Filter' API
FilterNot is only used in this file, and is trivially converted to a
'filter' call site by inverting the predicate.

Filter is only used in this file, so don't export it.
2023-01-06 23:32:51 +00:00
Ian K. Coolidge
e5143d16c2 cpuset: Make 'ToSlice*' methods look like 'set' methods
In 'set', conversions to slice are done also, but with different names:

ToSliceNoSort() -> UnsortedList()
ToSlice() -> List()

Reimplement List() in terms of UnsortedList to save some duplication.
2023-01-06 23:32:51 +00:00
Ian K. Coolidge
a0c989b99a cpuset: Remove *Int64 methods
These are rarely used and can be accommodated with a trivial helper.
2023-01-06 23:32:51 +00:00
Ian K. Coolidge
67a057d4f2 cpuset: Remove 'MustParse' method
Removes exit/fatal from cpuset library.

Usage in podresources test was not necessary.

Library reference in cpu_manager_test was moved to a local function, and
converted to use e2e test framework error catching.
2023-01-06 23:32:51 +00:00
Ian K. Coolidge
824bd57ad6 cpuset: Convert Union arguments to variadic
This allows Union to implement UnionAll easily.
2023-01-06 23:32:50 +00:00
Monis Khan
95ade66cc2
kms gRPC test: wait until server is healthy
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-01-06 18:27:03 -05:00
Kubernetes Prow Robot
0e49c542d7
Merge pull request #114869 from liggitt/kube-openapi
bump kube-openapi
2023-01-06 13:31:27 -08:00
Kubernetes Prow Robot
810cdfc9df
Merge pull request #114860 from TommyStarK/cmd-kubeapiserver/clean-code
cmd/kubeapiserver: Clean code, avoid unnecessary condition, avoid non-nil but zero-length slice
2023-01-06 11:22:09 -08:00
Kubernetes Prow Robot
fae77f0241
Merge pull request #114633 from soltysh/sig-apps-reviewers
Add atiratree as sig-apps reviewer
2023-01-06 11:21:57 -08:00
Kubernetes Prow Robot
98dae661f8
Merge pull request #114678 from ibihim/kmsv2-plugin-service-grpc
kmsv2: add grpc service
2023-01-06 10:00:09 -08:00
Kubernetes Prow Robot
be9d9a850d
Merge pull request #113959 from Jefftree/jefftree-owners
Update OWNERS for jefftree
2023-01-06 09:59:58 -08:00
Jordan Liggitt
e55c9843ab
Regenerate openapi 2023-01-06 12:24:30 -05:00
Jordan Liggitt
d0967bbe5e
Prune trailing newlines when enums are disabled 2023-01-06 12:24:29 -05:00
Jordan Liggitt
d78de56d76
bump kube-openapi 2023-01-06 12:24:18 -05:00
TommyStarK
527b905aaa cmd/kubeapiserver: Clean code, avoid unnecessary condition, avoid non-nil but zero-length slice
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2023-01-06 18:03:41 +01:00
Kubernetes Prow Robot
00cd2ae3bc
Merge pull request #114078 from Karthik-K-N/fix-flake-test
Fix TestJitterWithNegativeMaxFactor flaky test
2023-01-06 05:19:58 -08:00
Krzysztof Ostrowski
371b3b3be8
kmsv2: add grpc service
Signed-off-by: Krzysztof Ostrowski <kostrows@redhat.com>
2023-01-06 13:43:32 +01:00
Kubernetes Prow Robot
c549b59983
Merge pull request #114125 from sanposhiho/skip-reimplementation
feature(scheduler): won't run Filter if PreFilter returned a Skip status
2023-01-06 02:25:59 -08:00