Commit Graph

119868 Commits

Author SHA1 Message Date
Taahir Ahmed
bd6431323a ClusterTrustBundle projection: e2e test 2023-11-03 12:08:35 -07:00
Taahir Ahmed
96e610ac18 ClusterTrustBundle: Enforce max size during validation 2023-11-03 11:40:49 -07:00
Taahir Ahmed
1ebe5774d0 kubelet: Support ClusterTrustBundlePEM projections 2023-11-03 11:40:48 -07:00
Taahir Ahmed
e83baddbb1 LRUExpireCache: Allow removing multiple keys under lock 2023-11-03 11:40:48 -07:00
Taahir Ahmed
599fdb7add Regenerate for ClusterTrustBundlePEM projected volume API 2023-11-03 11:40:48 -07:00
Taahir Ahmed
ecfdc8fda5 Define ClusterTrustBundlePEM projected volume
This commit defines the ClusterTrustBundlePEM projected volume types.
These types have been renamed from the KEP (PEMTrustAnchors) in order to
leave open the possibility of a similar projection drawing from a
yet-to-exist namespaced-scoped TrustBundle object, which came up during
KEP discussion.

* Add the projection field to internal and v1 APIs.
* Add validation to ensure that usages of the project must specify a
  name and path.
* Add TODO covering admission control to forbid mirror pods from using
  the projection.

Part of KEP-3257.
2023-11-03 11:40:48 -07:00
Taahir Ahmed
0fd1362782 ClusterTrustBundles: ClusterTrustBundleProjection feature gate 2023-11-03 11:40:48 -07:00
Kubernetes Prow Robot
66e20ff891
Merge pull request #121394 from pohly/e2e-framework-test-labels
e2e: test labels
2023-11-03 17:35:03 +01:00
Patrick Ohly
2a23061f6c scheduler: fix performance regression at -v3 + contextual logging
The logging instrumentation for contextual logging that was added for 1.29
slowed down the scheduler (i.e. logging verbosity <= 3) by a significant
percentage (-28.66% for SchedulingBasic/5000Nodes at -v3) if (and only if!)
contextual logging was enabled.

Retrieving the logger from the context causes no measurable slowdown, it's only
the various WithName/WithValues calls which cause this.

By being more careful about when to use those, the performance impact can be
avoided:
- At -v3 or lower, only `WithValues("pod")` is used once per scheduling cycle.
  This has the intended effect that all log messages for the cycle include the
  pod information. Once contextual logging is GA, "pod" key/value pairs can
  be removed from all log calls.
- At -v4 or higher, richer log entries get produced where `WithValues` is also
  used for the node (when applicable) and `WithName` is used for the current
  operation and plugin.

With these changes, enabling contextual logging causes no measurable slowdown
at -v3 or lower. At -v4, the slowdown depends on the test case (-30.51%
throughput for SchedulingBasic/5000Nodes, no change for
SchedulingCSIPVs/5000Nodes). For some unknown reason (measuring bias?),
SchedulingCSIPVs/500Nodes has a ~3& *higher* throughput with contextual
logging.
2023-11-03 17:28:55 +01:00
Abu Kashem
e5bba37f20
apiserver: promote flowcontrol tests to conformance 2023-11-03 11:08:07 -04:00
Kubernetes Prow Robot
3716bd7681
Merge pull request #121717 from neolit123/1.29-cleanup-kube-dns-service-e2e-tests
test/e2e_kubeadm/dns_addon_test.go: drop kube-dns tests
2023-11-03 14:13:54 +01:00
Kubernetes Prow Robot
f883370b8a
Merge pull request #121679 from bzsuni/fix/integration/apiserver/discovery/service-go/WaitForReady
Fix parameter passing error in function WaitForReady in file test/integration/apiserver/discovery
2023-11-03 13:02:46 +01:00
Kubernetes Prow Robot
edb39d703b
Merge pull request #121583 from bzsuni/fix/e2e/apimachinery
Fix the e2e bug related to the Garbage collector in api-machinery
2023-11-03 13:02:34 +01:00
Alexander Constantinescu
9ae1fc366b Store nodes before calling EnsureLoadBalancer
I am having difficulties convincing myself if this is better or worse.
I didn't implement this originally because I didn't want to store nodes that
we weren't sure we've configured. However: if EnsureLoadBalancer fails we
should retry the call from the service controller. Doing it like this might
save us one update call from the node controller side for calls which have
already started executing from the service controller's side...is this really
that expensive at this point though? Is it really that dangerous to not do
either, given that we retry failed calls? Ahhhhh!!! Opinions, please! Help, please!
2023-11-03 11:42:53 +01:00
Alexander Constantinescu
60338c79d7 KCCM: fix slow node sync + service update 2023-11-03 11:42:53 +01:00
Alexander Constantinescu
a8673fa5b4 KCCM: add test validating slow node sync issue 2023-11-03 11:42:53 +01:00
Lubomir I. Ivanov
b565fbeac0 test/e2e_kubeadm/dns_addon_test.go: drop kube-dns tests
kube-dns as an alternative DNS addon to CoreDNS hasn't been supported
since 1.22 when kubeadm's v1beta3 API was added.

