Commit Graph

115088 Commits

Author SHA1 Message Date
Jordan Liggitt
188844c3db
Make prerelease tag optional in CI versions 2023-03-21 09:23:45 -04:00
Jordan Liggitt
2010eaac52
Annotate CI version regexes 2023-03-21 09:08:05 -04:00
Jordan Liggitt
9ba4df15f8
Drop unused regex grouping 2023-03-21 09:08:05 -04:00
Jordan Liggitt
bff737d328
Update comments 2023-03-21 09:08:04 -04:00
Jordan Liggitt
e33a233c3b
Delete unused version regex function 2023-03-21 09:08:04 -04:00
Kubernetes Prow Robot
c9ff286668
Merge pull request #116772 from jiahuif-forks/fix/validating-admission-policy/message-expression-validation
ValidatingAdmissionPolicy: fix policy object validation
2023-03-20 15:21:11 -07:00
Kubernetes Prow Robot
ac01acb8da
Merge pull request #116756 from liggitt/release-note-cleanup
Fixup 1.27 release note
2023-03-20 12:43:07 -07:00
Jiahui Feng
33c3fe3f74 differentiate kinds of expressions. 2023-03-20 12:13:21 -07:00
Kubernetes Prow Robot
15894cfc85
Merge pull request #116550 from alculquicondor/fix-bind-uid
Preserve UID and ResourceVersion in BindingREST
2023-03-20 08:49:20 -07:00
Jordan Liggitt
5949cb4d5c
Fixup 1.27 release note 2023-03-20 11:01:51 -04:00
Aldo Culquicondor
62889f416c
Preserve UID/ResourceVersion in the BindingREST endpoint
Change-Id: If4023da10c455963a320fdb9fc2a73c099bea3db
2023-03-20 10:29:25 -04:00
Kubernetes Prow Robot
fe91bc257b
Merge pull request #116554 from atiratree/eviction-resource-version-fix
API-initiated eviction: handle deleteOptions correctly
2023-03-17 16:59:15 -07:00
Kubernetes Prow Robot
c14e0983fb
Merge pull request #116684 from vinaykul/restart-free-pod-vertical-scaling-fixes
Add missing unit test for resource resize policy defaulting
2023-03-17 15:13:17 -07:00
Filip Křepinský
51c0e2374f API-initiated eviction: handle deleteOptions correctly
when adding a DisruptionTarget condition into a pod that will be deleted

- handle ResourceVersion and Preconditions correctly
- handle DryRun option correctly

