Commit Graph

114233 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
85c09cd1fe
Merge pull request #116079 from cyclinder/kube-dns
bump kube-dns to v1.22.20
2023-02-27 09:20:52 -08:00
Katrina Verey
0dd346673c
Introduce CLI for ApplySet-based pruning (#115979)
* Introduce CLI for ApplySet-based pruning

* Address feedback from justinsb

* Fix parent namespace sourcing and restrict types. Increase test coverage.
2023-02-27 09:20:40 -08:00
Yuan Chen
a24aef6510 Replace a function closure
Replace more closures with pointer conversion

Replace deprecated Int32Ptr to Int32
2023-02-27 09:13:36 -08:00
Rita Zhang
6fd6657d47
kmsv2: add mock kms for reference implementation
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-02-27 08:54:53 -08:00
mantuliu
ccde866a2f Improve the performance of method CandidatesToVictimsMap
Signed-off-by: mantuliu <240951888@qq.com>
2023-02-27 23:53:19 +08:00
Abu Kashem
791fcd6fb4
apiserver: make watch termination during shutdown configurable 2023-02-27 10:49:49 -05:00
Abu Kashem
6385b86a9b
apiserver: terminate watch with a rate limiter during shutdown 2023-02-27 10:49:49 -05:00
Abu Kashem
697d967108
apiserver: watch gets notified on server shutdown signal 2023-02-27 10:49:30 -05:00
DingRui Yang
a50c9db09b
Typo: fix EndpointsLeasesResourceLock ->ConfigMapsLeasesResourceLock
The comment on ConfigMapsLeasesResourceLock begins with the wrong name: EndpointsLeasesResourceLock.
2023-02-27 21:09:07 +08:00
Kubernetes Prow Robot
911631a6e0
Merge pull request #116074 from SataQiu/fix-kubeadm-20230227
kubeadm: modify '--config' flag from required to optional for 'kubeadm kubeconfig user'
2023-02-27 04:58:19 -08:00
weizhichen
d06c0995cb fix 116028 2023-02-27 12:49:44 +00:00
Kubernetes Prow Robot
015e2fa20c
Merge pull request #115953 from pohly/lint-gomega
test: fixing + linting gomega usage
2023-02-27 00:56:20 -08:00
Michal Wozniak
36eef0600d Fix the flaky OOMKiller test by sleep at start 2023-02-27 08:15:46 +01:00
cyclinder
4f913dbcdd bump kube-dns to v1.22.20 2023-02-27 14:34:53 +08:00
Mengjiao Liu
81aefe5fee Improve spec.template.spec.restartPolicy description 2023-02-27 14:25:48 +08:00
SataQiu
70b33409de kubeadm: modify '--config' flag from required to optional for 'kubeadm kubeconfig user' 2023-02-27 12:19:31 +08:00
Kubernetes Prow Robot
0e077bb7ac
Merge pull request #116070 from aramase/aramase/f/kms-pkg/util
[KMS] move util from envelope to kms package
2023-02-26 19:52:18 -08:00
Dave Chen
a825450707 kubeadm: improve test coverage by validating the data structure
data structure is what returned if everything okay, but this
structure is not validated at all both in `init` and `join` cmd.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2023-02-27 10:41:25 +08:00
Yuan Chen
b929908f3b Add symlink check to e2e statefulset app
Fix a bug
2023-02-26 18:37:58 -08:00
Rayowang
119c5f4512 update openapi-spec, generated proto and generated openapi 2023-02-27 10:08:02 +08:00
Rayowang
00c836b44a Fix API field references for autoscaling v1, v2 and v2beta2 2023-02-27 10:02:56 +08:00
Kubernetes Prow Robot
53b8170b97
Merge pull request #116055 from aramase/aramase/f/kubernetes#111923
[KMSv2] log request metadata as part of read/write
2023-02-26 17:02:17 -08:00
Anish Ramasekar
1f98b49bf3
[KMS] move util from envelope to kms package
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-02-27 00:47:46 +00:00
Anish Ramasekar
e40b3cf54e
[KMSv2] log request metadata as part of read/write
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-02-27 00:00:36 +00:00
Kubernetes Prow Robot
b670d1ba7c
Merge pull request #116062 from liggitt/revert-field-manager
Revert "Merge pull request #115324 from alexzielenski/apiserver/smd/use-openapiv3
2023-02-25 15:38:17 -08:00
Jordan Liggitt
6165a12c71
Revert "Merge pull request #115324 from alexzielenski/apiserver/smd/use-openapiv3"
This reverts commit 7efa62dfdf, reversing
changes made to c48a7971e3.
2023-02-25 16:14:23 -05:00
Kubernetes Prow Robot
7ad31bc8c3
Merge pull request #116060 from pacoxu/corefile-migration-no-warning
update github.com/coredns/corefile-migration v1.0.20
2023-02-25 08:58:17 -08:00
Paco Xu
b1ee8c8b82 kubeadm: no need to check if target coredns version is not changed 2023-02-25 21:53:28 +08:00
Paco Xu
744d9bfda3 update github.com/coredns/corefile-migration v1.0.20
- Minor change: Don't return Unsupported/Deprecated plugins for non-migration cases, i.e. when the start version is the same as the end version.
2023-02-25 21:39:44 +08:00
moriya
6b4d08bd5c fix: typo 2023-02-25 19:06:07 +09:00
Kubernetes Prow Robot
7efa62dfdf
Merge pull request #115324 from alexzielenski/apiserver/smd/use-openapiv3
update SSA to use OpenAPIV3 for builtin and CRD models
2023-02-24 20:04:05 -08:00
Kubernetes Prow Robot
c48a7971e3
Merge pull request #116053 from aramase/aramase/c/rm_dek_interarrival_kmsv2
[KMSv2] remove setting `dek_cache_inter_arrival_time_seconds` for KMSv2 only
2023-02-24 19:00:13 -08:00
Kubernetes Prow Robot
a34f8423a7
Merge pull request #115907 from qinqon/svc-same-address-different-pod
svc: Support pods with same address
2023-02-24 19:00:05 -08:00
Kubernetes Prow Robot
70fee660fb
Merge pull request #115854 from kerthcet/cleanup/apiserver-cleanup
Cleanup resources when initializing error in integration
2023-02-24 15:58:05 -08:00
Anish Ramasekar
0e06d09676
[KMSv2] remove setting dek_cache_inter_arrival_time_seconds for KMSv2 only
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-02-24 23:23:40 +00:00
Kubernetes Prow Robot
fb57080e06
Merge pull request #115393 from seans3/openapi3-root
OpenAPI V3 Root interface and basic implementation
2023-02-24 13:21:28 -08:00
Alexander Zielenski
5883203c8f update swagger.json used in tests
dumped from 1.27 apiserver. now test is closesr to what is used in practice
2023-02-24 13:11:48 -08:00
Alexander Zielenski
8a85077a61 crd directly create smd schema from spec.Schema
remove unused builder function
2023-02-24 13:11:48 -08:00
Alexander Zielenski
3e96127af1 clean up unnecessary field 2023-02-24 13:10:01 -08:00
Sean Sullivan
5b482476b1 OpenAPI V3 Root interface and basic implementation 2023-02-24 11:54:34 -08:00
Kubernetes Prow Robot
ad52387994
Merge pull request #116018 from TommyStarK/bug-116012/volumebinding-inaccurate-log
scheduler/framework/plugins/volumebinding: fix inaccurate log for when a volume is bound to a claim
2023-02-24 11:03:28 -08:00
Chen Wang
7db339dba2 This commit contains the following:
1. Scheduler bug-fix + scheduler-focussed E2E tests
2. Add cgroup v2 support for in-place pod resize
3. Enable full E2E pod resize test for containerd>=1.6.9 and EventedPLEG related changes.

Co-Authored-By: Vinay Kulkarni <vskibum@gmail.com>
2023-02-24 18:21:21 +00:00
Vinay Kulkarni
f2bd94a0de In-place Pod Vertical Scaling - core implementation
1. Core Kubelet changes to implement In-place Pod Vertical Scaling.
2. E2E tests for In-place Pod Vertical Scaling.
3. Refactor kubelet code and add missing tests (Derek's kubelet review)
4. Add a new hash over container fields without Resources field to allow feature gate toggling without restarting containers not using the feature.
5. Fix corner-case where resize A->B->A gets ignored
6. Add cgroup v2 support to pod resize E2E test.
KEP: /enhancements/keps/sig-node/1287-in-place-update-pod-resources

Co-authored-by: Chen Wang <Chen.Wang1@ibm.com>
2023-02-24 18:21:21 +00:00
vinay kulkarni
231849a908 In-place Pod Vertical Scaling - Scheduler changes 2023-02-24 18:14:21 +00:00
ahg-g
5bca182544 Allow mutating schedulingGates in the Pod template for suspended Jobs 2023-02-24 18:10:26 +00:00
Kubernetes Prow Robot
67f4f9ad5a
Merge pull request #115666 from wojtek-t/refactor_delete_collection
Minor refactor of DeleteCollection in preparation for pagination support there
2023-02-24 09:43:34 -08:00
vinay kulkarni
3c70be1a12 Generated files and compat data from API changes 2023-02-24 17:18:04 +00:00
Vinay Kulkarni
76962b0fa7 In-place Pod Vertical Scaling - API changes
1. Define ContainerResizePolicy and add it to Container struct.
 2. Add ResourcesAllocated and Resources fields to ContainerStatus struct.
 3. Define ResourcesResizeStatus and add it to PodStatus struct.
 4. Add InPlacePodVerticalScaling feature gate and drop disabled fields.
 5. ResizePolicy validation & defaulting and Resources mutability for CPU/Memory.
 6. Various fixes from code review feedback (originally committed on Apr 12, 2022)
KEP: /enhancements/keps/sig-node/1287-in-place-update-pod-resources
2023-02-24 17:18:04 +00:00
Kubernetes Prow Robot
cfb32121c1
Merge pull request #115928 from pohly/dra-resource-requirements-pvc
DRA resource requirements in PVC
2023-02-24 08:39:35 -08:00
TommyStarK
5531295bf9 scheduler/framework/plugins/volumebinding: fix inaccurate log for when a volume is bound to a claim
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2023-02-24 16:43:38 +01:00