Commit Graph

126363 Commits

Author SHA1 Message Date
Matt Riben
30d9ed7203
disable caching for authoritative zone
Signed-off-by: Matt Riben <matt.riben@swirldslabs.com>
2024-10-29 17:10:07 -05:00
myeunee
9cc65ce872 Restrict cz variable scope within else clause 2024-10-30 06:31:06 +09:00
Kubernetes Release Robot
f01e0d64db CHANGELOG: Update directory for v1.32.0-alpha.3 release 2024-10-29 20:17:52 +00:00
myeunee
2faaedbe39 Refactor error handling for configz initialization
Improved code readability and limited variable scope as per reviewer's suggestion.
2024-10-30 04:53:51 +09:00
Marek Siarkowicz
711772a1e1 Adding tests for using indexers in tests 2024-10-29 20:22:16 +01:00
Kubernetes Prow Robot
988769933e
Merge pull request #128307 from NoicFank/bugfix-scheduler-preemption
bugfix(scheduler): preemption picks wrong victim node with higher priority pod on it
2024-10-29 19:05:02 +00:00
Kubernetes Prow Robot
a12a32cd12
Merge pull request #127146 from bart0sh/PR156-DRA-Kubelet-latency
Kubelet: add DRA latency metrics
2024-10-29 19:04:55 +00:00
Tim Allclair
2407a49956 Reuse cached client config for exec requests in e2e 2024-10-29 10:00:11 -07:00
Kubernetes Prow Robot
c3980f601c
Merge pull request #128267 from benluddy/cbor-response-negotiation
KEP-4222: Test response content negotiation for each CBOR enablement state.
2024-10-29 16:48:55 +00:00
Yuki Iwai
eca7ee877a Self nominate tenzen-y as a reviewer for the Job controller
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-10-30 01:14:47 +09:00
Kubernetes Prow Robot
b8e20b74dd
Merge pull request #128382 from carlory/rm-vac
remove unused vac code
2024-10-29 15:25:05 +00:00
Kubernetes Prow Robot
c5ccf59974
Merge pull request #128379 from pohly/dra-owners-wg-label
DRA: add wg/device-management label automatically
2024-10-29 15:24:57 +00:00
Kubernetes Prow Robot
eb445ac66c
Merge pull request #128414 from soltysh/improve_error
Provide link with e2e guidelines when verity-test-code.sh fails
2024-10-29 14:21:06 +00:00
Kubernetes Prow Robot
c83250d104
Merge pull request #126754 from serathius/watchcache-btree
Reimplement watch cache storage with btree
2024-10-29 14:20:58 +00:00
Kubernetes Prow Robot
d09d98e07c
Merge pull request #128022 from googs1025/cleanup/ut/preemption
chore(scheduler): add unit test for framework preemption part
2024-10-29 13:16:55 +00:00
Marek Siarkowicz
50d2fab279 Implement btree based storage indexer 2024-10-29 13:13:21 +01:00
Maciej Szulik
97fcb05374
Provide link with e2e guidelines when verity-test-code.sh fails
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2024-10-29 13:07:05 +01:00
NoicFank
68f7a7c682 bugfix(scheduler): preemption picks wrong victim node with higher priority pod on it.
Introducing pdb to preemption had disrupted the orderliness of pods in the victims,
which would leads picking wrong victim node with higher priority pod on it.
2024-10-29 19:50:55 +08:00
Patrick Ohly
4419568259 DRA: treat AdminAccess as a new feature gated field
Using the "normal" logic for a feature gated field simplifies the
implementation of the feature gate.

There is one (entirely theoretic!) problem with updating from 1.31: if a claim
was allocated in 1.31 with admin access, the status field was not set because
it didn't exist yet. If a driver now follows the current definition of "unset =
off", then it will not grant admin access even though it should. This is
theoretic because drivers are starting to support admin access with 1.32, so
there shouldn't be any claim where this problem could occur.
2024-10-29 10:22:31 +01:00
Patrick Ohly
9a7e4ccab2 DRA admin access: add feature gate
The new DRAAdminAccess feature gate has the following effects:
- If disabled in the apiserver, the spec.devices.requests[*].adminAccess
  field gets cleared. Same in the status. In both cases the scenario
  that it was already set and a claim or claim template get updated
  is special: in those cases, the field is not cleared.

  Also, allocating a claim with admin access is allowed regardless of the
  feature gate and the field is not cleared. In practice, the scheduler
  will not do that.
- If disabled in the resource claim controller, creating ResourceClaims
  with the field set gets rejected. This prevents running workloads
  which depend on admin access.
- If disabled in the scheduler, claims with admin access don't get
  allocated. The effect is the same.

The alternative would have been to ignore the fields in claim controller and
scheduler. This is bad because a monitoring workload then runs, blocking
resources that probably were meant for production workloads.
2024-10-29 09:50:11 +01:00
Patrick Ohly
f3fef01e79 DRA API: AdminAccess in DeviceRequestAllocationResult
Drivers need to know that because admin access may also grant additional
permissions. The allocator needs to ignore such results when determining which
devices are considered as allocated.

