Commit Graph

118011 Commits

Author SHA1 Message Date
Joe Betz
b1223e0d1a
check for overflow
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2023-08-22 10:02:10 -07:00
Joe Betz
87cf890632 Fix CEL cost handling of zero length replacement strings 2023-08-22 12:49:31 -04:00
Mike Spreitzer
b0e249f657 Handle edge cases in seat demand stats
Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com>
2023-08-22 09:12:32 -04:00
Kubernetes Prow Robot
aa8cb97f65
Merge pull request #120068 from aojea/ipmode_test
follow up on  " Merged Make Kubernetes aware of the LoadBalancer behaviour"
2023-08-22 03:02:54 -07:00
ZhaoRuquan
037640af8c
Apply suggestions from code review
Co-authored-by: Mahamed Ali <cy@borg.dev>
2023-08-22 17:43:46 +08:00
Kubernetes Prow Robot
cde1b19a31
Merge pull request #119959 from ty-dc/cleanup-e2e-common-framework-ExpectConsistOf
e2e_apps: stop using deprecated framework.ExpectConsistOf
2023-08-22 01:20:05 -07:00
RuquanZhao
98d772ca3c Support multiarch/platfrom in find-release-tars
Signed-off-by: Ruquan Zhao ruquan.zhao@arm.com
2023-08-22 16:19:04 +08:00
tao.yang
c6e54169fc e2e_apps: stop using deprecated framework.ExpectConsistOf
Signed-off-by: tao.yang <tao.yang@daocloud.io>
2023-08-22 11:17:26 +08:00
Dixita Narang
d2dbc583a0 Adding coverage for OOM Kill scenario due to node allocatable memory limits, when pod level memory limits are not set 2023-08-22 00:45:17 +00:00
Kubernetes Prow Robot
f852d7fead
Merge pull request #118653 from pohly/volume-resource-requirements
Volume resource requirements
2023-08-21 14:08:05 -07:00
Kubernetes Prow Robot
2c23d7b718
Merge pull request #120089 from dims/restrict-what-imports-get-into-code-within-test/e2e_node
Restrict what imports get into code within test/e2e_node
2023-08-21 13:06:04 -07:00
Abu Kashem
0039f24d74
apf: refactor promise to use a context 2023-08-21 15:19:31 -04:00
Davanum Srinivas
3e9a4c15a8
Restrict what imports get into code within test/e2e_node
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-08-21 15:04:23 -04:00
Kubernetes Prow Robot
55c86d6ad9
Merge pull request #119790 from seantywork/added-comment
added comment for clarifying steps related to kubernetes mutual (2-wa…
2023-08-21 11:09:34 -07:00
Kubernetes Prow Robot
92b7905143
Merge pull request #119661 from cartermckinnon/lease-leak-node-not-found
Handle errors when preparing lease for update
2023-08-21 11:09:23 -07:00
Patrick Ohly
c1eb18c00c generated files 2023-08-21 17:07:43 +02:00
Kubernetes Prow Robot
70a28449a7
Merge pull request #120038 from liyuerich/expectempty
e2e: stoping using deprecated framework.ExpectEmpty
2023-08-21 08:03:23 -07:00
Kubernetes Prow Robot
f082fab916
Merge pull request #119556 from linxiulei/schedMF
Trim managedFields in pod informer
2023-08-21 07:03:34 -07:00
Kubernetes Prow Robot
6cbc5dfac6
Merge pull request #114095 from aimuz/fix-114083
scheduler: Fix field apiVersion is missing from events reported from taint manager
2023-08-21 07:03:23 -07:00
Patrick Ohly
2472291790 api: introduce separate VolumeResourceRequirements struct
PVC and containers shared the same ResourceRequirements struct to define their
API. When resource claims were added, that struct got extended, which
accidentally also changed the PVC API. To avoid such a mistake from happening
again, PVC now uses its own VolumeResourceRequirements struct.

The `Claims` field gets removed because risk of breaking someone is low:
theoretically, YAML files which have a claims field for volumes now
get rejected when validating against the OpenAPI. Such files
have never made sense and should be fixed.

Code that uses the struct definitions needs to be updated.
2023-08-21 15:31:28 +02:00
Kubernetes Prow Robot
bcbceea117
Merge pull request #120081 from p0lyn0mial/upstream-storage-etcd-watcher-refactor
storage/etcd: no-op, simplify watcher construction
2023-08-21 05:37:22 -07:00
Lukasz Szaszkiewicz
a5600b6925 storage/etcd: simplify passing the transformer 2023-08-21 13:36:25 +02:00
Lukasz Szaszkiewicz
6161752ecb storage/etcd: remove newWatcher function 2023-08-21 13:36:21 +02:00
Kubernetes Prow Robot
4dee8398ae
Merge pull request #120078 from tzneal/investigate-test-failure
expect the new resource_scape_error metric
2023-08-21 04:13:34 -07:00
Kubernetes Prow Robot
ea3318cb71
Merge pull request #119971 from kwakubiney/chore/include-pod-uid-in-event-log
chore: attach pod UID to event log
2023-08-21 04:13:22 -07:00
Kubernetes Prow Robot
ba10ee7671
Merge pull request #119975 from p0lyn0mial/upstream-storage-get-current-rv
storage/util: move GetCurrentResourceVersionFromStorage
2023-08-21 02:49:48 -07:00
Kubernetes Prow Robot
2f729f05b6
Merge pull request #119972 from p0lyn0mial/upstream-storage-etcd-ref-watcher-method
storage/etcd: no-op, refactor watcher.Watch method signature
2023-08-21 02:49:41 -07:00
Kubernetes Prow Robot
f46583dcaa
Merge pull request #119824 from aojea/deflake_TestCreateHealthcheck
fix race creating etcd client for healthchecks
2023-08-21 02:49:33 -07:00
Kubernetes Prow Robot
e043bc08d4
Merge pull request #119156 from neolit123/1.28-add-support-for-dup-extraargs
kubeadm add support for structured ExtraArgs
2023-08-21 02:49:22 -07:00
Kubernetes Prow Robot
a1fdef7d01
Merge pull request #120072 from SataQiu/fix-kubeadm-20230820
kubeadm: fix the bug that `--image-repository` flag is missing for some init phase sub-commands
2023-08-21 01:27:22 -07:00
liyuerich
3546831ceb e2e_storage: stoping using deprecated framework.ExpectEmpty 2023-08-21 09:18:18 +08:00
Tim Hockin
a930892769
Gate: disallow .status.loadBalancer on non-LB svc
The fact that the .status.loadBalancer field can be set while .spec.type
is not "LoadBalancer" is a flub.  Any spec update will already clear
.status.ingress, so it's hard to really rely on this.  After this
change, updates which try to set this combination will fail validation.

Existing cases of this will not be broken.  Any spec/metadata update
will clear it (no error) and this is the only stanza of status.

New gate "AllowServiceLBStatusOnNonLB" is off by default, but can be
enabled if this change actually breaks someone, which seems exceeedingly
unlikely.
2023-08-20 16:40:41 -07:00
Kubernetes Prow Robot
2979242743
Merge pull request #120077 from tzneal/revert-oom-serial
Revert "mark the OOM killer as serial to reduce flakes"
2023-08-20 13:53:21 -07:00
Todd Neal
b8512cfe24 expect the new resource_scape_error metric 2023-08-20 14:17:54 -05:00
Todd Neal
905f07f1ac Revert "mark the OOM killer as serial to reduce flakes"
This reverts commit bd6f548746.

Running as serial didn't completely eliminate the flake so I think
there's something more going on here.  Reverting the change to serial
since its not a solution.
2023-08-20 13:38:07 -05:00
Antonio Ojea
5c7529a6fc kube-proxy service cache don't treat ipMode proxy address as invalid
Change-Id: I4f79d4847943862dfd859325cdab075f62ef4707
2023-08-20 13:55:57 +00:00
Kubernetes Prow Robot
d5a42e2c22
Merge pull request #120073 from SataQiu/fix-kubeadm-20230820-02
kubeadm: fix the field path for JoinControlPlane.CertificateKey validation
2023-08-20 06:31:21 -07:00
Eric Lin
f93bd699aa Trim managedFields in pod informer
Signed-off-by: Eric Lin <exlin@google.com>
2023-08-20 13:09:15 +00:00
SataQiu
093093593c kubeadm: fix the field path for JoinControlPlane.CertificateKey validation 2023-08-20 17:35:18 +08:00
SataQiu
700b55b3b2 kubeadm: fix the bug that --image-repository flag is missing for some init phase sub-commands 2023-08-20 17:18:00 +08:00
Kubernetes Prow Robot
5b2167482d
Merge pull request #120064 from SataQiu/feat-kubeadm-20230819
kubeadm: add validation to verify that the CertificateKey is a valid hex encoded AES key
2023-08-19 23:59:21 -07:00
SataQiu
75a80d5aba kubeadm: add validation to verify that the CertificateKey is a valid hex encoded AES key 2023-08-20 12:47:02 +08:00
Kubernetes Prow Robot
8377e0f538
Merge pull request #120042 from chendave/typo_namespaces
kubeadm: Fix typo where API group is not correct
2023-08-19 05:53:21 -07:00
Antonio Ojea
c112a34642 add unit test for kube-proxy service cache with ipMode
Change-Id: I0c25e15f259698a2882e398e05ab342bf2b38dba
2023-08-19 11:24:28 +00:00
Kubernetes Prow Robot
eae63c8918
Merge pull request #119957 from SataQiu/v1.28.0-api-testdata
Add v1.28.0 API testdata
2023-08-18 21:31:20 -07:00
Kubernetes Prow Robot
db64cc4a55
Merge pull request #119714 from ritazh/kmsv2-feature-enablement-ut
kmsv2 test feature enablement unit test
2023-08-18 20:27:31 -07:00
Kubernetes Prow Robot
c2bddad813
Merge pull request #119454 from pacoxu/fix-ip-mode
use LoadBalancer type service for e2e service test to patch ingress status
2023-08-18 20:27:19 -07:00
Kubernetes Prow Robot
8a8d63a732
Merge pull request #120059 from tzneal/mark-oomkiller-test-as-serial
mark the OOM killer as serial to reduce flakes
2023-08-18 18:19:31 -07:00
Kubernetes Prow Robot
16310c959d
Merge pull request #119878 from ritazh/kmsv2-metrics-dekcachesize
kmsv2: add metric for DEK cache filled
2023-08-18 18:19:20 -07:00
Paco Xu
30ff937aaf add a fake load balancer class to fix e2e test failure 2023-08-19 08:50:13 +08:00