Kubernetes Prow Robot
a76a3e031f
Merge pull request #123487 from gauravkghildiyal/kep-4444
...
Introduce trafficDistribution field for Kubernetes Services
2024-03-04 20:07:15 -08:00
Kubernetes Prow Robot
6929a11f69
Merge pull request #123481 from sanposhiho/mindomain-stable
...
graduate MinDomainsInPodTopologySpread to stable
2024-03-04 17:18:53 -08:00
Kubernetes Prow Robot
e4ee7b005c
Merge pull request #123323 from gjkim42/add-ValidateInitContainerStateTransition
...
Validate restartable init container state transition
2024-03-04 16:21:30 -08:00
Kubernetes Prow Robot
1c789a9d46
Merge pull request #122422 from neolit123/1.30-update-hostaliases-note
...
core/v1: remove note about hostAliases not working with hostNetwork
2024-03-04 16:21:21 -08:00
Gaurav Ghildiyal
646fd200b8
Run 'make update'
2024-03-03 22:46:00 -08:00
Gaurav Ghildiyal
996d11d4e8
Add new field trafficDistribution to Service spec
2024-03-03 22:34:17 -08:00
Kubernetes Prow Robot
e4a14fe0f5
Merge pull request #123575 from Huang-Wei/pod-scheduling-readiness-stable
...
Graduate PodSchedulingReadiness to stable
2024-03-03 22:29:38 -08:00
Tim Hockin
467d5d745c
Get rid of unused API type NodeResources
2024-03-01 15:13:50 -08:00
Kubernetes Prow Robot
56a1b075cd
Merge pull request #122870 from wzshiming/kep-2681
...
Promote KEP-2681 to GA in 1.30
2024-02-29 15:11:33 -08:00
Wei Huang
01db4ae9e7
Graduate PodSchedulingReadiness to stable
2024-02-28 23:18:44 -08:00
Shiming Zhang
d303cec118
Update test
2024-02-29 11:48:18 +08:00
Kensei Nakada
f46df21cad
update comments on API
2024-02-28 12:32:32 +00:00
Kubernetes Prow Robot
72c92e975d
Merge pull request #123411 from hunshcn/fix/volume-link
...
fix persistent volume docs link
2024-02-27 16:47:27 -08:00
Gunju Kim
a24f2c1192
Validate restartable init container state transition
...
This allows the state of restartable init containers to be transitioned
from terminated to non-terminated even for pods with RestartPolicyNever
or RestartPolicyOnFailure.
2024-02-26 20:47:40 +09:00
Paco Xu
dc7114fa91
fix default IPMode set in UT
2024-02-26 12:32:01 +08:00
hunshcn
ce6bacb5ac
fix persistent volume docs link
...
Signed-off-by: hunshcn <hunsh.cn@gmail.com >
2024-02-21 16:26:16 +08:00
Kubernetes Prow Robot
91ee30074b
Merge pull request #123174 from danwinship/cidr-validation-cleanup
...
Make CIDR validation consistent
2024-02-15 18:37:20 -08:00
Akihiro Suda
5c825d8a22
core/v1: remove comment about non-existing constants
...
`NodeReachable`, `NodeLive`, `NodeSchedulable`, and `NodeRunnable` are mentioned
as "built-in set of conditions" but some of them do not exist in the current API.
Updated `pkgs/apis/core/types.go` too for consistency.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-02-12 23:16:43 +09:00
Dan Winship
593b1c6c63
Do service.spec.LoadBalancerSourceRanges validation inline
...
Inline the LoadBalancerSourceRanges parsing to make it more obvious
what it's requiring (and more importantly, *not* requiring), and
change it to use IsValidCIDR as well.
2024-02-09 10:43:20 -05:00
Dan Winship
d930215794
Update service.Spec.LoadBalancerSourceRanges validation tests
...
In preparation for rewriting LoadBalancerSourceRanges validation,
add/update the existing unit tests to cover some of the more exciting
edge cases of the existing validation code:
- The values in service.Spec.LoadBalancerSourceRanges are allowed to
have arbitrary whitespace around them.
- The annotation must be unset for non-LoadBalancer services, but
for LoadBalancer services, "set but empty" and "whitespace-only"
are treated the same as "unset".
- The annotation value is only validated if the field is not set.
Also fix some of the existing tests to be more precise about what they
are testing.
Also fix the CIDR values to actually be valid. Sigh.
2024-02-09 10:43:20 -05:00
Dan Winship
7a56b6e3f7
Add validation.IsValidCIDR
...
Move apivalidation.ValidateCIDR to apimachinery, and rename it and
change its return value to match the other functions.
Also, add unit tests.
(Also, while updating NetworkPolicy validation for the API change, fix
a variable name that implied that IPBlock.Except[] is IP-valued rather
than CIDR-valued.)
2024-02-07 09:48:01 -05:00
Kubernetes Prow Robot
052bce26f4
Merge pull request #122931 from danwinship/ip-validation-cleanup
...
consistently use IsValidIP for IP validation
2024-02-06 15:58:15 -08:00
Kubernetes Prow Robot
f025a96d2f
Merge pull request #122728 from RomanBednar/pv-phase-transition-time-doc-fix
...
Remove alpha reference from PersistentVolumeStatus.lastPhaseTransitionTime docs
2024-01-24 19:51:51 +01:00
Kubernetes Prow Robot
fc4d6ac8ea
Merge pull request #121731 from Taction/service-account-token-projected-volume-validation
...
Fix service account token projected volume validation
2024-01-24 19:51:43 +01:00
zhangchao
7972f0309c
Fix service account token projected volume validation
...
Signed-off-by: zhangchao <zchao9100@gmail.com >
2024-01-23 23:03:37 +08:00
Dan Winship
1d59d6b6c6
Use validation.IsValidIP in a few more places
...
Rather than using netutils.ParseIPSloppy directly.
Also fix the field paths in the errors for pod.spec.hostAliases to
include the array index.
2024-01-23 09:10:35 -05:00
Dan Winship
519dd6887d
Make validation.IsValidIP return a field.ErrorList for consistency
2024-01-23 09:08:27 -05:00
Roman Bednar
2ce04fc04b
flag PersistentVolumeLastPhaseTransitionTime field as beta
2024-01-17 13:14:09 +01:00
Lubomir I. Ivanov
47ee56a7f2
core/v1: remove note about hostAliases not working with hostNetwork
...
Support for this was added in 1.8 by PR 50646.
Local tests confirm that the feature indeed works.
E2e tests seem to be missing.
2023-12-20 18:09:21 +02:00
Kevin Hannon
7ba546cfeb
drop alpha comment on ephemeral storage
2023-11-20 09:58:13 -05:00
Taahir Ahmed
599fdb7add
Regenerate for ClusterTrustBundlePEM projected volume API
2023-11-03 11:40:48 -07:00
Taahir Ahmed
ecfdc8fda5
Define ClusterTrustBundlePEM projected volume
...
This commit defines the ClusterTrustBundlePEM projected volume types.
These types have been renamed from the KEP (PEMTrustAnchors) in order to
leave open the possibility of a similar projection drawing from a
yet-to-exist namespaced-scoped TrustBundle object, which came up during
KEP discussion.
* Add the projection field to internal and v1 APIs.
* Add validation to ensure that usages of the project must specify a
name and path.
* Add TODO covering admission control to forbid mirror pods from using
the projection.
Part of KEP-3257.
2023-11-03 11:40:48 -07:00
Humble Chirammal
3890546265
Update APIs and adjust tests
...
Signed-off-by: zhucan <zhucan.k8s@gmail.com >
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
2023-11-01 09:28:36 +05:30
Kubernetes Prow Robot
dba565193c
Merge pull request #121104 from carlory/kep-3751-api-changes
...
[KEP-3571] introduce the VolumeAttributesClass API
2023-10-31 20:23:50 +01:00
Kubernetes Prow Robot
d475c249da
Merge pull request #120954 from HirazawaUi/deprecate-kubeProxyVersione-field
...
deprecate the kubeProxyVersion field of v1.Node
2023-10-31 19:16:20 +01:00
Kubernetes Prow Robot
418e9d08a4
Merge pull request #120592 from AxeZhan/validation_sets
...
Use generic set in package "/pkg/apis/core/validation"
2023-10-31 19:16:02 +01:00
carlory
56ab6c5942
generated changes
2023-10-31 11:26:35 +08:00
carlory
ae90a69677
volumeattributesclass and core api changes
2023-10-31 11:18:56 +08:00
HirazawaUi
2c2fa2107a
deprecate the kubeProxyVersion field of v1.Node
2023-10-29 15:04:11 +08:00
AxeZhan
070e7a38cb
generic set
2023-10-28 15:31:28 +08:00
Paco Xu
36d6917ae1
valid error for creation and update from valid to invalid only
...
- using an option AllowNamespacedSysctlsForHostNetAndHostIPC
Signed-off-by: Paco Xu <paco.xu@daocloud.io >
2023-10-28 06:58:54 +08:00
Paco Xu
9a8ccdebc5
use sysctl utils to do pod spec validation
...
Signed-off-by: Paco Xu <paco.xu@daocloud.io >
2023-10-28 06:58:51 +08:00
Paco Xu
4321652d13
reject pod creation for hostNet pod with net sysctl; hostIPC pod with ipc sysctl
...
Signed-off-by: Paco Xu <paco.xu@daocloud.io >
2023-10-28 06:58:28 +08:00
Kubernetes Prow Robot
6d7d249372
Merge pull request #121077 from chrishenzie/readwriteoncepod-ga
...
Graduate ReadWriteOncePod to GA
2023-10-24 05:26:05 +02:00
Kubernetes Prow Robot
441d4b54ae
Merge pull request #120397 from ty-dc/StaticCheck
...
cleanup: omit comparison with bool constants
2023-10-24 05:25:52 +02:00
Kubernetes Prow Robot
581552eaf0
Merge pull request #116065 from sanposhiho/match-label-key-alternative
...
feature(scheduler): implement matchLabelKeys in PodAffinity and PodAntiAffinity
2023-10-23 18:39:13 +02:00
Chris Henzie
2dbd405583
Graduate ReadWriteOncePod to GA
2023-10-20 10:40:39 -07:00
Kubernetes Prow Robot
2c10d9cacb
Merge pull request #121277 from dprotaso/update-standard-protocols
...
update standard protocols to match KEP-3726
2023-10-20 03:10:43 +02:00
Dave Protasowski
b7477c31b0
update versioned types
2023-10-18 11:36:48 -04:00
Kensei Nakada
d5d3c26337
feature(scheduler): implement matchLabelKeys in PodAffinity and PodAntiAffinity
2023-10-18 11:28:02 +00:00