In both cases it is conceptually cleaner to not rely on the content of the
ClaimSpec.
2024-10-29 09:50:07 +01:00
Kubernetes Prow Robot
5f594f4215
Merge pull request #128401 from tenzen-y/use-same-receiver-name
Job: Consistentely use the same reveiver name in the controller
2024-10-29 08:16:55 +00:00
Kubernetes Prow Robot
66b3dc1a38
Merge pull request #128400 from tenzen-y/use-uid-typed-instead-of-string
Job: Refactor uncountedTerminatedPods to avoid casting everywhere
2024-10-29 06:32:56 +00:00
Yuki Iwai
d4959d8d29 Job: Consistentely use the same reveiver name in the controller
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-10-29 14:11:10 +09:00
Yuki Iwai
a23e7a42d3 Job: Refactor uncountedTerminatedPods to avoid casting everywhere
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-10-29 13:12:35 +09:00
zhifei92
5c01709387 Fix the apiserver panic caused by adding a container when updating a pod
add unit test

refactor:  Merge the test cases into TestMarkPodProposedForResize.

chore:  Add the comment and fix the test names
2024-10-29 10:52:46 +08:00
Kubernetes Prow Robot
ce47f7b416
Merge pull request #128395 from thockin/master
Mark api/openapi-spec/**/*.json as generated files
2024-10-29 02:28:54 +00:00
Kubernetes Prow Robot
685b8b3ba1
Merge pull request #126981 from kannon92/stable-empty-dir-promotion
KEP-1967: promote size backed memory volumes to stable
2024-10-29 01:00:54 +00:00
Kubernetes Prow Robot
36081ff24f
Merge pull request #128321 from yongruilin/reset-label-allow-list
feat(metrics): Add method to reset label allow lists
2024-10-28 23:56:59 +00:00
Kubernetes Prow Robot
961344ddb2
Merge pull request #128124 from PiotrProkop/topology-manager-options-stable
topologymanager: Promote support for improved multi-numa alignment in Topology Manager to GA
2024-10-28 23:56:53 +00:00
Ben Luddy
f831368428
Test response content negotiation with CBOR enablement. 2024-10-28 19:21:21 -04:00
Kubernetes Prow Robot
a15840a34b
Merge pull request #128348 from sanposhiho/patch-12
Fix: use pod-high-priority.yaml to trigger preemption in PreemptionAsync test case
2024-10-28 22:19:17 +00:00
Kubernetes Prow Robot
30ee35516b
Merge pull request #128323 from benluddy/cbor-client-gen
KEP-4222: Support CBOR for generated clients based on client-go feature gating.
2024-10-28 22:19:08 +00:00
Kubernetes Prow Robot
86b99869cb
Merge pull request #128299 from SergeyKanzhelev/updateDHS
Update Device Health fields description for KEP-4680
2024-10-28 22:19:01 +00:00
Kubernetes Prow Robot
eb5c8965be
Merge pull request #128013 from seans3/admission-configuration-strict
AdmissionConfiguration now uses strict validation
2024-10-28 22:18:54 +00:00
Kubernetes Prow Robot
8aae9aabf3
Merge pull request #127661 from pohly/dra-resourceclaim-metrics
DRA resourceclaims: maintain metric of total and allocated claims
2024-10-28 21:12:53 +00:00
Tim Hockin
4ccb7265c4
Mark api/openapi-spec/**/*.json as generated files 2024-10-28 13:33:50 -07:00
Kubernetes Prow Robot
1e7f75292d
Merge pull request #126798 from borg-land/easy-rsa-patch
Use easyrsa from Github
2024-10-28 19:02:53 +00:00
Kubernetes Prow Robot
2fabf5fa63
Merge pull request #128029 from bouaouda-achraf/oom-adjust-score-pod-aware
kubelet(OOM-score-adj): change OOM score adjustment calculation for sidecar container
2024-10-28 17:42:54 +00:00
Ben Luddy
969357b99c
Update vendor (client now calls ParseAccept from goautoneg). 2024-10-28 13:15:28 -04:00
Ben Luddy
67b9dc1f3e
Wire client feature gates affecting RESTClient content config. 2024-10-28 13:15:28 -04:00
Kubernetes Prow Robot
78fed9dbcd
Merge pull request #128390 from aroradaman/netlink-bump
bump: github.com/vishvananda/netlink
2024-10-28 16:36:54 +00:00
Ed Bartosh
c1cd8495a5 kubelet: define custom buckets for DRA metrics 2024-10-28 18:04:51 +02:00
Patrick Ohly
9d1b0654e0 DRA: add wg/device-management label automatically
This makes PRs show up automatically in the WG's project
board (https://github.com/orgs/kubernetes/projects/95/views/1).
2024-10-28 16:36:04 +01:00
Daman Arora
440c6dfd9a bump: github.com/vishvananda/netlink
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-10-28 20:36:14 +05:30
Kubernetes Prow Robot
646b0bc49b
Merge pull request #128354 from SataQiu/join-control-plane-e2e
kubeadm: support joining control plane nodes in dryrun mode without a real initialized control plane
2024-10-28 14:40:55 +00:00
Daman Arora
6657d220d3 proxy: cleanup UpdateServiceMapResult
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-10-28 20:10:46 +05:30
Daman Arora
c398af07fa proxy: refactor UpdateEndpointsMapResult
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-10-28 20:10:34 +05:30
Daman Arora
1ad8880c0f proxy/conntrack: reconciler
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-10-28 20:08:53 +05:30
Daman Arora
ba3940c2e0 proxy/conntrack: interface update
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-10-28 20:08:53 +05:30