Commit Graph

124008 Commits

Author SHA1 Message Date
Lukasz Szaszkiewicz
9871fcab39 ./hack/update-internal-modules.sh 2024-06-14 12:52:54 +02:00
Lukasz Szaszkiewicz
f62c80f965 make update 2024-06-14 12:52:54 +02:00
Lukasz Szaszkiewicz
5b76642909 e2e/apimachinery/watchlist: test if WatchList is requested by client-go's List method when WatchListClient is enabled 2024-06-14 12:52:50 +02:00
moriya
e93016b68c fix_review_comments 2024-06-14 09:41:38 +09:00
Kubernetes Prow Robot
eb6840928d
Merge pull request #124160 from Karthik-K-N/fix-buildconstraints
Add doc.go file without any buildconstraint to run tests on non linux platforms
2024-06-13 16:29:06 -07:00
Ahmet Alp Balkan
4d3f5cdc82 kubelet: Add description for failed predicate Events
**Problem:** When a Pod fails to run due to kubelet-side admission checks, the
v1.Event objects emitted looks like these:

    Reason="NodeAffinity" Message="Predicate NodeAffinity failed"
    Reason="NodeName" Message="Predicate NodeName failed"
    Reason="NodePorts" Message="Predicate NodePorts failed"

**Solution:** Expose human-readable predicate description in the failure
so that kubelet submits an Event with this description, such as:

    Reason="NodeAffinity" Message="Predicate NodeAffinity failed: node(s) didn't match Pod's node affinity/selector"
    Reason="NodeName" Message="Predicate NodeName failed: node(s) didn't match the requested node name"
    Reason="NodePorts" Message="Predicate NodePorts failed: node(s) didn't have free ports for the requested pod ports"
2024-06-13 15:12:56 -07:00
Kubernetes Prow Robot
ba28796e77
Merge pull request #125218 from carlory/fix-125216
add apiGroup validation
2024-06-13 13:27:50 -07:00
Patrick Ohly
e0fce54d02 DRA: fix indexing of generated parameters
The claim parameter key didn't include the namespace of the claim. In the case
where two namespaces used the exact same parameter reference, the "too many
generated parameters" case got triggered incorrectly and lookup could have
returned an object from the wrong namespace.

Found while running the E2E tests in parallel:

              message: 'running PreFilter plugin "DynamicResources": multiple generated claim
                parameters for ConfigMap. dra-8794/parameters-3 found: [dra-4729/parameters-4
                dra-7328/parameters-4 dra-8794/parameters-4 dra-3402/parameters-4 dra-6156/parameters-4
                dra-1839/parameters-4 dra-7434/parameters-4 dra-6504/parameters-4]'
2024-06-13 17:27:04 +02:00
Lukasz Szaszkiewicz
dceabab838 client-gen: intro watchList 2024-06-13 17:13:30 +02:00
Kubernetes Prow Robot
bb2068b19b
Merge pull request #125487 from dims/add-gofuzz-to-unwanted-dependencies.json
add gofuzz to unwanted-dependencies.json
2024-06-13 06:56:27 -07:00
Davanum Srinivas
9a830da048
add gofuzz to unwanted-dependencies.json
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-06-13 08:31:38 -04:00
Michal Wozniak
b954879548 Refactor Job e2e test to make them possible for conformance promotion 2024-06-13 13:41:51 +02:00
Kubernetes Prow Robot
b498eb9740
Merge pull request #125472 from karlkfi/karl-watch-comments
Add details to watch interface method comments
2024-06-13 03:11:52 -07:00
Kubernetes Prow Robot
08a8480558
Merge pull request #125391 from karlkfi/karl-reflector-watch-stop
Refactor Reflector ListAndWatch
2024-06-13 03:11:42 -07:00
Kubernetes Prow Robot
63bc331814
Merge pull request #125480 from neolit123/1.31-fix-timeout-join-discovery
kubeadm: fix a bug in v1beta3.JoinConfiguration.Discovery.Timeout
2024-06-13 00:47:20 -07:00
Lubomir I. Ivanov
bca0f0836f kubeadm: fix a bug in v1beta3.JoinConfiguration.Discovery.Timeout
After the introduction of v1beta4 if the user inputs the old
v1beta3 discovery timeout the value is ignored. Fix that
by introducing a conversion to v1beta4.

Co-authored-by: penghez (GitHub handle)
2024-06-13 09:41:07 +03:00
Kundan Kumar
0375192c5c kube-proxy confif update 2024-06-13 12:09:02 +05:30
Jordan Liggitt
b8be6275b9
Clean up service account options completion and fallback
- Remove unused fallback to TLS serving key as service account verifying key
- Separate ServiceAccountTokenMaxExpiration setup from signer setup
- Separate the check for a signing method (private key) from the existence of issuers
2024-06-12 21:59:39 -04:00
Akihiro Suda
ede79b0470
KEP-3857: promote RecursiveReadOnlyMounts feature to beta
KEP: https://kep.k8s.io/3857

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-06-13 08:58:03 +09:00
Kubernetes Prow Robot
7943c17867
Merge pull request #124329 from chrishenzie/remove-readwriteoncepod-feature-gate
Remove ReadWriteOncePod feature gate
2024-06-12 15:51:23 -07:00
Kubernetes Prow Robot
0a6ad55da9
Merge pull request #125384 from dims/remove-gce-specific-flag-registration
Remove GCE specific flag registration
2024-06-12 14:47:24 -07:00
Kubernetes Prow Robot
8e791fd923
Merge pull request #125351 from Dragoncell/origink-master
update driver installer
2024-06-12 14:47:17 -07:00
Kubernetes Prow Robot
bfc26378a9
Merge pull request #125083 from azimjohn/master
Bump konnectivity-client to v0.30.3
2024-06-12 14:47:11 -07:00
Kubernetes Release Robot
b9a4e9a9fe CHANGELOG: Update directory for v1.31.0-alpha.1 release 2024-06-12 20:34:14 +00:00
Karl Isenberg
65fc1bb463 Refactor Reflector ListAndWatch
- Extract watchWithResync to simplify ListAndWatch
- Wrap watchHandler with two variants, one for WatchList and one for
  just Watch.
