Kubernetes Prow Robot
6a25c528bb
Merge pull request #115891 from bart0sh/PR103-CRI-add-CDI-devices
...
DRA: Pass CDI devices with a new CRI field
2023-02-28 14:53:28 -08:00
Kubernetes Prow Robot
18eea58ac2
Merge pull request #115359 from iancoolidge/devel-cpuset
...
More code-review changes from k/utlils cpuset review
2023-02-28 10:55:16 -08:00
Ed Bartosh
5a86895070
DRA: pass CDI devices through CRI CDIDevice field
2023-02-28 19:21:20 +02:00
Kubernetes Prow Robot
e519921666
Merge pull request #115940 from ahg-g/ahg-mutable-ga
...
Allow mutating schedulingGates in the Pod template for suspended Jobs
2023-02-28 08:51:17 -08:00
Kubernetes Prow Robot
f2fdda8667
Merge pull request #115918 from yt2985/genericWatch
...
Partition watchers by namespace/name scope
2023-02-28 01:47:17 -08:00
Kubernetes Prow Robot
35f0507dca
Merge pull request #111856 from mengjiao-liu/improve-podSpec.restartPpolicy-description
...
Improve spec.template.spec.restartPolicy description
2023-02-27 22:53:27 -08:00
Kubernetes Prow Robot
b9fd1802ba
Merge pull request #102884 from vinaykul/restart-free-pod-vertical-scaling
...
In-place Pod Vertical Scaling feature
2023-02-27 22:53:15 -08:00
Kubernetes Prow Robot
aad3050519
Merge pull request #116102 from danielvegamyhre/strategy-nit
...
Move AllowElasticIndexedJobs into JobValidationOptions declaration
2023-02-27 19:25:26 -08:00
Kubernetes Prow Robot
e6522f8053
Merge pull request #116095 from sourcelliu/preemption
...
Improve the performance of method CandidatesToVictimsMap
2023-02-27 19:25:15 -08:00
Kubernetes Prow Robot
f6753da51b
Merge pull request #116059 from Gekko0114/fix_typo
...
fix typo on Evictor's Preempt func
2023-02-27 18:19:15 -08:00
Kubernetes Prow Robot
36402f2833
Merge pull request #116039 from liggitt/crd-compat
...
Add CRD compatibility fixtures
2023-02-27 14:55:16 -08:00
Jordan Liggitt
1c2fa0c7f7
Partition watchers by namespace/name scope
2023-02-27 20:38:11 +00:00
Jordan Liggitt
018475269b
Update generated files
2023-02-27 14:16:02 -05:00
Daniel Vega-Myhre
93a74afccb
move AllowElasticIndexedJobs into JobValidationOptions declaration
2023-02-27 18:45:58 +00:00
mantuliu
ccde866a2f
Improve the performance of method CandidatesToVictimsMap
...
Signed-off-by: mantuliu <240951888@qq.com>
2023-02-27 23:53:19 +08:00
Mengjiao Liu
81aefe5fee
Improve spec.template.spec.restartPolicy description
2023-02-27 14:25:48 +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
moriya
6b4d08bd5c
fix: typo
2023-02-25 19:06:07 +09: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
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
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
Patrick Ohly
093469fb30
api: generated files
2023-02-24 16:32:58 +01:00
Patrick Ohly
f32302e744
api: drop Resources.Claims from PVC and PVC template
...
PVC and containers share the same ResourceRequirements struct. The Claims field
in it only makes sense when used in containers. When used in a PVC, the field
should have been rejected by validation. This was overlooked when introducing
it, so now persisted objects might have it set and/or people may have started
to rely on it being accepted even when it has no effect.
Therefore we cannot reject it in validation anymore, but we can still strip
it out on create or update.
2023-02-24 16:32:58 +01:00
Kubernetes Prow Robot
a5f59ccf37
Merge pull request #116027 from pwschuurman/kep-3335-fix-validation
...
Remove StatefulSetStartOrdinal feature gate checks in StatefulSet validation
2023-02-24 07:17:45 -08:00
Kubernetes Prow Robot
0753f02851
Merge pull request #115944 from SataQiu/warning-for-externalid
...
Add field-level warning for deprecated spec.externalID of node
2023-02-24 06:15:47 -08:00
Peter Schuurman
a714e9e485
Fix validation.go to validate without StatefulSetStartOrdinal feature gate check. Adds test case to validate regression fix of validation failing when spec.ordinals set and feature gate disabled
2023-02-23 16:22:56 -08:00
Kubernetes Prow Robot
35f3fc59c1
Merge pull request #115236 from danielvegamyhre/scalable-indexed-job
...
Support for elastic Indexed Jobs
2023-02-23 14:57:34 -08:00
Daniel Vega-Myhre
8d31da4599
add validation test case for immutable completions on indexed jobs when AllowElasticIndexedJobs is false
2023-02-23 21:05:03 +00:00
Daniel Vega-Myhre
15077a0f28
plumb feature gate value through job validation opts and modify validateCompletions function to only check completions == parallelism after the update, not before
2023-02-23 18:09:47 +00:00
Kubernetes Prow Robot
aa98f6f4da
Merge pull request #115606 from wzshiming/fix/termination_grace_period_seconds
...
`pod.spec.terminationGracePeriodSeconds` is a negative then convert to 1
2023-02-23 07:35:35 -08:00
Enrique Llorente
697ea476e2
svc: Support pods with same address
...
If different pods with same address are exposed by the same service if
some of the endpointslices endpoints are overwriten. This change add the
pod name to the hash function to ensure that all the endpoints are in
place.
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
2023-02-23 11:37:57 +01:00
Kubernetes Prow Robot
fc8b5668f5
Merge pull request #115749 from freddie400/removegetAppArmorFS
...
removed function getAppArmorFS
2023-02-23 00:31:34 -08:00
Daniel Vega-Myhre
c63f448451
change test names and address other comments
2023-02-23 03:25:17 +00:00
Daniel Vega-Myhre
d41302312e
update validation logic so completions is mutable iff completions is modified in tandem with parallelsim so completions == parallelism
2023-02-23 03:25:16 +00:00
SataQiu
ba6fcf4169
add field-level warning for deprecated spec.externalID of node
2023-02-23 09:35:56 +08:00
Kubernetes Prow Robot
b86f94f438
Merge pull request #115256 from danwinship/nodeport-addresses-2
...
clean up kube-proxy nodeport address handling (part 2)
2023-02-22 13:07:05 -08:00
kannon92
32ac4a9581
left over uncounted from tracking cleanup
2023-02-22 16:45:53 +00:00
Dan Winship
c45fff589a
Optimize NodePortAddresses
...
Do more work at construct time and less at
GetNodeAddresses()/ContainsIPv4Loopback() time.
2023-02-22 08:32:21 -05:00
Dan Winship
0c2711bf24
Make NodePortAddresses abstraction around GetNodeAddresses/ContainsIPv4Loopback
2023-02-22 08:32:19 -05:00
Dan Winship
d43878f970
Put all iptables nodeport address handling in one place
...
For some reason we were calculating the available nodeport IPs at the
top of syncProxyRules even though we didn't use them until the end.
(Well, the previous code avoided generating KUBE-NODEPORTS chain rules
if there were no node IPs available, but that case is considered an
error anyway, so there's no need to optimize it.)
(Also fix a stale `err` reference exposed by this move.)
2023-02-22 08:30:36 -05:00
Kubernetes Prow Robot
39a99710bc
Merge pull request #115919 from princepereira/ppereira-115783-etplocal-master
...
[115783] Fix for windows kube-proxy: 'externalTrafficPolicy: Local' results in no clusterIP entry in windows node.
2023-02-22 00:49:56 -08:00
Shiming Zhang
4bdc1364ea
Warn if the terminationGracePeriodSeconds is negative.
...
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2023-02-22 13:36:15 +08:00