holder
6d7a1226d5
update the test case name
...
(cherry picked from commit de033352079c7d87417f88f073d6b7891e51e590)
2024-10-29 12:08:23 +02:00
holder
39726b119f
fix: fix state validate error after memorymanager with static policy start
...
(cherry picked from commit b91951f847d0b159c9d8ef32688cc96489ac1884)
2024-10-29 12:08:16 +02:00
Davanum Srinivas
0a124e28b6
Fix for DaemonRestart [Disruptive] tests
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-08-31 21:15:23 -04:00
Kubernetes Prow Robot
df577d7fbc
Merge pull request #127035 from alvaroaleman/rename-TypedNewDelayingQueue
...
Rename TypedNewDelayingQueue to NewTypedDelayingQueue
2024-08-31 19:46:44 +01:00
Alvaro Aleman
45da5dc30e
Rename TypedNewDelayingQueue to NewTypedDelayingQueue
...
This change renames NewTypedDelayingQueue to NewTypedDelayingQueue to
stay consistent with the naming scheme in the package. A
NewTypedDelayingQueue constructor is kept for backwards compatibility
but marked as deprecated.
2024-08-31 12:11:20 -04:00
Kubernetes Prow Robot
ed373709d8
Merge pull request #126786 from thockin/remove_AllowServiceLBStatusOnNonLB_gate
...
Remove AllowServiceLBStatusOnNonLB gate
2024-08-31 11:22:43 +01:00
Kubernetes Prow Robot
2ecff6d0db
Merge pull request #126940 from pohly/dra-1.31-api-comments
...
DRA API: update some comments
2024-08-31 06:14:43 +01:00
Kubernetes Prow Robot
4cfdad0935
Merge pull request #127023 from aimuz/fix-lead
...
leaderelection: replace deprecated wait.PollImmediateUntil with wait.PollUntilContextTimeout
2024-08-30 22:18:44 +01:00
Kubernetes Prow Robot
c3cb89ebb0
Merge pull request #127010 from aramase/aramase/f/kep_3331_jti
...
Set credential-id in userinfo.extra for jwt authenticators if jti claim present
2024-08-30 20:06:45 +01:00
Anish Ramasekar
c22a41e879
Set credential-id in userinfo.extra for jwt authenticators if jti claim present
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-08-30 11:02:44 -07:00
Kubernetes Prow Robot
ed75e55c44
Merge pull request #127001 from skitt/applyconfiguration-gen-ambiguous
...
Handle ambiguous fields in applyconfiguration-gen
2024-08-30 17:18:44 +01:00
Stephen Kitt
689d6ef7a3
Run codegen
...
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-08-30 17:11:03 +02:00
Kubernetes Prow Robot
494f0b5d47
Merge pull request #127008 from Jefftree/agg-discovery-remove-generated-v2beta1
...
Remove v2beta1 aggregated discovery from being generated
2024-08-30 16:07:02 +01:00
Stephen Kitt
68bad250b6
applyconfiguration-gen: handle conflicting members
...
With embedded structs, objects can end up with conflicting members.
These aren't ambiguous in Go, but applyconfiguration-gen's generated
functions ignore this possibility and produce ambiguous member
accesses and duplicate methods.
This resolves the problem by qualifying embedded member accesses with
their types when appropriate, and by memoizing generated function
names to avoid duplicates. When conflicting members are encountered,
functions are generated for the first one; this is assumed to produce
correct results.
For applyconfiguration-gen, a more correct approach would be to only
generate With... and Get... functions for the specific members the
generator is interested in; but that would be a breaking change for
any client code relying on the other With... functions.
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-08-30 16:12:46 +02:00
Stephen Kitt
63439abb40
Add an example of conflicting members in apply configurations
...
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-08-30 16:12:46 +02:00
Kubernetes Prow Robot
fd58143ed2
Merge pull request #126265 from tnqn/fix-watch-error
...
Enrich the error returned from Request.Watch method
2024-08-30 14:47:31 +01:00
aimuz
3d2f498aa3
leaderelection: replace deprecated wait.PollImmediateUntil with wait.PollUntilContextTimeout
...
This commit refactors the `renew` function in the leader election package to replace
the deprecated `wait.PollImmediateUntil` with `wait.PollUntilContextTimeout`.
This change simplifies the context handling by removing the need for an additional
timeout context and its cancellation.
The previous implementation created a timeout context for each retry period,
which added unnecessary complexity. The new implementation directly passes the parent
context to the retry function, ensuring that the timeout is handled within `PollUntilContextTimeout`.
This change also ensures that the context passed to `tryAcquireOrRenew` and
`tryCoordinatedRenew` is consistent, improving the readability and maintainability of the code.
2024-08-30 19:25:45 +08:00
Kubernetes Prow Robot
de6db3ffb0
Merge pull request #126758 from my-git9/dryrun-ut
...
kubeadm: increase ut coverage for util/dryrun
2024-08-30 06:33:30 +01:00
xin.li
6f7f49c3df
kubeadm: increase ut coverage for util/dryrun
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-08-30 10:53:04 +08:00
Kubernetes Prow Robot
c93f93c714
Merge pull request #127006 from deads2k/clarify-local-ref
...
clarify that new usages of generic *ObjectReference structs are discouraged
2024-08-30 00:25:31 +01:00
David Eads
39c6f57b54
generated
2024-08-29 15:27:30 -04:00
Kubernetes Prow Robot
baf11b01c5
Merge pull request #126989 from cpanato/update-rules
...
Update publishing-bot rules to Go 1.22.6
2024-08-29 19:33:31 +01:00
Jefftree
8dd2c7de47
Remove v2beta1 aggregated discovery from being generated
2024-08-29 18:08:11 +00:00
David Eads
06628afc99
clarify that new usages of generic *Reference structs are discouraged
2024-08-29 13:54:08 -04:00
cpanato
dec204d49f
drop rules for release-1.27 as this branch is EOL
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-08-29 17:59:00 +02:00
Kubernetes Prow Robot
45804907d2
Merge pull request #126727 from jpbetz/fix-fake-apply-name
...
Stamp fake client apply reuqests with name from action
2024-08-29 16:49:45 +01:00
Kubernetes Prow Robot
dc8c42752a
Merge pull request #126574 from tkashem/apf-data-race
...
Fix data race in APF tests
2024-08-29 16:49:38 +01:00
Kubernetes Prow Robot
a4ec0c039a
Merge pull request #126435 from bart0sh/PR151-Kubelet-devicemanager-stop-using-CDI-annotations
...
Kubelet: stop using CDI annotations
2024-08-29 16:49:30 +01:00
Kubernetes Prow Robot
0ce7f7e25e
Merge pull request #126994 from dgoodwin/apply-fieldmanager
...
Add required FieldManager for validatingadmissionpolicy e2e
2024-08-29 15:31:46 +01:00
Devan Goodwin
98114a9fdf
Add required FieldManager for validatingadmissionpolicy e2e
...
This line would fail if the code path happened to execute, which may not
happen in upstream, but does trigger occasionally in OpenShift testing.
2024-08-29 09:10:47 -03:00
cpanato
8e1ba3b94e
Update publishing-bot rules to Go 1.22.6
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-08-29 12:59:04 +02:00
Kubernetes Prow Robot
6de748d97b
Merge pull request #126968 from serathius/watchache-refactor-store
...
Watch cache refactor watch cache store and add tests
2024-08-29 10:24:29 +01:00
Marek Siarkowicz
c93d2e8fb1
Extract watch cache store to separate file and cover with tests
2024-08-29 10:14:51 +02:00
Marek Siarkowicz
7400d57943
Refactor WaitUntilFreshAndList to split out filtering to separate function
2024-08-29 10:14:51 +02:00
Kubernetes Prow Robot
eebc897e4f
Merge pull request #126980 from dims/fix-for-GenericPersistentVolume-disruptive-test-failures
...
Fix for GenericPersistentVolume/Disruptive test failures
2024-08-29 01:38:28 +01:00
Kubernetes Prow Robot
4aca09bc0c
Merge pull request #126966 from saschagrunert/cni-plugins
...
Update cni-plugins to v1.5.1
2024-08-28 21:58:19 +01:00
Kubernetes Prow Robot
aa45153447
Merge pull request #126954 from deads2k/retry-http2
...
automatically retry GET requests when http2 connection lost
2024-08-28 21:58:10 +01:00
Kubernetes Prow Robot
59051eb003
Merge pull request #126029 from sanposhiho/backoff-preenqueue
...
scheduler: impose a backoff penalty on gated Pods
2024-08-28 21:58:01 +01:00
Davanum Srinivas
8dc84eda9d
Fix for GenericPersistentVolume/Disruptive test failures
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-08-28 16:18:43 -04:00
Kubernetes Prow Robot
e74205b08a
Merge pull request #126961 from carlory/fix-124398
...
kubelet: csi plugin stop watching the volumeattachment object
2024-08-28 20:41:40 +01:00
Kubernetes Prow Robot
3d65369f34
Merge pull request #126957 from dashpole/fix_tracing_leak
...
Fix memory leak from global OpenTelemetry MeterProvider
2024-08-28 19:29:17 +01:00
Kubernetes Prow Robot
71389d5082
Merge pull request #126920 from atiratree/statefulset-autodelete-pvc-rbac
...
add missing RBAC to statefulset-controller for StatefulSetAutoDeletePVC feature
2024-08-28 19:29:10 +01:00
Kubernetes Prow Robot
fee426fabc
Merge pull request #126910 from carlory/vac
...
migrate kube feature VolumeAttributesClass to new versioned kube feature file and syntax
2024-08-28 19:29:03 +01:00
Kubernetes Prow Robot
26f399921f
Merge pull request #126627 from fusida/fix-reduce-etcd-conn
...
fix short circuit if the compaction request from apiserver is disabled
2024-08-28 19:28:57 +01:00
Kubernetes Prow Robot
bbd83d8644
Merge pull request #125634 from ahmedtd/x509credentialID
...
Define credential IDs for X.509 certificates
2024-08-28 16:02:56 +01:00
David Ashpole
4aa655c2d7
update-vendor
2024-08-28 14:27:36 +00:00
David Ashpole
b86cab8c4c
fix memory leak from global MeterProvider
2024-08-28 14:20:46 +00:00
Kubernetes Prow Robot
f164b47ae7
Merge pull request #126964 from my-git9/addon-metricsserver
...
addons: update metrics-server to v0.7.2
2024-08-28 13:20:56 +01:00
Sascha Grunert
931b9b3a70
Update cni-plugins to v1.5.1
...
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-08-28 12:58:36 +02:00
xin.li
c280a6837b
addons: update metrics-server to v0.7.2
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-08-28 17:57:52 +08:00