- Replace a bool pointer arg with a bool arg and bool return, to
  improve readability.
- Use errors.Is to satisfy the linter
- Use %w to wrap the store.Replace error, to allow unwrapping.
2024-06-12 13:14:55 -07:00
Karl Isenberg
1f35231a1d Add details to watch interface method comments
The watch.Interface design is hard to change, because it would break
most client-go users that perform watches. So instead of changing the
interface to be more user friendly, this change updates the method
comments to explain the different responsibilities of the consumer
(client user) and the producer (interface implementer).
2024-06-12 13:06:22 -07:00
Kubernetes Prow Robot
9c8c61aee4
Merge pull request #122234 from AxeZhan/podUpdateEvent
[Scheduler]Put pod into the correct queue during podUpdate
2024-06-12 12:28:17 -07:00
Kubernetes Prow Robot
8db1402f3d
Merge pull request #125435 from p0lyn0mial/upstream-rm-reflector-data-consistency-detector-test
client-go/reflector: remove reflector_data_consistency_detector_test.go
2024-06-12 11:09:18 -07:00
Kubernetes Prow Robot
eda1c78054
Merge pull request #125445 from mimowo/prepare-gc-controller-test
Cleanup gc_controller tests to do not use deprecated types
2024-06-12 10:04:37 -07:00
Kubernetes Prow Robot
813d3f35b4
Merge pull request #125440 from p0lyn0mial/upstream-client-go-watchlist-can-use-watchlist-for-list-rq
client-go/util/watchlist: intro CanUseWatchListForListRequest(
2024-06-12 10:04:30 -07:00
Kubernetes Prow Robot
6c556cb9c2
Merge pull request #125464 from akhilerm/drop-release-1.26
Drop publishing-bot rules for the release-1.26 branch
2024-06-12 07:44:56 -07:00
Kubernetes Prow Robot
63655f49df
Merge pull request #125460 from mimowo/make-linter-happy
Cleanup eviction tests to make linter happy
2024-06-12 07:44:49 -07:00
Kubernetes Prow Robot
cf0b457690
Merge pull request #125444 from babugeet/babugeet-patch-1
Added logic to check portnumber by name in sidecar container (init)
2024-06-12 07:44:42 -07:00
Kubernetes Prow Robot
4630bef303
Merge pull request #125450 from mauri870/hotfix/flaky-TestStoreListResourceVersion
Fix flaking TestStoreListResourceVersion
2024-06-12 06:32:11 -07:00
Mike Spreitzer
9aa9d3d4b7
Add unit test of borrowing by exempt, fix bug
Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com>
2024-06-12 09:28:07 -04:00
AxeZhan
d66f8f9413 schedulingQueue update pod by queueHint 2024-06-12 21:26:09 +08:00
Sascha Grunert
695879e393
Use sig-node-approvers alias in pkg/kubelet/OWNERS
We should be able to use the alias directly rather than just
synchronizing the lists.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-06-12 14:23:56 +02:00
Kubernetes Prow Robot
a06568062c
Merge pull request #125119 from mauriciopoppe/fix-npd-envvars
Create NPD kubeconfig conditionally if the installation mode is standalone
2024-06-12 03:39:50 -07:00
Mauri de Souza Meneguzzo
e59988d769 Fix flaking TestStoreListResourceVersion 2024-06-12 07:12:02 -03:00
Lukasz Szaszkiewicz
38fae9b799 client-go/util/watchlist: intro CanUseWatchListForListRequest 2024-06-12 12:05:16 +02:00
Kubernetes Prow Robot
1815a14c32
Merge pull request #125454 from kerthcet/cleanup/scheduler-perf
Remove noisy log in scheduler_perf
2024-06-12 02:35:36 -07:00
Kubernetes Prow Robot
58e15c831c
Merge pull request #125431 from huww98/e2e-term-sleep
e2e: add TERM trap to pod sleep command
2024-06-12 02:35:29 -07:00
Akhil Mohan
95b3d2c869
Drop publishing-bot rules for the release-1.26 branch
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2024-06-12 15:03:40 +05:30
Michal Wozniak
70f7c02bea Cleanup eviction tests to make linter happy 2024-06-12 11:26:37 +02:00
Eric Lin
3730f2614a controlplane/apiserver: Trim managedFields off self-requested informers
Signed-off-by: Eric Lin <exlin@google.com>
2024-06-12 08:53:52 +00:00
Michal Wozniak
150b255962 Cleanup gc_controller tests to do not use deprecated types 2024-06-12 10:16:48 +02:00
Kubernetes Prow Robot
0aab2a3534
Merge pull request #125449 from harche/fix_err
Report correct error after validating the root container
2024-06-11 22:07:30 -07:00
Kubernetes Prow Robot
96827ea6bf
Merge pull request #125360 from pohly/dra-scheduler-prebind-pending
scheduler: allow PreBind to return "Pending" and "Unschedulable"
2024-06-11 22:07:21 -07:00
Kubernetes Release Robot
9d8edcac2f CHANGELOG: Update directory for v1.30.2 release 2024-06-12 04:05:28 +00:00
kerthcet
1ffa1e17cd Remove noisy log in scheduler_perf
Signed-off-by: kerthcet <kerthcet@gmail.com>
2024-06-12 11:53:35 +08:00