Kubernetes Prow Robot
aa98f6f4da
Merge pull request #115606 from wzshiming/fix/termination_grace_period_seconds
...
`pod.spec.terminationGracePeriodSeconds` is a negative then convert to 1
2023-02-23 07:35:35 -08:00
Daniel Vega-Myhre
c63f448451
change test names and address other comments
2023-02-23 03:25:17 +00:00
Daniel Vega-Myhre
d41302312e
update validation logic so completions is mutable iff completions is modified in tandem with parallelsim so completions == parallelism
2023-02-23 03:25:16 +00:00
Kubernetes Prow Robot
06b6644fcf
Merge pull request #115815 from Huang-Wei/pod-scheduling-readiness-beta
...
Graduate PodSchedulingReadiness to beta
2023-02-21 14:24:32 -08:00
ravisantoshgudimetla
ebf54fc6e2
Changes to pdb healthy policy api docs
2023-02-20 18:36:45 -05:00
Sascha Grunert
0c2136ab54
Graduate DownwardAPIHugePages
feature to stable / GA
...
This update updates the feature documentation for its GA graduation.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2023-02-20 09:52:39 +01:00
Shiming Zhang
5e5c543b13
Forcing the value of TerminationGracePeriodSeconds to 1 if it is negative
2023-02-20 13:14:31 +08:00
Wei Huang
72863f65d6
Graduate PodSchedulingReadiness to beta
2023-02-17 18:45:20 -08:00
Kubernetes Prow Robot
894cfdfeb4
Merge pull request #115363 from ravisantoshgudimetla/promote-pdb-healthy
...
Promote pdb healthy to beta
2023-02-16 11:45:49 -08:00
lianghao208
f09eeaf104
Validating the scheduling gate naming format
2023-02-16 14:56:41 +08:00
Wei Huang
feed8c683d
Enforce nodeName cannot be set along with non empty schedulingGates
2023-02-07 13:53:28 -08:00
Sergey Kanzhelev
b517d640a4
small comment the ephemeral containers are not accounted for the QoS calculation
2023-02-02 18:21:39 +00:00
kidddddddddddddddddddddd
113355a5a2
loosen check rules for ingress creation
2023-02-01 15:21:45 +08:00
Claudiu Belu
ec753fcb55
unittests: Fixes unit tests for Windows (part 6)
...
Currently, there are some unit tests that are failing on Windows due to
various reasons:
- On Windows, consecutive time.Now() calls may return the same timestamp, which would cause
the TestFreeSpaceRemoveByLeastRecentlyUsed test to flake.
- tests in kuberuntime_container_windows_test.go fail on Nodes that have fewer than 3 CPUs,
expecting the CPU max set to be more than 100% of available CPUs, which is not possible.
- calls in summary_windows_test.go are missing context.
- filterTerminatedContainerInfoAndAssembleByPodCgroupKey will filter and group container
information by the Pod cgroup key, if it exists. However, we don't have cgroups on Windows,
thus we can't make the same assertions.
2023-01-31 11:49:26 +00:00
Kubernetes Prow Robot
e150be6872
Merge pull request #115375 from liggitt/validate-timezone
...
Validate format of timeZone before calling system LoadLocation method
2023-01-30 19:48:48 -08:00
Jordan Liggitt
7e19850f31
Validate format of timeZone
2023-01-30 17:01:45 -05:00
Kubernetes Prow Robot
c829397f7a
Merge pull request #115354 from pohly/dra-reserved-for-list-type
...
dynamic resource allocation: avoid apiserver complaint about list content
2023-01-30 06:24:50 -08:00
ravisantoshgudimetla
167ff49647
Promote pdb health policy to beta
2023-01-27 23:52:21 +05:30
Patrick Ohly
508cd60760
dynamic resource allocation: avoid apiserver complaint about list content
...
This fixes the following warning (error?) in the apiserver:
E0126 18:10:38.665239 16370 fieldmanager.go:210] "[SHOULD NOT HAPPEN] failed to update managedFields" err="failed to convert new object (test/claim-84; resource.k8s.io/v1alpha1, Kind=ResourceClaim) to smd typed: .status.reservedFor: element 0: associative list without keys has an element that's a map type" VersionKind="/, Kind=" namespace="test" name="claim-84"
The root cause is the same as in e50e8a0c91
:
nothing in Kubernetes outright complains about a list of items where the item
type is comparable in Go, but not a simple type. This nonetheless isn't
supposed to be done in the API and can causes problems elsewhere.
For the ReservedFor field, everything seems to work okay except for the
warning. However, it's better to follow conventions and use a map. This is
possible in this case because UID is guaranteed to be a unique key.
Validation is now stricter than before, which is a good thing: previously,
two entries with the same UID were allowed as long as some other field was
different, which wasn't a situation that should have been allowed.
2023-01-27 11:33:05 +01:00
Kubernetes Prow Robot
083e0d2be1
Merge pull request #114991 from TheOneTheOnlyJJ/skip-failing-unittests
...
Skip failing Windows unit tests
2023-01-25 22:02:25 -08:00
Kubernetes Prow Robot
56a14025b0
Merge pull request #115193 from SataQiu/update-storage-api-20230119
...
apiserver: update serialization version priority for policy API
2023-01-19 13:44:15 -08:00
Kubernetes Prow Robot
7913e135a5
Merge pull request #112925 from SergeyKanzhelev/addValueOfLimitToErr
...
added limit value to the pod validation error to simplify debugging
2023-01-19 11:52:15 -08:00
SataQiu
571582b5b2
apiserver: update serialization version priority for policy API
2023-01-19 14:42:26 +08:00
Kubernetes Prow Robot
bdaa6bb617
Merge pull request #114776 from jsafrane/pv-secret-validation
...
Allow SecretReference.Name in PVs to have 253 characters
2023-01-18 10:54:34 -08:00
HirazawaUi
c50c19d13a
remove unused not api functions in the pkg/apis directory
2023-01-18 23:37:57 +08:00
Jurj Andrei George
4df989d719
Skip failing Windows unit tests
...
As discussed during the SIG Testing meeting on January 10, 2023, failing
Windows unit tests are now skipped.
These changes should be reverted when the unit tests wil get fixed.
Mentioned SIG Testing meeting:
https://docs.google.com/document/d/1z8MQpr_jTwhmjLMUaqQyBk1EYG_Y_3D4y4YdMJ7V1Kk/edit#heading=h.qwblxf2uhgoo
2023-01-18 14:18:41 +02:00
Kubernetes Prow Robot
e51fe4a61c
Merge pull request #114492 from SataQiu/update-prefered-storageversion-20221215
...
apiserver: update serialization version priority for flowcontrol API
2023-01-13 08:42:24 -08:00
Kubernetes Prow Robot
696701b9fd
Merge pull request #114086 from xmcqueen/113935
...
block ephemeral container addition to static pods
2023-01-13 07:36:28 -08:00
SataQiu
950c147db5
apiserver: update serialization version priority for flowcontrol API
2023-01-13 22:19:39 +08:00
Kubernetes Prow Robot
08d9a0ef5b
Merge pull request #113467 from pacoxu/psp-cleanup
...
Remove PodSecurityPolicy related code except client-go & API type
2023-01-11 14:28:07 -08:00
Kubernetes Prow Robot
6882e76c60
Merge pull request #114063 from ruquanzhao/fixNetworkTypesDoc
...
fix doc of types.go of network v1, v1alpha1, v1beta1
2023-01-10 23:47:56 -08:00
Kubernetes Prow Robot
5a896bf379
Merge pull request #114677 from kl52752/epd-warning-address-type
...
Generate warning for EndpointSlice AddressType FQDN
2023-01-10 13:47:27 -08:00
Kubernetes Prow Robot
2d08117e9e
Merge pull request #114065 from ruquanzhao/fixNodeTypesDoc
...
fix doc of types.go of node
2023-01-10 10:39:25 -08:00
RuquanZhao
d5b4644d23
fix doc of types.go of network v1, v1alpha1, v1beta1
...
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com >
2023-01-10 20:24:51 +08:00
TommyStarK
c242e647ae
pkg/apis: Replace deprecated pointer function
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
2023-01-08 13:14:37 +01:00
Paco Xu
25686a2c77
remove psp in extensions api/apis
2023-01-06 17:07:02 +08:00
Kubernetes Prow Robot
e119680318
Merge pull request #114784 from TommyStarK/pkg-apis/replace-deprecated-pointer-function
...
pkg/apis: Replace deprecated pointer function
2023-01-05 11:08:09 -08:00
TommyStarK
f166a52573
pkg/apis: Replace deprecated pointer function
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
2023-01-05 11:48:05 +01:00
Kubernetes Prow Robot
492637878f
Merge pull request #111660 from pacoxu/key-encipherment-v1.26
...
Key encipherment usage v1.27
2023-01-04 15:51:57 -08:00
Kubernetes Prow Robot
ac889a0251
Merge pull request #113581 from aimuz/verify-tls-secret
...
Verify that the key matches the cert
2023-01-04 14:29:58 -08:00
Jan Safranek
e743a6d14d
Allow SecretReference.Name in PVs to have 253 characters
...
PV.Spec.CSI.*SecretReference.Name should be allowed to have up to be
limited to 253 characters (DNS1123Subdomain) and not to 63 characters
(DNS1123Label), so all possible Secrets names can be used as secrets in a
PV.
This is continuation of
https://github.com/kubernetes/kubernetes/pull/108331 / Kubernetes 1.25,
which allowed updating PVs with long secret names, if the previous PV had
long secret name too. This makes sure downgrade from 1.27 to 1.26 works well
and allows PVs created in 1.27 to be updated in 1.26.
Now the long secret names are accepted during PV creation too.
2023-01-03 14:35:35 +01:00
Katarzyna Lach
249f763c7e
Generate warning for EndpointSlice AddressType FQDN
...
Change-Id: Ibc213acdffa741e630821f371ea25e2b5187a011
2023-01-02 10:00:01 +00:00
Paco Xu
160f015ef4
kubelet: add key encipherment usage only if it is rsa key
...
remove allowOmittingUsageKeyEncipherment as it is always true
Signed-off-by: Paco Xu <paco.xu@daocloud.io >
2022-12-27 16:04:25 +08:00
Paco Xu
3ace3eb74b
certificates default to tolerate no key encipherment
2022-12-26 23:15:21 +08:00
Tim Hockin
57b9656e2b
Remove old comments about IPv6 not being ready
2022-12-23 11:06:44 -08:00
Jordan Liggitt
78cb3862f1
Fix indentation/spacing in comments to render correctly in godoc
2022-12-17 23:27:38 -05:00
Kubernetes Prow Robot
2f2021e208
Merge pull request #114412 from thockin/api_warn_workloads_name_not_dnslabel
...
Issue API warnings when workload names are not DNS labels
2022-12-16 18:07:41 -08:00
Tim Hockin
276c7e860d
Change DNS Label validation to check for dots
...
This will produce a better error message for the more common case of
using a DNS subdomain where a label is needed.
2022-12-16 13:01:02 -08:00
Kubernetes Prow Robot
a05f93f31d
Merge pull request #114510 from thockin/statefulset_name_dns_label
...
StatefulSet validation needs to allow old names
2022-12-15 15:03:35 -08:00
Kubernetes Prow Robot
3d3a180713
Merge pull request #113942 from mengjiao-liu/remove-feature-gate-expansion
...
Remove volume expansion feature gates
2022-12-15 10:05:38 -08:00