Kubernetes Prow Robot
fc3abdaf2d
Merge pull request #125470 from everpeace/kep-3619-SupplementalGroupsPolicy-e2e
...
KEP-3619: Add NodeStatus.Features.SupplementalGroupsPolicy API and e2e
2024-07-16 13:57:06 -07:00
Kubernetes Prow Robot
9c763a9c9f
Merge pull request #126104 from cji/5321
...
Add funcs in pkg/filesystem/util to set file permissions on Windows and update container log dir perms
2024-07-16 10:33:05 -07:00
HirazawaUi
0dbf1d3ceb
remove kubelet unused run container options
2024-07-16 20:43:02 +08:00
SataQiu
716d66cdf3
kubelet: adjust the validation logic to treat [none] as the EnforceNodeAllocatable is disabled
2024-07-16 18:36:38 +08:00
Shingo Omura
f46ecf5648
KEP-3619: Wiring up from RuntimeFeatures.SupplementalGroupsPolicy(CRI) to NodeFeatures.SupplementalGroupsPolicy(API)
...
KEP-3619: fix typos in pkg/kubelet/container/runtime.go
2024-07-16 12:36:00 +09:00
Kubernetes Prow Robot
2263f2d719
Merge pull request #124148 from cyclinder/add_flag_kubelet
...
kubelet: Add a TopologyManager policy option: max-allowable-numa-nodes
2024-07-15 19:27:16 -07:00
Kubernetes Prow Robot
eb9b928c23
Merge pull request #123137 from neolit123/1.30-update-kubelet-validation-fields
...
kubelet: warn instead of error for unsupported options on Windows
2024-07-15 19:27:09 -07:00
Kubernetes Prow Robot
f36a821de8
Merge pull request #126034 from sohankunkerkar/add-usernamespaces
...
api: add user namespaces field to NodeRuntimeHandlerFeatures
2024-07-15 16:41:17 -07:00
Kubernetes Prow Robot
5427708866
Merge pull request #125404 from mimowo/fix-kubelet-podip
...
Fix that PodIP field is temporarily removed for a terminal pod
2024-07-15 16:41:10 -07:00
Mark Rossetti
b377dfba0c
Add funcs in pkg/filesystem/util that can actually set file permissiosn
...
on Windows and update container log dir perms to 660 on Windows
2024-07-15 14:22:59 -07:00
Peter Hunt
86240aaca1
api: add user namespaces field to NodeRuntimeHandlerFeatures
...
Signed-off-by: Sohan Kunkerkar <sohank2602@gmail.com >
2024-07-15 15:55:39 -04:00
Hemant Kumar
c8d9863a3e
Add new type for infeasible errors
2024-07-15 10:14:57 -04:00
Kubernetes Prow Robot
3361895612
Merge pull request #123733 from Jeffwan/jiaxin/kep-4176-240305
...
KEP-4176: Add a new static policy SpreadPhysicalCPUsPreferredOption
2024-07-15 01:41:10 -07:00
Michal Wozniak
5f1ab75d27
Fix that PodIP field is not set for terminal pod
2024-07-12 21:36:12 +02:00
Hemant Kumar
cbda088905
Add functions for storing volume as failed with final error
2024-07-12 15:14:46 -04:00
Jiaxin Shan
6c85fd4ddd
KEP-4176: Add static policy option to distribute cpus across cores
2024-07-12 11:52:51 -07:00
Kubernetes Prow Robot
2d4514e169
Merge pull request #125802 from mmorel-35/testifylint/len+empty
...
fix: enable empty and len rules from testifylint on pkg and staging package
2024-07-11 23:12:06 -07:00
Kubernetes Prow Robot
60862c98a4
Merge pull request #126012 from marosset/windows-kubelet-get-uuid-from-registry
...
Updating kubelet on Windows to query uuid from registry
2024-07-11 13:24:13 -07: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
carlory
850bc09e9b
clean up codes after PodDisruptionConditions was promoted to GA and locked to default
2024-07-11 10:40:21 +08:00
Mark Rossetti
26ef4e42e5
Updating kubelet on Windows to query uuid from registry
2024-07-10 11:36:15 -07:00
Gunju Kim
a03affab78
Terminate restartable init containers ignoring not-started containers
...
This ensures that the restartable init containers receive a termination
signal even if there are any not-started restartable init containers, by
ignoring the not-running containers.
2024-07-10 05:50:51 +09: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
cyclinder
87129c350a
kubelet: Add a TopologyManager policy options: "max-allowable-numa-nodes"
...
Signed-off-by: cyclidner <kuocyclinder@gmail.com >
2024-07-09 22:26:24 +08: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
Matthieu MOREL
f014b754fb
fix: enable empty and len rules from testifylint on pkg package
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com >
2024-07-06 23:15:43 +00:00
Gyuho Lee
ac992f9a92
remove unncessary errors.Unwrap calls
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2024-07-03 21:31:57 +08: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
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
Kubernetes Prow Robot
7e1a5a0ea8
Merge pull request #125687 from bart0sh/PR146-DevicePluginCDIDevices-LockToDefault
...
kube_features: DevicePluginCDIDevices: LockToDefault
2024-07-01 17:07:41 -07:00
Kubernetes Prow Robot
0c8dc93049
Merge pull request #125498 from ahmetb/kubelet-predicate-description
...
kubelet: Surface description for predicate failed Events
2024-07-01 17:07:32 -07:00
Tim Allclair
0687ae5647
[kubelet] Cleanup incorrect log about static pod status change
2024-07-01 17:00:00 -07:00
Michael Fraenkel
a7264f95ff
pod terminationGracePeriodSeconds is always valid ( #124461 )
...
* Pod terminationGracePeriodSeconds is always valid
Validation of a pod spec will always use the pod's
TerminationGracePeriodSeconds value.
A set of pod test-helpers have been created to help construct Pods.
* remove unused func
* reduction
* reduce 2
* simplify test
* report invalid grace period
* update SupplementalGroupPolicy tests
2024-06-29 18:09:29 -07:00
Kubernetes Prow Robot
34b8832edb
Merge pull request #125631 from SergeyKanzhelev/logFailedAdmission
...
improve logging of pod admission denied
2024-06-28 19:36:20 -07:00
Kubernetes Prow Robot
16b7d5310a
Merge pull request #125047 from zhanluxianshen/clean-typos-in-kubelet
...
clean typos logs in kubelet.
2024-06-28 16:48:24 -07:00
Kubernetes Prow Robot
19d9e4fa7f
Merge pull request #125776 from vinayakankugoyal/armor2
...
Remove kubelet soft admission
2024-06-28 14:20:48 -07:00
Kubernetes Prow Robot
ac9aec9f9b
Merge pull request #125116 from pohly/dra-one-of-source
...
DRA: remove "source" indirection from v1 Pod API
2024-06-28 12:46:45 -07:00
Matthieu MOREL
0cde5f1e28
fix: enable bool-compare rule from testifylint linter ( #125135 )
...
* fix: enable bool-compare rule from testifylint linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update hack/golangci.yaml.in
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com >
* Update golangci.yaml.in
* Update golangci-strict.yaml
* Update golangci.yaml.in
* Update golangci.yaml.in
* Update golangci.yaml.in
* Update golangci.yaml.in
* Update golangci.yaml
* Update golangci-hints.yaml
* Update golangci-strict.yaml
* Update golangci.yaml.in
* Update golangci.yaml
* Update mux_test.go
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com >
2024-06-28 10:58:05 -07:00
Kubernetes Prow Robot
bcadbfcc55
Merge pull request #125496 from harche/cgroup_imp
...
KEP-4569: Separate cgroup v1 and v2 manager implementations
2024-06-28 09:54:02 -07:00
Michal Wozniak
780191bea6
review remarks for graduating PodDisruptionConditions
2024-06-28 17:32:27 +02:00
Michal Wozniak
bf0c9885a4
Graduate PodDisruptionConditions to stable
2024-06-28 16:36:51 +02:00
Harshal Patil
79495a21a8
Separate cgroup v1 and v2 manager implementations
...
Signed-off-by: Harshal Patil <harpatil@redhat.com >
2024-06-28 07:49:43 -04:00
Claudiu Belu
b5e3b81de6
unittests: Fixes unit tests for Windows (part 12)
...
Currently, there are some unit tests that are failing on Windows due
to various reasons:
- IPVS proxy mode is not supported on Windows.
- pkg/kubelet/cri/remote was moved to cri-client.
2024-06-28 08:05:38 +00:00
Vinayak Goyal
c3ae97056d
Remove kubelet soft admission.
2024-06-28 06:57:04 +00:00
Patrick Ohly
bde9b64cdf
DRA: remove "source" indirection from v1 Pod API
...
This makes the API nicer:
resourceClaims:
- name: with-template
resourceClaimTemplateName: test-inline-claim-template
- name: with-claim
resourceClaimName: test-shared-claim
Previously, this was:
resourceClaims:
- name: with-template
source:
resourceClaimTemplateName: test-inline-claim-template
- name: with-claim
source:
resourceClaimName: test-shared-claim
A more long-term benefit is that other, future alternatives
might not make sense under the "source" umbrella.
This is a breaking change. It's justified because DRA is still
alpha and will have several other API breaks in 1.31.
2024-06-27 17:53:24 +02:00
Gyuho Lee
1e3dc23e16
v4 logging
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2024-06-27 00:13:45 +08:00
Ed Bartosh
f53991d111
kube_features: DevicePluginCDIDevices: LockToDefault
2024-06-25 16:14:48 +03:00
Kubernetes Prow Robot
ba19ecb8c9
Merge pull request #123298 from henry118/spell
...
Fix func name typo
2024-06-24 21:01:40 -07:00
Gyuho Lee
d29bdab951
feat(kubelet/stats): match cadvisor error to lower not found stats log level
...
This "RecentStats: unable to find data in memory cache" error is not actionable,
in terms of kubelt, if the entry is not found in the memory cache.
Thus, proposing it to lower the log level to info.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2024-06-24 12:25:03 +08:00