Patrick Ohly
7701a48bd6
dra kubelet: bump gRPC API to v1alpha4
...
The previous changes are an API break, therefore we need a new version.
2024-07-18 23:30:09 +02:00
Patrick Ohly
348f94ab55
DRA: read ResourceClaim in DRA drivers
...
This is the second and final step towards making kubelet independent of the
resource.k8s.io API versioning because it now doesn't need to copy structs
defined by that API from the driver to the API server.
2024-07-18 09:09:20 +02:00
Patrick Ohly
616a014347
DRA: move ResourceSlice publishing into DRA drivers
...
This is a first step towards making kubelet independent of the resource.k8s.io
API versioning because it now doesn't need to copy structs defined by that API
from the driver to the API server. The next step is removing the other
direction (reading ResourceClaim status and passing the resource handle to
drivers).
The drivers must get deployed so that they have their own connection to the API
server. Securing at least the writes via a validating admission policy should
be possible.
As before, the kubelet removes all ResourceSlices for its node at startup, then
DRA drivers recreate them if (and only if) they start up again. This ensures
that there are no orphaned ResourceSlices when a driver gets removed while the
kubelet was down.
While at it, logging gets cleaned up and updated to use structured, contextual
logging as much as possible. gRPC requests and streams now use a shared,
per-process request ID and streams also get logged.
2024-07-18 09:09:19 +02:00
Kubernetes Prow Robot
5a99930ab5
Merge pull request #125328 from harche/v1_warning
...
[KEP-4569] Add a warning log, an event for cgroup v1 usage and a metric for cgroup version
2024-07-10 23:50:32 -07:00
Kubernetes Prow Robot
1740d85aff
Merge pull request #125866 from aroradaman/can-use-nfacct
...
nfacct: conditionally ensure counters and register metrics
2024-07-10 19:26:36 -07:00
Kubernetes Prow Robot
2d877b5259
Merge pull request #125629 from benluddy/cbor-rawextension
...
KEP-4222: Automatically transcode RawExtension between unstructured protocols.
2024-07-10 14:54:35 -07:00
Kubernetes Prow Robot
135f2e0372
Merge pull request #125997 from mimowo/job-comment-cleanup
...
Cleanup TODO comment in the Job controller
2024-07-10 12:15:39 -07:00
Kubernetes Prow Robot
1608dc2b09
Merge pull request #125985 from kaisoz/fix-failureTarget-manually-added
...
job_controller: Ignore FailureTarget JobCondition with Status != True
2024-07-10 09:02:59 -07:00
Kubernetes Prow Robot
27c6c30905
Merge pull request #124607 from gjtempleton/HPA-Reviewers-Addition
...
HPA - Add gjtempleton to reviewers
2024-07-10 07:08:50 -07:00
Michal Wozniak
8a8717c3a9
Cleanup TODO comment in the Job controller
2024-07-10 12:27:56 +02:00
Tomas Tormo
2aed11ec78
job_controller: Ignore FailureTarget!=True
2024-07-10 08:02:14 +00:00
Kubernetes Prow Robot
0c8b3e5f30
Merge pull request #125986 from vinayakankugoyal/typo
...
Fix typo in error message for anonymous field in AuthenticationConfig…
2024-07-09 20:45:05 -07:00
Kubernetes Prow Robot
90615231a6
Merge pull request #125097 from YamasouA/ft/queuehit-csinode
...
volumebinding: scheduler queueing hints - CSINode
2024-07-09 17:53:05 -07:00
Vinayak Goyal
27e8923c70
Fix typo in error message for anonymous field in AuthenticationConfiguration.
2024-07-09 21:04:28 +00:00
Ben Luddy
4755e1f859
Automatically transcode RawExtension between unstructured protocols.
2024-07-09 17:02:34 -04:00
Kubernetes Prow Robot
4a214f6ad9
Merge pull request #125461 from mimowo/pod-disruption-conditions-ga
...
Graduate PodDisruptionConditions to stable
2024-07-09 11:08:13 -07:00
Harshal Patil
68d317a8d1
Add a warning log, event and metric for cgroup version 1
...
Signed-off-by: Harshal Patil <harpatil@redhat.com >
2024-07-09 11:34:46 -04:00
Kubernetes Prow Robot
bb089b9374
Merge pull request #125970 from carlory/sync-masked-path-from-moby
...
defaultMaskedPaths must be kept in sync with moby/moby
2024-07-09 07:10:14 -07:00
Daman Arora
33bac685a7
conditionally register nfacct metrics and ensure nfacct counters
...
If the nfacct sub-system is not available in the kernel then:
1. nfacct based metrics won't be registered.
2. proxier will not attempt to ensure the counters
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-07-09 18:49:01 +05:30
Daman Arora
75b18b86dd
proxy/utils/nfacct: API to check if nfacct sub-system is present
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-07-09 18:44:04 +05:30
Kubernetes Prow Robot
51bf5df54a
Merge pull request #125836 from mjudeikis/mjudeikis/auth.token.getter
...
Extend service accounts with optional tokenGetter provider
2024-07-09 00:30:34 -07:00
carlory
f0c2afa19f
defaultMaskedPaths must be kept in sync with moby/moby.
2024-07-09 13:22:29 +08:00
Kubernetes Prow Robot
e48d42d81d
Merge pull request #122627 from sanposhiho/remove-AssignedPodUpdated
...
take PodTopologySpread into consideration when requeueing Pods based on Pod related events
2024-07-08 16:21:11 -07:00
Kubernetes Prow Robot
7cf5ae8e98
Merge pull request #125930 from sanposhiho/cleanup-ifs
...
cleanup: remove non-necessary `if`s
2024-07-08 14:13:50 -07:00
Kubernetes Prow Robot
b106c291c3
Merge pull request #125841 from saschagrunert/get-container-events-ctx
...
cri: allow `GetContainerEvents` to pass a context
2024-07-08 14:13:41 -07:00
Kubernetes Prow Robot
db91d45d2d
Merge pull request #124152 from danwinship/knftables-versions
...
update client/kernel version requirements for nftables kube-proxy
2024-07-08 12:45:02 -07:00
Kubernetes Prow Robot
53c8efbe71
Merge pull request #125743 from benluddy/extract-roundtrip-to-unstructured
...
Extract RoundtripToUnstructured to apimachinery apitesting library.
2024-07-08 08:22:49 -07:00
Dan Winship
b39fd03ee4
Allow disabling nftables kernel version check
2024-07-08 07:29:27 -04:00
Kensei Nakada
41f7607c04
cleanup: remove non-necessary ifs
2024-07-06 13:19:24 +00:00
Kensei Nakada
e16aa35865
address review suggestions
2024-07-06 13:17:17 +00:00
Kensei Nakada
533140f065
take PodTopologySpread into consideration when requeueing Pods based on Pod related events
2024-07-06 13:17:14 +00:00
Kubernetes Prow Robot
9039d71dd7
Merge pull request #124092 from princepereira/ppereira-updatelbpolicy-master
...
Adding modifyloadbalancer api support in Windows KubeProxy for update loadbalancer replacing usage of delete and create loadbalancer api.
2024-07-05 17:40:28 -07:00
Kubernetes Prow Robot
bd1f86a154
Merge pull request #125914 from mimowo/cleanup-job-tests
...
Cleanup Job tests: align error messages, no TODO ctx, no unused params
2024-07-05 15:13:46 -07:00
Michal Wozniak
4250d444f8
Cleanup Job controller tests
2024-07-05 14:59:03 +02:00
Kubernetes Prow Robot
b6899c5e08
Merge pull request #122251 from olderTaoist/unschedulable-plugin
...
register unschedulable plugin for those plugins that PreFilter's PreFilterResult filter out some nodes
2024-07-05 05:44:26 -07:00
lukashankeln
58c44005cd
fix(cronjob): lastSuccessfullTime not set when successfulJobsHistoryLimit equal to zero ( #122025 )
...
* fix(cronjob): lastSuccessfullTime not set when successfulJobsHistoryLimit equal to zero
* fix(cronjob): added tests for successfulJobsHistoryLimit mutations
2024-07-05 03:57:47 -07:00
Kubernetes Prow Robot
0a59545f4d
Merge pull request #125838 from gauravkghildiyal/kep-4444-beta
...
Promote ServiceTrafficDistribution feature-gate to beta and enable by default. Also add missing integration tests.
2024-07-04 17:20:08 -07:00
Prince Pereira
ef2628d764
Adding support for ModifyLoadbalancer in windows kubeproxy.
2024-07-03 22:13:35 -07:00
Kubernetes Prow Robot
30ffa521e6
Merge pull request #125846 from tkashem/remove-apf-feature-gate
...
Remove APF feature gate APIPriorityAndFairness
2024-07-03 06:14:39 -07:00
Kubernetes Prow Robot
fea466ea7b
Merge pull request #125853 from Jefftree/patch-4
...
Remove impossible error check controlplane/apiserver/server.go
2024-07-03 02:05:35 -07:00
Kubernetes Prow Robot
11c689b945
Merge pull request #125675 from tnqn/fix-rapid-endpoints-update
...
Fix endpoints status out-of-sync when the pod state changes rapidly
2024-07-02 23:48:42 -07:00
Jeffrey Ying
1c8204ded1
Remove impossible error check controlplane/apiserver/server.go
2024-07-02 20:41:54 -04:00
Kubernetes Prow Robot
f00eee5a40
Merge pull request #125468 from saschagrunert/kubelet-sig-node-approvers
...
Use `sig-node-approvers` alias in `pkg/kubelet/OWNERS`
2024-07-02 16:09:38 -07:00
Abu Kashem
ae647032a7
apiserver: remove feature gate APIPriorityAndFairness
2024-07-02 13:00:43 -04:00
Kubernetes Prow Robot
6a0aeb2adb
Merge pull request #125151 from skitt/drop-ptr-wrappers-pkg-controller
...
pkg/controller: drop pointer wrapper functions
2024-07-02 09:28:00 -07:00
Mangirdas Judeikis
a72266ff9d
Add test for WithTokenGetter
2024-07-02 17:26:53 +03:00
Stephen Kitt
f55b59fc02
pkg/controller: drop pointer wrapper functions
...
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affected files.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2024-07-02 16:19:12 +02:00
Sascha Grunert
ae8f6f002d
cri: allow GetContainerEvents to pass a context
...
The context can be used for timeout purposes for example, not really for
Kubernetes but other consumers like cri-tools.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2024-07-02 12:03:34 +02:00
Gaurav Ghildiyal
233010f2fa
Change ServiceTrafficDistribution feature-gate to beta and enable by default.
2024-07-01 23:55:39 -07:00
olderTaoist
b478621596
register unscheduable plugin when prefileter with NodeNames
2024-07-02 13:02:45 +08:00