Wojciech Tyczyński
4ffca653ff
Fix endpoint reconciler failing to delete masterlease
...
add regression test for endpoint reconciler leases
2022-11-25 08:13:20 +00:00
Wei Huang
a731a44596
Fix an accuracy issue of scheduler_pending_pods
metric
2022-11-21 21:33:16 -08:00
Aldo Culquicondor
7dc36bdf82
Wait for Pods to finish before considering Failed in Job ( #113860 )
...
* Wait for Pods to finish before considering Failed
Limit behavior to feature gates PodDisruptionConditions and
JobPodFailurePolicy and jobs with a podFailurePolicy.
Change-Id: I926391cc2521b389c8e52962afb0d4a6a845ab8f
* Remove check for unsheduled terminating pod
Change-Id: I3dc05bb4ea3738604f01bf8cb5fc8cc0f6ea54ec
2022-11-15 09:44:53 -08:00
Kubernetes Prow Robot
84a55ad8d2
Merge pull request #113147 from andrewsykim/storageversiongc-controller-tests
...
add unit tests for storageversiongc controller
2022-11-14 10:56:41 -08:00
Kubernetes Prow Robot
f5d6ffc867
Merge pull request #113887 from mborsz/hollow
...
Add missing PodStartupLatencyTracker to kubemark
2022-11-14 08:27:57 -08:00
Maciej Borsz
1deaf719f5
Add missing PodStartupLatencyTracker to kubemark
2022-11-14 13:55:32 +00:00
Michal Wozniak
a910ca563b
Fix race conditions
2022-11-14 10:11:26 +01:00
Michal Wozniak
3b5c3acd61
Improve stability if the taint_manager tests
2022-11-13 19:40:18 +01:00
Kubernetes Prow Robot
d1c0171aed
Merge pull request #111023 from pohly/dynamic-resource-allocation
...
dynamic resource allocation
2022-11-11 16:21:56 -08:00
Ed Bartosh
abcb56defb
kubelet: do not enter termination status if pod might need to unprepare resources
2022-11-11 21:58:03 +01:00
Ed Bartosh
ae0f38437c
kubelet: add support for dynamic resource allocation
...
Dependencies need to be updated to use
github.com/container-orchestrated-devices/container-device-interface.
It's not decided yet whether we will implement Topology support
for DRA or not. Not having any toppology-related code
will help to avoid wrong impression that DRA is used as a hint
provider for the Topology Manager.
2022-11-11 21:58:03 +01:00
Patrick Ohly
d2ff210c20
scheduler: add dynamic resource allocation plugin
...
The plugin handles the interaction with ResourceClaims that are referenced by a
Pod.
2022-11-11 21:58:03 +01:00
Kubernetes Prow Robot
e4d46148de
Merge pull request #113826 from jsafrane/add-openstack
...
Add CSI migration of OpenStack Cinder volumes
2022-11-11 11:00:07 -08:00
Aldo Culquicondor
bc5afaf580
Fix match onExitCodes when Pod is not terminated
...
Change-Id: Id1f9c46f8b6a12115577a1fadb12adc580c9ba6a
2022-11-11 10:05:11 -05:00
Kubernetes Prow Robot
cc704f9778
Merge pull request #113375 from atiratree/PodHealthyPolicy-api
...
api: add unhealthyPodEvictionPolicy for PDBs
2022-11-11 04:02:10 -08:00
Jan Safranek
6005c3b512
Remove OpenStack cloud provider
...
And keep OpenStack Cinder CSI translation
2022-11-11 12:04:55 +01:00
Kubernetes Prow Robot
d7bff1c809
Merge pull request #111577 from brianpursley/troubleshoot-unit-test-flake
...
Add logging for reconciler unit test
2022-11-11 00:44:09 -08:00
Filip Křepinský
3e3912467a
generated
2022-11-10 23:32:27 +01:00
Filip Křepinský
a429797f2e
api: add UnhealthyPodEvictionPolicy for PDBs
2022-11-10 23:25:42 +01:00
Patrick Ohly
0133df3929
kube-controller-manager: add ResourceClaim controller
...
The controller uses the exact same logic as the generic ephemeral inline volume
controller, just for inline ResourceClaimTemplate -> ResourceClaim.
In addition, it supports removal of pods from the ReservedFor field when those
pods are known to not need the claim anymore. At the moment, only this special
case is supported. Removal of arbitrary objects would imply granting full read
access to all types to determine whether a) an object is gone and b) if the
current incarnation is the one which is listed in ReservedFor. This may get
added later.
2022-11-10 20:23:50 +01:00
Patrick Ohly
b87530af4f
kube-controller-manager: clone resource controller from volume/ephemeral
2022-11-10 20:23:50 +01:00
Patrick Ohly
8018ab7cd9
api: fully validate PotentialNodes and SuitableNodes
...
This is in response to review feedback. Checking for valid node names and the
set property catches programming mistakes in the components that have write
permission.
2022-11-10 20:23:50 +01:00
Patrick Ohly
5c5e060fb8
api: implement printers for dynamic resource allocation
...
This is needed for "kubectl get". It depends on the generated swagger docs.
2022-11-10 20:22:47 +01:00
Patrick Ohly
9683c60c05
api: generated files
2022-11-10 20:22:42 +01:00
Patrick Ohly
5cca60f0b8
api: dynamic resource allocation API
...
This adds a new resource.k8s.io API group with v1alpha1 as version. It contains
four new types: resource.ResourceClaim, resource.ResourceClass, resource.ResourceClaimTemplate, and
resource.PodScheduling.
2022-11-10 20:08:24 +01:00
Patrick Ohly
7d11b422e3
api: add resource claims to core API
...
The resource.k8s.io/ClaimTemplate only gets referenced by name, therefore the
changes to the core API are limited.
2022-11-10 20:08:24 +01:00
Patrick Ohly
155d49813f
kube features: add DynamicResourceAllocation
2022-11-10 20:08:24 +01:00
Jan Safranek
5b284a50b7
Revert "Remove references to openstack and cinder"
...
This reverts commit 9bbf01bae9
.
2022-11-10 18:25:30 +01:00
Kubernetes Prow Robot
d94261e904
Merge pull request #113186 from ttakahashi21/KEP-3294
...
Introduce APIs to support CrossNamespaceSourceProvisioning
2022-11-10 08:06:54 -08:00
Cici Huang
2973712486
Rename FG to ValidatingAdmissionPolicy
2022-11-10 03:37:35 +00:00
Cici Huang
40c21dafcd
Rename admission cel package to validatingadmissionpolicy
2022-11-10 03:37:30 +00:00
Kubernetes Prow Robot
2c1b7f5759
Merge pull request #112618 from jingyuanliang/fastStatusUpdateOnce
...
kubelet: Keep trying fast status update at startup until node is ready
2022-11-09 13:30:53 -08:00
Takafumi Takahashi
cb12a2bc51
Generate code
2022-11-09 21:21:52 +00:00
Takafumi Takahashi
87c1ca88d4
Add API and validation for CrossNamespaceVolumeDataSource
2022-11-09 20:58:25 +00:00
Andrew Sy Kim
dba7740115
pkg/controller/storageversiongc: add constructor function newKubeApiserverLease
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2022-11-09 15:52:47 -05:00
Kubernetes Prow Robot
623376bc82
Merge pull request #113788 from PiotrProkop/fix-discovering-numa-distance
...
Fix discovering numa distance when node ids are not starting from 0 or it's ids are not sequential
2022-11-09 12:22:53 -08:00
Kubernetes Prow Robot
ff19efdf9b
Merge pull request #112744 from pwschuurman/statefulset-slice-impl
...
Add implementation of KEP-3335, StatefulSetSlice
2022-11-09 11:12:28 -08:00
Kubernetes Prow Robot
c84e920a48
Merge pull request #113786 from sanposhiho/revert-prefilter-skip
...
Revert "feature(scheduler): won't run Filter if PreFilter returned a Skip status"
2022-11-09 10:08:13 -08:00
PiotrProkop
540b5bd308
[topologymanager] rely on Cadvisor to calculate NUMA distance
...
Signed-off-by: PiotrProkop <pprokop@nvidia.com >
2022-11-09 17:52:14 +01:00
PiotrProkop
315f0dc6f1
Fix discovering numa distance when node ids are not starting from 0 or their ids are not sequential
...
Signed-off-by: PiotrProkop <pprokop@nvidia.com >
2022-11-09 17:52:08 +01:00
Andrew Sy Kim
1320adc83f
pkg/controller/storageversiongc: add comments for Test_StorageVersionUpdatedWithAllEncodingVersionsEqualOnLeaseDeletion, Test_StorageVersionUpdatedWithDifferentEncodingVersionsOnLeaseDeletion, Test_StorageVersionContainsInvalidLeaseID, and Test_StorageVersionDeletedOnLeaseDeletion
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2022-11-09 11:49:07 -05:00
Andrew Sy Kim
2fb8329eee
pkg/controller/storageversiongc: add unit tests for storageversiongc controller
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2022-11-09 11:48:20 -05:00
Kubernetes Prow Robot
e9ef6ee8b3
Merge pull request #113754 from logicalhan/kubelet-metrics
...
fix credential provider metric names
2022-11-09 08:31:00 -08:00
Kubernetes Prow Robot
7e0e0c8ec3
Merge pull request #113360 from mimowo/handling-pod-failures-beta-enable
...
Enable the "Retriable and non-retriable pod failures for jobs" feature into beta
2022-11-09 08:30:24 -08:00
Kubernetes Prow Robot
a7117b716b
Merge pull request #112344 from zlabjp/fix-invalid-attach-limit
...
Fix incorrect "Invalid attach limit" error when maxAttachLimit is 0
2022-11-09 08:30:13 -08:00
Jingyuan Liang
9f5c5b82a9
kubelet: Keep trying fast status update at startup until node is ready
2022-11-09 15:55:20 +00:00
Jingyuan Liang
4a50fc4b8c
kubelet: Refactor tryUpdateNodeStatus() into smaller functions
2022-11-09 15:52:04 +00:00
Kensei Nakada
f3868abfed
Revert "feature(scheduler): won't run Filter if PreFilter returned a Skip status"
...
This reverts commit 786be73b4b
.
2022-11-09 11:55:33 +00:00
Kubernetes Prow Robot
70263d55b2
Merge pull request #113501 from pacoxu/fix-startReflector
...
kubelet: fix nil pointer in startReflector for standalone mode
2022-11-09 03:50:12 -08:00
Kubernetes Prow Robot
1193a9abcb
Merge pull request #113485 from MikeSpreitzer/apf-borrowing
...
Add borrowing between priority levels in APF
2022-11-09 01:40:12 -08:00