Commit Graph

122816 Commits

Author SHA1 Message Date
Eduard Voiculescu
a0aa7bf6d1 show warning message only when running kubectl get --watch-only 2024-05-06 14:11:03 -04:00
Kubernetes Prow Robot
44bd04c0cb
Merge pull request #124598 from aroradaman/kubectl-describe-svc
Use endpointSlices for describing service endpoints
2024-05-06 09:06:14 -07:00
Joe Betz
d16ff3d77f Promote CRD field selectors to beta 2024-05-06 11:53:03 -04:00
Kubernetes Prow Robot
4d17d30029
Merge pull request #124519 from dims/drop-all-the-providery-things-take-2
Remove gcp in-tree cloud provider and credential providers
2024-05-06 08:03:14 -07:00
Kubernetes Prow Robot
8240d882ab
Merge pull request #124500 from carlory/scheduler-deprecate-non-csi-plugins
scheduler deprecates non-csi volumelimit plugins
2024-05-06 08:03:04 -07:00
Kubernetes Prow Robot
2c7bda528f
Merge pull request #124590 from xrstf/fix-optional-comment
Fix +optional in comment for persistentVolumeClaimRetentionPolicy
2024-05-06 06:58:33 -07:00
Kubernetes Prow Robot
fdefcb43d1
Merge pull request #124589 from carlory/dra-resourceclaim-controller
the resourceclaim controller forgot to wait for podSchedulingSynced and templatesSynced
2024-05-06 06:58:26 -07:00
Kubernetes Prow Robot
d9c7616d4b
Merge pull request #119781 from huweihuang/fix/fix-link-failure
fix link failure for changelog
2024-05-06 02:23:20 -07:00
carlory
76aa289608 bugfix: resourceclaim forgot to wait for podSchedulingSynced and templatesSynced 2024-05-06 16:56:16 +08:00
Kubernetes Prow Robot
f97d51c1de
Merge pull request #124693 from mowangdk/feat/update_invalid_golint_package_name
chore: fix invalid package name by golint
2024-05-06 01:08:38 -07:00
Kubernetes Prow Robot
d83cd48e5e
Merge pull request #124131 from zyjhtangtang/master
Correct variable names in EndpointSliceMirroring controller
2024-05-05 14:40:13 -07:00
Kubernetes Prow Robot
ade0d2140a
Merge pull request #124578 from sanposhiho/scheduler_perf_scheduler_plugin_execution_duration_seconds
support `scheduler_plugin_execution_duration_seconds` in scheduler_perf
2024-05-05 06:40:44 -07:00
Alvaro Aleman
6d0ac8c561 Use the generic/typed workqueue throughout
This change makes us use the generic workqueue throughout the project in
order to improve type safety and readability of the code.
2024-05-04 14:33:12 -04:00
Daman Arora
3236891023 kubectl/describe: use endpointslices for describing endpoints
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-04 21:46:46 +05:30
mowangdk
c7fe6b8cc2 chore:update invalid package name by golint 2024-05-04 22:55:43 +08:00
Kubernetes Prow Robot
4878acc5e5
Merge pull request #124281 from fulviodenza/master
Allow request parameter and proto file path
2024-05-04 06:54:37 -07:00
Kubernetes Prow Robot
de1674829c
Merge pull request #123886 from adrianreber/2024-03-12-criu-not-found
Handle containerd "CRIU not found" error message
2024-05-04 06:54:28 -07:00
Kubernetes Prow Robot
1cbe7b6b43
Merge pull request #124189 from toddtreece/kube-aggregator-proxy-tracing
Add tracing to kube-aggregator proxyHandler
2024-05-04 00:32:02 -07:00
Kubernetes Prow Robot
1ab06efe92
Merge pull request #124531 from irsl/master
gitRepo volume: directory must be max 1 level deep
2024-05-03 17:17:02 -07:00
Patryk Małek
8dbeaa5786
fix(api): make LocalObjectReference.Name and HostAlias.IP required (#124553)
* fix(api): LocalObjectReference Name a "" default and make HostAlias.IP required

* chore(api): add LocalObjectReference comment

* chore(api): add omitempty to LocalObjectReference's Name

* chore(api): add kubebuilder:default annotation

* chore(api): ./hack/update-codegen.sh
2024-05-03 15:21:14 -07:00
Todd Treece
92da422427
Add tracing to aggregator proxyHandler 2024-05-03 18:10:23 -04:00
Joe Betz
1b59f3678f Promote RetryGenerateName to beta 2024-05-03 15:20:10 -04:00
Davanum Srinivas
7f9a0ef5d2
Fixes from review by Jan Šafránek/Andrew/Michael
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-03 15:11:36 -04:00
Kubernetes Prow Robot
99129ed5eb
Merge pull request #121496 from benluddy/metav1-labelselector-fuzz
Deduplicate set expression values in metav1.LabelSelector fuzzer.
2024-05-03 11:08:25 -07:00
Ben Luddy
a4c2f78b28
Deduplicate set expression values in metav1.LabelSelector fuzzer.
Internal versions of ScaleStatus types use metav1.LabelSelector to represent label selectors, while
external versions use the textual representation. During conversion to and from text, match
expressions are sorted by key, and values for set operations "in" and "notin" are sorted and
deduplicated. This loss of order and duplication is detected by roundtrip testing.

The existing fuzz function for metav1.LabelSelector sorts match expressions by key and sorts, but
does not deduplicate, set expression values. That function now also deduplicates set expression
values so that fuzzed metav1.LabelSelectors can faithfully roundtrip through the textual label
selector representation.
2024-05-03 11:12:26 -04:00
Ed Bartosh
f24134d7b2 kubelet: DRA: add unit test for ClaimInfo and claimInfoCache 2024-05-03 13:30:31 +00:00
Ed Bartosh
6ce294558a kubelet: DRA: add stress test
The tests calls PrepareResources and UnprepareResources API in
parallel to help discover race conditions.
2024-05-03 13:30:29 +00:00
Kevin Klues
86a18d5333 kubelet: DRA: update manager test to adhere to new claiminfo cache APIs
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2024-05-03 13:28:37 +00:00
Kevin Klues
805e7c3434 kubelet: DRA: remove check to set pluginName to DriverName if not in ResourceHandle
It has always been validated that a ResourceHandle MUST have DriverName set, so
this check is unnecessary.

Signed-off-by: Kevin Klues <kklues@nvidia.com>
2024-05-03 13:23:29 +00:00
Kevin Klues
f80be2728e kubelet: DRA: change key of claimInfo cache to "namespace/claimname"
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2024-05-03 13:23:29 +00:00
Kevin Klues
639e887631 kubelet: DRA: add a reconcile loop to unprepare claims for deleted pods
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2024-05-03 13:23:29 +00:00
Kevin Klues
a8931c6c25 kubelet: DRA: update locking/checkpoint semantics of the claimInfo cache
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2024-05-03 13:23:27 +00:00
xin.li
d1dff562ad kubeam: increase ut coverage for addon/dns
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-05-03 21:21:06 +08:00
Kubernetes Prow Robot
f97ac220fd
Merge pull request #124666 from chengjoey/ut-for-123465
add integration test for pod with pvc has node-affinity to non-existent/illegal nodes
2024-05-03 05:50:00 -07:00
joey
a56cc6b100
add integration test for pod with pvc has node-affinity to non-existent/existent nodes
Signed-off-by: joey <zchengjoey@gmail.com>
2024-05-03 19:45:31 +08:00
Kubernetes Prow Robot
30ae12d018
Merge pull request #124684 from SataQiu/clean-20240503
kubeadm: remove unused CreateKubeConfigFileFunc type
2024-05-03 02:23:04 -07:00
SataQiu
1c82e03c2a kubeadm: remove unused CreateKubeConfigFileFunc type 2024-05-03 16:19:51 +08:00
Kubernetes Prow Robot
f1d63237ed
Merge pull request #124662 from seantywork/master
Updated & added visibility to apiserver x509 test certificates expiring this year
2024-05-02 20:46:06 -07:00
Taehoon Yoon
12795107a1 Updated & added visibility to apiserver x509 test certificates expiring this year 2024-05-02 23:23:03 +00:00
Kubernetes Prow Robot
201e6262c4
Merge pull request #124665 from neolit123/1.31-fix-windows-priv-preflight-check
kubeadm: update the IsPriviligedUser preflight check on Windows
2024-05-02 13:13:28 -07:00
Lubomir I. Ivanov
d105ddd350 kubeadm: update the IsPriviligedUser preflight check on Windows
Use GetCurrentProcessToken() instead of checking the groups of a user.

The Go stdlib way of fetching the groups of an user appears
to be failing on some Windows setups. Which could be a regression
in later Go versions, or simply the code does not work on certain
setups.
2024-05-02 20:23:02 +03:00
Kubernetes Prow Robot
bb838fde5b
Merge pull request #124663 from saschagrunert/cri-api-security-contacts
Fix `cri-api` `SECURITY_CONTACTS` by removing a duplicate
2024-05-02 06:59:13 -07:00
Kubernetes Prow Robot
de662bb8e0
Merge pull request #124669 from gabesaba/test_gated
Add unit test which checks QueuedPodInfo.Gated matches its source
2024-05-02 05:54:25 -07:00
Kubernetes Prow Robot
d0e78ef70e
Merge pull request #123797 from saschagrunert/cri-staging
Add `cri-client` staging repository
2024-05-02 03:48:52 -07:00
Ed Bartosh
6ecf0da1a5 node_e2e: refactor RunTogether function 2024-05-02 13:41:47 +03:00
Gabe
9a8197d0c3 Add unit test which checks Gated is set/unset properly 2024-05-02 10:41:19 +00:00
Gabe
6c6be931ee revert unit test 2024-05-02 10:29:15 +00:00
Imre Rad
c7846fd24c gitRepo volume: directory must be max 1 level deep
More details on Hackerone #2266560
2024-05-02 08:26:26 +00:00
Sascha Grunert
aec3701067
Fix cri-api SECURITY_CONTACTS by removing a duplicate
`tallclair` is already part of the list, so we can remove that entry.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-05-02 09:21:35 +02:00
Sascha Grunert
fef2ecf97d
Add cri-client staging repository
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-05-02 09:20:17 +02:00