Remove the related tests from the e2e_kubeadm test framework.
2023-11-03 12:05:22 +02:00
Paco Xu
2259ac2444 pause: add --provenance=false during etcd multi-arch build 2023-11-03 14:32:54 +08:00
kerthcet
50f092c136 Add kubernetes.io/hostname to faked nodes in tests
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-11-03 11:47:36 +08:00
kerthcet
5bf63036c7 Make EnablePodSchedulingReadiness public
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-11-03 11:44:56 +08:00
Kubernetes Prow Robot
c3eebb233d
Merge pull request #121709 from aramase/aramase/f/authn_user_info_fix
[StructuredAuthn] Ensure empty fields of user object are accessible by CEL
2023-11-03 03:16:04 +01:00
Kubernetes Prow Robot
fb9c94b3a5
Merge pull request #121705 from liggitt/authz-config-webhook-test
Add multi-webhook integration test
2023-11-03 01:29:52 +01:00
Jordan Liggitt
0112d91a05
Add multi-webhook integration test 2023-11-02 19:21:06 -04:00
Anish Ramasekar
b693f09d54
[StructuredAuthn] Ensure empty fields of user object are accessible by
CEL

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-11-02 22:53:06 +00:00
Aravindh Puthiyaparambil
34b2c4e1ed
framework: add SSH support for Azure
Add Azure to the list of providers that support accessing nodes
using SSH.
Note: This will require a follow up PR adding the required
environment variables, AZURE_SSH_KEY, KUBE_SSH_BASTION to the test
configuration.
2023-11-02 15:01:31 -07:00
Jordan Liggitt
44d89c8cf8
Include empty string attributes for CEL authz evaluation 2023-11-02 16:56:52 -04:00
Jordan Liggitt
2e2f51a441
Plumb failure policy from config to webhook construction 2023-11-02 16:56:51 -04:00
Kubernetes Release Robot
0674135c1a CHANGELOG: Update directory for v1.29.0-alpha.3 release 2023-11-02 19:00:00 +00:00
Jordan Liggitt
a000af25ff
Require match condition version only if matchConditions are specified 2023-11-02 13:54:39 -04:00
Kubernetes Prow Robot
6eee80fa9a
Merge pull request #121633 from mimowo/backoff-limit-per-index-remaining-e2e-test
Add remaining e2e tests for Job BackoffLimitPerIndex based on KEP
2023-11-02 16:11:31 +01:00
Kubernetes Prow Robot
6c64593ba1
Merge pull request #120616 from kannon92/kubelet-disk-api-changes
Kubelet disk api changes
2023-11-02 16:11:20 +01:00
Kevin Hannon
baebc376ff missed a few summary upper limits for major page faults 2023-11-02 10:26:43 -04:00
Kubernetes Prow Robot
1f69e12148
Merge pull request #121653 from tkashem/apf-conformance-test
Add conformance tests for flowcontrol APIs
2023-11-02 14:44:47 +01:00
Kubernetes Prow Robot
73ef630138
Merge pull request #121566 from mzaian/etcd-3510
etcd: Update to version 3.5.10
2023-11-02 14:44:38 +01:00
Kubernetes Prow Robot
3240e2b28e
Merge pull request #121674 from neolit123/1.29-super-admin-conf
test/e2e_kubeadm: add test for the kubeadm:cluster-admins CRB
2023-11-02 12:10:08 +01:00
Mohamed Omar Zaian
3c268b7524 etcd: Update to version 3.5.10 2023-11-02 10:30:41 +01:00
Kubernetes Prow Robot
515d1ce6c0
Merge pull request #121393 from mimowo/backoff-limit-per-index-load-test
Benchmark job with backoff limit per index
2023-11-02 09:58:26 +01:00
Lubomir I. Ivanov
4c532213ae test/e2e_kubeadm: add test for the kubeadm:cluster-admins CRB
Add a test that checks if the CRB (kubeadm:cluster-admins)
used for binding admin.conf file users (part of the
kubeadm:cluster-admins Group) to the "cluster-admins"
ClusterRole exists in kubeadm clusters.

It does that only for versions newer than the version
when this feature was added.
2023-11-02 09:49:29 +02:00
Michal Wozniak
ae73cf9cfb Add remaining e2e tests for backoffLimitPerIndex based on KEP 2023-11-02 08:23:41 +01:00
Kubernetes Prow Robot
227d1b2357
Merge pull request #119762 from AxeZhan/PollUntilContextCancel
wait.PollUntilContextCancel immediately executes condition once
2023-11-02 05:40:03 +01:00
Kubernetes Prow Robot
6b8b188149
Merge pull request #121686 from logicalhan/update-inst-docs
update docs for v1.29 release (note this must be committed after code freeze)
2023-11-02 02:34:57 +01:00
James Sturtevant
2d9128116b
Use golang library instead of mklink
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2023-11-01 22:30:12 +00:00
Han Kang
85b10c06fa update docs for v1.29 release (note this must be committed after code freeze) 2023-11-01 15:00:48 -07:00
Kubernetes Prow Robot
9754e40439
Merge pull request #121682 from liggitt/conditional-rbac
Make service-cidrs-controller role feature-gated
2023-11-01 21:16:21 +01:00
Jordan Liggitt
cda349cda4
Make service-cidrs-controller role feature-gated 2023-11-01 15:10:33 -04:00
Kubernetes Prow Robot
4c54ff0e16
Merge pull request #121671 from kannon92/fix-swap-summary-failure
increase bounded limits for major page faults
2023-11-01 20:07:30 +01:00
Kevin Hannon
26923b91e8 implementation of split disk kep 2023-11-01 14:46:33 -04:00
bzsuni
003e4886c6 Fix parameter passing error
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-11-02 01:14:45 +08:00
Kubernetes Prow Robot
9e84a02950
Merge pull request #121672 from pohly/golangci-lint-comment-check-fix
golangci-lint: tone down comment checking
2023-11-01 17:47:45 +01:00
Alexander Zielenski
18adc30933 refactor: rename TransitionRule to UsesOldSelf
not all rules that use OldSelf are transition rules, and this flag was used to check for oldSelf usage anyway, not specifically whether the rule was a transition rule
2023-11-01 09:31:52 -07:00