Co-authored-by: Jordan Liggitt jordan@liggitt.net
2023-03-17 22:18:07 +01:00
Kubernetes Prow Robot
05740daeed
Merge pull request #116718 from dims/move-the-arm-deprecation-notice-elsewhere
Move the arm deprecation notice in a different spot
2023-03-17 14:01:16 -07:00
Kubernetes Release Robot
fd16329f64 CHANGELOG: Update directory for v1.26.3 release 2023-03-17 19:07:06 +00:00
Kubernetes Release Robot
7387ccbd31 CHANGELOG: Update directory for v1.25.8 release 2023-03-17 17:48:15 +00:00
Kubernetes Release Robot
a4e62edcc9 CHANGELOG: Update directory for v1.24.12 release 2023-03-17 17:10:22 +00:00
Kubernetes Prow Robot
aa0fea6944
Merge pull request #116706 from pacoxu/deflake-kubemark-data-race
kubelet: fix data races
2023-03-17 08:41:26 -07:00
Davanum Srinivas
26313ed2b0
Move the arm deprecation notice in a different spot
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-03-17 10:28:32 -04:00
Paco Xu
5134520a3b add lock in volume manager reconciler to avoid data race
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2023-03-17 21:29:10 +08:00
Paco Xu
7afcfe1826 kubelet: use filepath.Clean before init, validate it in setupDataDirs 2023-03-17 15:45:39 +08:00
Kubernetes Prow Robot
8b2dae57d4
Merge pull request #116705 from pacoxu/fix-verify-master
update openapi-spec
2023-03-17 00:39:18 -07:00
vinay kulkarni
0c2c132005 Update in-place pod resize changelog to remove unwanted release note, make feature description user friendly 2023-03-17 05:43:30 +00:00
vinay kulkarni
0ee5d43d74 Add unit tests covering ephemeral storage resource combinations 2023-03-17 05:43:30 +00:00
vinay kulkarni
07c567a848 Add missing unit test for resource resize policy defaulting 2023-03-17 05:43:30 +00:00
Paco Xu
8d38b30f82 update openapi-spec 2023-03-17 13:06:06 +08:00
Kubernetes Release Robot
8e01ee79bf CHANGELOG: Update directory for v1.27.0-beta.0 release 2023-03-17 00:49:13 +00:00
Kubernetes Prow Robot
e1c2af399a
Merge pull request #115331 from mimowo/kubelet-fail-pending-deleted-pods
Give terminal phase correctly to all pods that will not be restarted
2023-03-16 16:47:17 -07:00
Kubernetes Prow Robot
76d351065e
Merge pull request #116623 from lavalamp/xfrmr
change where transformers are called
2023-03-16 15:03:19 -07:00
Michal Wozniak
3d68f362c3 Give terminal phase correctly to all pods that will not be restarted 2023-03-16 21:25:29 +01:00
Clayton Coleman
58d1dc669f kubelet: Remove status manager channel
The status manager channel forces all container status to be
processed, even if multiple updates are generated in succession.
Instead of queueing the updates, just remember which ones changed
and process them in a batch. This should reduce QPS load from
the Kubelet for status, reduce latency of status propagation to
the API in general, and is easier to reason about.

