Commit Graph

118318 Commits

Author SHA1 Message Date
Joe Betz
1a850a0063 Bump cel-go to v0.17.6 2023-08-23 17:31:20 -04:00
Kubernetes Prow Robot
8290c4c9c1
Merge pull request #120087 from divyasri537/incorporating-feedback-PR-119341
Incorporating feedback on 119341
2023-08-23 14:27:57 -07:00
Divya Sri Sanaganapalli
24877f96fb Incorporating feedback on 119341 2023-08-23 20:24:12 +00:00
Kubernetes Prow Robot
232d343d58
Merge pull request #119969 from saschagrunert/cni-plugins
Update CNI plugins to v1.3.0
2023-08-23 12:41:57 -07:00
Kubernetes Prow Robot
42357dd257
Merge pull request #120128 from ritazh/format-mount
Use environment variables for parameters in Powershell
2023-08-23 10:40:01 -07:00
Kubernetes Prow Robot
fe313c529f
Merge pull request #120127 from ritazh/subpath
Use env variables for passing path and subpath to Powershell
2023-08-23 10:39:54 -07:00
Kubernetes Prow Robot
7a38db6b97
Merge pull request #120109 from Jefftree/fix-openapi-test-flakee
Add wait for cache sync to OpenAPI controller test
2023-08-23 10:39:47 -07:00
Kubernetes Prow Robot
292b815606
Merge pull request #119875 from jeremyrickard/go1207-publishing-bot-rules-124
[releng] Update publishing-bot rules for release-1.24 to Go 1.20.7
2023-08-23 10:39:40 -07:00
Kubernetes Prow Robot
2e6eafca3f
Merge pull request #119503 from wojtek-t/pagination_ga
Graduate APIListChunking to GA
2023-08-23 10:39:29 -07:00
Kubernetes Prow Robot
3f705b6ab8
Merge pull request #119962 from pohly/dra-api-list-type
api: change list type for node lists in PodSchedulingContext
2023-08-23 09:35:28 -07:00
Kubernetes Prow Robot
c034f321f9
Merge pull request #119879 from togettoyou/cleanup
Fix receiver names in legacyProvider
2023-08-23 08:07:29 -07:00
James Sturtevant
2bede058f9
Use environment varaibles for parameters in Powershell
As a defense in depth, pass parameters to powershell via environment variables.

Signed-off-by: James Sturtevant <jstur@microsoft.com>
2023-08-23 05:57:46 -07:00
James Sturtevant
c761c16562
Use env varaibles for passing path
The subpath could be passed a powershell subexpression which would be executed by kubelet with privilege.  Switching to pass the arguments via environment variables means the subexpression won't be evaluated.

Signed-off-by: James Sturtevant <jstur@microsoft.com>
2023-08-23 05:57:11 -07:00
Lukasz Szaszkiewicz
1327a57aaf storage/cacher: duplicate logging when a watch is closed due to unresponsiveness. 2023-08-23 12:51:50 +02:00
kerthcet
9ee94b0204 Remove duplicate codes in framework RemovePod
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-08-23 18:23:41 +08:00
Wojciech Tyczyński
f752ca2dc8 Make API chunking conformance test deterministic 2023-08-23 12:18:23 +02:00
ithrael
28621f1eb3 fix(kubectl): kubectl events doesn't filter events by GroupVersion for resource with full name 2023-08-23 11:34:44 +08:00
ithrael
79466886a1 doc(kubectl): Kubectl restart command without specific deployment will restart all deployments 2023-08-23 11:22:53 +08:00
Kubernetes Prow Robot
fb785f1f42
Merge pull request #120100 from ruquanzhao/fixFindReleaseTars
Support multiarch/platfrom in find-release-tars
2023-08-22 17:36:22 -07:00
Kubernetes Prow Robot
07f47d8b40
Merge pull request #120097 from jpbetz/fix-ppc64le
Fix CEL cost handling of zero length replacement strings
2023-08-22 14:42:04 -07:00
Kubernetes Prow Robot
95bb02943d
Merge pull request #118950 from ndixita/node-allocatable-oom
Adding coverage for OOM Kill scenario due to node allocatable memory …
2023-08-22 14:41:54 -07:00
Kubernetes Prow Robot
a5ebc9d519
Merge pull request #118502 from pohly/golangci-lint-hints
golangci-lint: suppress one issue, demote others to "hints"
2023-08-22 13:19:54 -07:00
Patrick Ohly
ce9e668a93 golangci-lint: suppress one issue, demote others to "hints"
The voting in https://github.com/kubernetes/kubernetes/issues/117288 led to
one check that got rejected ("ifElseChain: rewrite if-else to switch
statement") and several that are "nice to know".

golangci-lint's support for issue "severity" is too limited to identify "nice
to know" issues in the output (filtering is only by linter without considering
the issue text; not part of text output). Therefore a third configuration gets
added which emits all issues (must fix and nits). The intention is to use
the "strict" configuration in pull-kubernetes-verify and the "hints"
configuration in a new non-blocking pull-kubernetes-linter-hints.

That way, "must fix" issues will block merging while issues that may be useful
will show up in a failed optional job. However, that job then also contains
"must fix" issues, partly because filtering out those would make the
configuration a lot larger and is likely to be unreliably (all "must fix"
issues would need to be identified and listed), partly because it may be useful
to have all issues in one place.

The previous approach of manually keeping two configs in sync with special
comments didn't scale to three configs. Now a single golangci.yaml.in with
text/template constructs contains the source for all three configs. A new
simple CLI frontend for text/template (cmd/gotemplate) is used by
hack/update-golangci-lint-config.sh to generate the three flavors.
2023-08-22 20:39:23 +02:00
Patrick Ohly
6a16c076e7 hack: move common "verify generated" shell code into function
Several verify scripts used the same pattern of "check for clean working tree,
generated files, check for diffs". The code for that is now in
kube::verify::generated, defined in hack/lib/verify-generated.sh, and those
scripts just source that.
2023-08-22 20:39:23 +02:00
Kubernetes Prow Robot
2792d91367
Merge pull request #120090 from MikeSpreitzer/fix-120032
Handle edge cases in seat demand stats
2023-08-22 11:19:06 -07:00
Kubernetes Prow Robot
7afa777208
Merge pull request #117628 from skitt/intstr-fromint32-cloud-provider
Cloud provider: use new intstr functions
2023-08-22 11:18:55 -07:00
Jefftree
9c83c380e0 Add wait for cache sync 2023-08-22 17:10:53 +00:00
Kubernetes Prow Robot
9aba98ad71
Merge pull request #119948 from liyuerich/storageclass
add UT for storageclass
2023-08-22 10:03:06 -07:00
Kubernetes Prow Robot
c0691f3784
Merge pull request #119789 from thockin/deprecate_svc_lb_ingress_with_clusterip
Gate: disallow .status.loadBalancer on non-LB svc
2023-08-22 10:02:55 -07:00
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
lowang-bh
bd06c26d58 fix: concurrent map writes in e2e test
Signed-off-by: lowang-bh <lhui_wang@163.com>
2023-08-22 16:57:41 +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
bzsuni
93832de624
stop using deprecated framework.ExpectNotEqual
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-08-22 11:12:39 +08:00
bzsuni
145dbb6acc
stop using deprecated framework.ExpectNotEqual
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-08-22 09:53:04 +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