Sunyanan Choochotkaew
59bba92717
KEP-5075: generated codes from make update
...
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com >
2025-07-30 09:26:52 +09:00
Sunyanan Choochotkaew
5ad969588d
KEP-5075: API updates
...
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com >
2025-07-30 09:26:40 +09:00
yliao
34a64db2c7
extended resource backed by DRA: implementation
2025-07-29 18:55:21 +00:00
yliao
3068b60b83
extended resource backed by DRA: codegen
2025-07-29 17:17:20 +00:00
yliao
1f2fd18ac8
extended resource backed by DRA: API types.go
2025-07-29 17:17:19 +00:00
Kubernetes Prow Robot
fd3c879a5b
Merge pull request #132443 from utam0k/clearn-nnn-bind-api
...
Clear pod.Status.NominatedNodeName when pod is bound
2025-07-29 10:12:26 -07:00
utam0k
60fa65db88
Clear pod.Status.NominatedNodeName when pod is bound
...
Signed-off-by: utam0k <k0ma@utam0k.jp >
2025-07-29 23:48:11 +09:00
Kubernetes Prow Robot
e2ab840708
Merge pull request #130160 from KobayashiD27/dra-device-binding-conditions
...
Implement DRA Device Binding Conditions (KEP-5007)
2025-07-29 07:34:26 -07:00
Kobayashi,Daisuke
ac81b829e4
KEP-5007 DRA Device Binding Conditions: Run make update
2025-07-29 11:34:03 +00:00
Kobayashi,Daisuke
987ad39516
KEP-5007 DRA Device Binding Conditions: API Related code Update
2025-07-29 11:32:47 +00:00
Kobayashi,Daisuke
34c3b09383
KEP-5007 DRA Device Binding Conditions: API Update
2025-07-29 11:31:48 +00:00
Rodrigo Campos
48f8458c41
validation: Fix user-namespaces test case name
...
hostPath is a supported volume since Kubernetes 1.28. Let's update it.
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com >
2025-07-28 16:54:08 +02:00
Rodrigo Campos
50a7a8af4d
validation: Align usage of hostUsers in error messages
...
Other validation errors, like using hostNetwork, don't put
pod.spec.HostNetwork in the error message.
Let's remove align with that.
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com >
2025-07-28 16:54:08 +02:00
Rodrigo Campos
5f7e611f73
validation: Return error if hostUsers=false && volumeDevices
...
Now if a pod tries to use user namespaces (hostUsers: false) and a
volume device, it will see this error:
$ kubectl apply -f pod.yaml
...
* spec.ephemeralContainers[0].volumeDevices: Forbidden: when `pod.Spec.HostUsers` is false
* spec.initContainers[0].volumeDevices: Forbidden: when `pod.Spec.HostUsers` is false
* spec.containers[0].volumeDevices: Forbidden: when `pod.Spec.HostUsers` is false
Note that if a pod is already created with volumeDevices and userns,
then we allow modifications to that object.
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com >
2025-07-28 16:54:08 +02:00
Kubernetes Prow Robot
b93bcbfba1
Merge pull request #133195 from nojnhuh/dra-ga-comment
...
Update DRA Pod spec comments
2025-07-25 00:32:35 -07:00
Kubernetes Prow Robot
3fd1251165
Merge pull request #131089 from KevinTMtz/pod-level-hugepage-cgroups
...
[PodLevelResources] Propagate Pod level hugepage cgroup to containers
2025-07-24 19:08:26 -07:00
Jon Huhn
f1737db166
Update DRA Pod spec comments
2025-07-24 18:58:24 -05:00
Kubernetes Prow Robot
26045b2fab
Merge pull request #132642 from yuanwang04/restart-rules
...
Implement container restart policy rules
2025-07-24 16:44:51 -07:00
Kubernetes Prow Robot
7912e5fd67
Merge pull request #131549 from carlory/KEP-3751-GA
...
[Kep-3751] Promote VolumeAttributesClass to GA
2025-07-24 16:44:27 -07:00
Kevin Torres
9f5b09eb7b
Unit test pod level hugepage Default and Validation logic
2025-07-24 21:29:04 +00:00
Kevin Torres
845e94d370
Validation logic and Defaulting update for pod level hugepages
...
The hugepage aggregated container limits cannot be greater than pod-level limits.
This was already enforced with the defaulted requests from the specfied
limits, however it did not make it clear about both hugepage requests and limits.
2025-07-24 21:29:01 +00:00
carlory
94bf8fc8a9
Promoted API VolumeAttributesClass and VolumeAttributesClassList to storage.k8s.io/v1.
...
Promoted feature-gate `VolumeAttributesClass` to GA (on by default)
Signed-off-by: carlory <baofa.fan@daocloud.io >
2025-07-25 01:53:59 +08:00
Kevin Torres
52b457421a
Pod level hugepage cgroup when unset in container
2025-07-24 17:13:39 +00:00
Yuan Wang
af595a44ae
Add container restart rules to API
2025-07-24 16:49:52 +00:00
Patrick Ohly
b768c1d1d5
DRA API: bump storage version to v1beta2
...
This avoids the overhead for the more complex conversion to v1beta1 and might
make it a bit more realistic to get rid of the v1beta1 eventually.
The expected GVK must be set explicitly because when emulating 1.33,
v1beta1 is the default although the fixed storage version is v1beta2.
2025-07-24 08:33:56 +02:00
Patrick Ohly
cff91579e8
DRA API: v1 registration + tests
2025-07-24 08:30:25 +02:00
Patrick Ohly
4e592f6c14
DRA API: s/v1beta2/v1/ and generated files
2025-07-24 08:30:24 +02:00
Patrick Ohly
1f2f433f76
DRA API: verbatim copy v1beta2 -> v1
2025-07-24 08:30:24 +02:00
Kubernetes Prow Robot
9adc49ffd4
Merge pull request #133046 from toVersus/reject-windows-in-api-server
...
[PodLevelResources] Add validation for Windows OS
2025-07-23 19:56:33 -07:00
Kubernetes Prow Robot
6ef2215eb7
Merge pull request #132558 from HirazawaUi/Implement-4762
...
KEP-4762: Allows setting any FQDN as the pod's hostname
2025-07-23 16:26:27 -07:00
Kubernetes Prow Robot
041974709c
Merge pull request #132106 from AndrewSirenko/vac-valid
...
[KEP-3751] Allow PVC VACName to go from non-nil to nil
2025-07-23 12:52:30 -07:00
Drew Sirenko
f7109ed281
[KEP-3751] Allow PVC VACName to update to nil or empty when status.currentVAC is nil
2025-07-23 10:59:18 -04:00
HirazawaUi
88b7621434
Add validation for the HostnameOverride field.
2025-07-23 22:57:08 +08:00
HirazawaUi
8b3814c4ab
Add the HostnameOverride field to the Pod API
2025-07-23 20:28:12 +08:00
Kubernetes Prow Robot
3e3f43f4b8
Merge pull request #132537 from lalitc375/hpa-validation
...
add validation logic for APIVersion fields of HPA
2025-07-22 19:04:27 -07:00
Tsubasa Nagasawa
88af8b6060
Add PodLevelResources to the Windows OS limitations in the API doc
2025-07-23 07:08:21 +09:00
Anna Song
e2c308aff9
Check OS for PodLevelResources in API server
...
Reject Pod with PodLevelResources in spec if Pod targets Windows OS.
2025-07-23 07:08:14 +09:00
Kubernetes Prow Robot
3e211097c7
Merge pull request #132810 from PatrickLaabs/132790-2
...
chore: removing redundant type conversion
2025-07-22 15:06:26 -07:00
Lalit Chauhan
f6aee63690
add validation logic for APIVersion fields of HPA
...
New validation logic follows the API ratcheting principle, will not be executed for already stored invalid if the corresponding fields or item in array is not modified. Please enter the commit message for your changes. Lines starting
2025-07-22 20:40:48 +00:00
Bing Hongtao
6f3b6b91f0
KEP-3721: Support for env files ( #132626 )
...
* Add FileKeyRef field and struct to the Pod API
* Add the implementation code in the kubelet.
* Add validation code
* Add basic functionality e2e tests
* add codes for drop disabled pod fields
* update go.mod
2025-07-22 13:40:42 -07:00
Kubernetes Prow Robot
08362f0650
Merge pull request #132429 from torredil/kep4876-beta
...
Promote sig-storage feature `MutableCSINodeAllocatableCount` to Beta
2025-07-22 13:40:34 -07:00
Kubernetes Prow Robot
cc674e7470
Merge pull request #128010 from ahmedtd/pod-certificates-types
...
Pod Certificates: Preliminary implementation of KEP-4317
2025-07-21 19:26:30 -07:00
Taahir Ahmed
6d4000f844
Pod Certificates: make update
...
Change-Id: Ib258c1f3bf238f41cfa1d6de8e8d0de5b8379a06
2025-07-21 21:49:57 +00:00
Taahir Ahmed
4624cb9bb9
Pod Certificates: Basic implementation
...
* Define feature gate
* Define and serve PodCertificateRequest
* Implement Kubelet projected volume source
* kube-controller-manager GCs PodCertificateRequests
* Add agnhost subcommand that implements a toy signer for testing
Change-Id: Id7ed030d449806410a4fa28aab0f2ce4e01d3b10
2025-07-21 21:49:57 +00:00
Aaron Prindle
69a8a169d5
add WithOrigin and MarkedByDeclarative, update hand-written to error at list instead of list item field, add additional tests for approved+denied case
2025-07-21 19:27:59 +00:00
Aaron Prindle
6a2d5a1e64
feat: add CSR status.conditions approved+denied declarative validation tags and associated declarative validation tags to v1 and v1beta1 types.go
2025-07-21 19:27:59 +00:00
Kubernetes Prow Robot
4a80270b30
Merge pull request #133012 from tallclair/mem-lim-decrease
...
[FG:InPlacePodVerticalScaling] Support reducing memory limits
2025-07-17 17:10:39 -07:00
Kubernetes Prow Robot
99f55ae4ef
Merge pull request #132662 from gnufied/bump-recovery-feature-ga
...
Bump recovery feature ga
2025-07-17 17:10:25 -07:00
Kubernetes Prow Robot
d7cce80685
Merge pull request #133040 from sunnylovestiramisu/fixDescription
...
Update VolumeAttributesClass API Description
2025-07-17 15:58:59 -07:00
Kubernetes Prow Robot
3dd0e86190
Merge pull request #132821 from cici37/mapBeta
...
[KEP-3962]Promote MutatingAdmissionPolicy to Beta
2025-07-17 14:18:24 -07:00