This also prevents status from being lost when the channel is
full - all updates sent by SetPodStatus are guaranteed to be
recorded. Changing to remove the channel allows us to set a
marker flag when the pod worker state machine completes that
avoids the status manager having to call into the pod worker
directly.
2023-03-16 21:22:43 +01:00
Kubernetes Prow Robot
a34e37c996
Merge pull request #113218 from ahmedtd/kep-3257
Add certificates.k8s.io/v1alpha1 ClusterTrustBundle
2023-03-16 11:13:20 -07:00
Sathyanarayanan Saravanamuthu
c84c8add70
Decouple batch/job back-off logic from workqueues (#114768)
* batch/job: decouple backoff from workqueue

Signed-off-by: Sathyanarayanan Saravanamuthu <sathyanarays@vmware.com>

* Resolving review comments

* Resolving more review comments

* Resolving review comments

Signed-off-by: Sathyanarayanan Saravanamuthu <sathyanarays@vmware.com>

* Computing finish time to now when FinishedAt is unix epoch

* Addressing review comments

Signed-off-by: Sathyanarayanan Saravanamuthu <sathyanarays@vmware.com>

---------

Signed-off-by: Sathyanarayanan Saravanamuthu <sathyanarays@vmware.com>
2023-03-16 10:15:21 -07:00
Kubernetes Prow Robot
856d6d9caa
Merge pull request #116172 from wojtek-t/fix_watch_cache
Fix missed watch events when watch is initialized simultanously with reinitializing watchcache
2023-03-16 07:31:21 -07:00
Wojciech Tyczyński
3277d85604 Fix missed watch events 2023-03-16 14:32:11 +01:00
Taahir Ahmed
51f759aa05 ClusterTrustBundles: kube-apiserver integration tests 2023-03-15 20:19:48 -07:00
Taahir Ahmed
2e4b637bf8 ClusterTrustBundles: make update 2023-03-15 20:10:59 -07:00
Taahir Ahmed
6a75e7c40c ClusterTrustBundles: Define types
This commit is the main API piece of KEP-3257 (ClusterTrustBundles).

This commit:

* Adds the certificates.k8s.io/v1alpha1 API group
* Adds the ClusterTrustBundle type.
* Registers the new type in kube-apiserver.
* Implements the type-specfic validation specified for
  ClusterTrustBundles:
  - spec.pemTrustAnchors must always be non-empty.
  - spec.signerName must be either empty or a valid signer name.
  - Changing spec.signerName is disallowed.
* Implements the "attest" admission check to restrict actions on
  ClusterTrustBundles that include a signer name.

Because it wasn't specified in the KEP, I chose to make attempts to
update the signer name be validation errors, rather than silently
ignored.

I have tested this out by launching these changes in kind and
manipulating ClusterTrustBundle objects in the resulting cluster using
kubectl.
2023-03-15 20:10:18 -07:00
Kubernetes Prow Robot
742316ee21
Merge pull request #116631 from bobbypage/standalone-repro
test: Update standalone test in node e2e
2023-03-15 18:27:26 -07:00
Kubernetes Prow Robot
a4302915c9
Merge pull request #116305 from danwinship/cloud-node-ips
KEP-3705 cloud dual-stack --node-ip
2023-03-15 18:27:14 -07:00
Max Smythe
e5fd204c33
Custom match criteria (#116350)
* Add custom match conditions for CEL admission

This PR is based off of, and dependent on the following PR:

https://github.com/kubernetes/kubernetes/pull/116261

Signed-off-by: Max Smythe <smythe@google.com>

* run `make update`

Signed-off-by: Max Smythe <smythe@google.com>

* Fix unit tests

Signed-off-by: Max Smythe <smythe@google.com>

* Fix unit tests

Signed-off-by: Max Smythe <smythe@google.com>

* Update compatibility test data

Signed-off-by: Max Smythe <smythe@google.com>

* Revert "Update compatibility test data"

This reverts commit 312ba7f9e74e0ec4a7ac1f07bf575479c608af28.

* Allow params during validation; make match conditions optional

Signed-off-by: Max Smythe <smythe@google.com>

* Add conditional ignoring of matcher CEL expression validation on update

Signed-off-by: Max Smythe <smythe@google.com>

* Run codegen

Signed-off-by: Max Smythe <smythe@google.com>

* Add more validation tests

Signed-off-by: Max Smythe <smythe@google.com>

* Short-circuit CEL matcher when no matchers specified

Signed-off-by: Max Smythe <smythe@google.com>

* Run codegen

Signed-off-by: Max Smythe <smythe@google.com>

* Address review comments

Signed-off-by: Max Smythe <smythe@google.com>

---------

Signed-off-by: Max Smythe <smythe@google.com>
2023-03-15 17:23:15 -07:00
Kubernetes Prow Robot
6711a81f02
Merge pull request #116657 from pacoxu/fix-explain
make `kubectl explan` test tolerate either  "RESOURCE" or "FIELD"
2023-03-15 14:43:05 -07:00
Dan Winship
068ee321bc Add CloudDualStackNodeIPs feature gate(s)
Add CloudDualStackNodeIPs feature gates for kubelet and
cloud-controller-manager and use as appropriate.
2023-03-15 17:15:51 -04:00
David Porter
6ead3e3945 test: Update standalone test in node e2e
* Slightly changed pod spec to repro issue #116262
* Refactor test to ensure that the static pod is deleted even if the
  test fails

Signed-off-by: David Porter <david@porter.me>
2023-03-15 14:00:39 -07:00
Kubernetes Prow Robot
ad4cbd4c85
Merge pull request #116628 from SergeyKanzhelev/fixStandaloneTest
fix standalone test
2023-03-15 13:47:17 -07:00
Kubernetes Prow Robot
39c01ded6a
Merge pull request #116612 from robscott/topology-annotation-validation
Adding validation for Topology annotations
2023-03-15 13:47:05 -07:00
Daniel Smith
e76dff38cf Change where transformers are called. 2023-03-15 20:45:45 +00:00
Paco Xu
b3690bf637 accept either FIELD or RESOURCE for kubectl explain to meet skew policy 2023-03-16 03:38:43 +08:00
Kubernetes Prow Robot
2ae7bc36de
Merge pull request #116664 from logicalhan/md
update documentation for metrics for 1.27
2023-03-15 12:20:43 -07:00