Commit Graph

113675 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
285e7969b2
Merge pull request #114544 from ritazh/kmsv2-keyid-staleness
[KMSv2] Use status key ID to determine staleness of encrypted data
2023-01-19 10:28:16 -08:00
Alexander Zielenski
b969dfec9f use typedinformer if available
reduces memory and cpu when things like configmap are used as a param

cannot be shared due to limitatoins of sharedinformerfactory
2023-01-19 10:05:48 -08:00
Alexander Zielenski
0c495cb429 use namespacedName for keys in fakeCompiler 2023-01-19 10:05:48 -08:00
Antoine Pelisse
577f3d8c9d fieldmanager: Copy LastAppliedAnnotation to remove dependency on corev1 2023-01-19 09:38:04 -08:00
Antoine Pelisse
8d40ba73fb fieldmanager: Move structured benchmarks to their own file 2023-01-19 09:37:20 -08:00
Kubernetes Release Robot
fd83273fa5 CHANGELOG: Update directory for v1.24.10 release 2023-01-19 17:04:21 +00:00
Rita Zhang
510ac9b391
kmsv2: use status key ID to update staleness of encrypted data
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-01-19 08:09:24 -08:00
Kubernetes Prow Robot
6b55f097bb
Merge pull request #114976 from kidddddddddddddddddddddd/python3
use python3 in hack
2023-01-19 07:24:47 -08:00
Kubernetes Prow Robot
c02b7e7a81
Merge pull request #114936 from seans3/openapi-validation-refactor
Refactor validation files into pkg/validation
2023-01-19 07:24:35 -08:00
Swati Sehgal
340db7109d node: e2e: topologymgr: add tests for topology manager metrics
Add node e2e tests to verify population of topology metrics.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-01-19 14:40:37 +00:00
Swati Sehgal
51c6a1fbe7 node: e2e: cpumgr: Rename: s/getCPUManagerMetrics/getKubeletMetrics
Since we need to gather kubelet metrics for CPU Manager and Topology
Manager, renaming this function to a more generic name.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-01-19 14:18:05 +00:00
Hao Ruan
08210a1cb5 Generated files 2023-01-19 22:14:40 +08:00
Hao Ruan
b64dcf862d Fix the name violation in apiextensions.k8s.io/v1,CustomResourceConversion, remove the failures file 2023-01-19 22:08:29 +08:00
Kubernetes Prow Robot
1ca2180f30
Merge pull request #115197 from thockin/codegen-6-missing-proto-APIs
Fix 2 kubelet proto-generating scripts missing inputs
2023-01-19 05:36:37 -08:00
Tim Hockin
76785d07ee
update kubelet go.mod 2023-01-18 23:59:55 -08:00
Tim Hockin
01e1da77e2
Fix kubelet-plugin-registration to add missing dir
include v1

This is far too manual for my tastes, which will be fixed subsequently.
2023-01-18 23:38:20 -08:00
Tim Hockin
4e48506245
Fix generated-pod-resources to add missing dir
include v1alpha1

This is too manual - will be fixed subsequently
2023-01-18 23:38:18 -08:00
Patrick Ohly
d6480dacd6 k8s.io/component-base/logs: match full help text in unit test
The test was meant to fail when there are unexpected additional lines like the
"panic calling String method" messages. But `assert.Regexp` does a search for
the regexp, not a full string match, and thus succeeded even if those lines are
present. A full match needs to be requested explicitly with ^ and $.
2023-01-19 08:29:31 +01:00
SataQiu
571582b5b2 apiserver: update serialization version priority for policy API 2023-01-19 14:42:26 +08:00
Kubernetes Prow Robot
7b1b8d5734
Merge pull request #114889 from sanposhiho/skip/inter-pod-affinity
feature(InterPodAffinity): return Skip in PreFilter
2023-01-18 20:36:35 -08:00
Joseph Anttila Hall
5c01971f2a Bump konnectivity-client to v0.1.1
Fixes memory leaks.
Upgrades GRPC and ProtoBuf versions.
2023-01-19 04:35:31 +00:00
Kubernetes Prow Robot
035271d89b
Merge pull request #115017 from mhmxs/conf-tmp-dir
Make tmp dir configurable and dynamic at local-up-cluster.sh
2023-01-18 19:02:45 -08:00
Kubernetes Prow Robot
33e9242843
Merge pull request #108095 from lzhecheng/fix-update-route-if-nodeip-change
Route controller should update routes with NodeIP changed
2023-01-18 19:02:33 -08:00
briwan01
2aed699d8c test images: Update CudaVectorAdd test image to support arm64
Signed-off-by: briwan01 <Brian.Wang@arm.com>
2023-01-19 10:18:17 +08:00
Kubernetes Prow Robot
af54e18a46
Merge pull request #115187 from thockin/codegen-3-examples-cleanup
Fix apiserver example2 to update gen'ed protobufs
2023-01-18 17:54:49 -08:00
Kubernetes Prow Robot
c2d18a6d14
Merge pull request #115184 from thockin/codegen-1-clientset-doc-go
Don't generate clientset/doc.go in client-gen
2023-01-18 17:54:41 -08:00
Kubernetes Prow Robot
8bee5dca1d
Merge pull request #115140 from smarterclayton/wait_context
wait: Use a context implementation for ContextForChannel
2023-01-18 17:54:33 -08:00
Kensei Nakada
3b20a007ed feature(InterPodAffinity): return Skip in PreFilter 2023-01-19 01:24:18 +00:00
Kubernetes Release Robot
8d4a91198f CHANGELOG: Update directory for v1.25.6 release 2023-01-19 00:46:46 +00:00
Richard Kovacs
17422ff5c1
Use proper tmp directory for update-openapi-spec.sh (#115106)
* Use proper tmp directory for update-openapi-spec.sh

* Use proper mktmp command in update-openapi-specs.sh
2023-01-18 16:06:33 -08:00
Tim Hockin
9a491f79a8
Fix apiserver example2 to update gen'ed protobufs
regen apiserver example2
2023-01-18 15:00:55 -08:00
Tim Hockin
dc88f34ce3
Remove obsolete generated listers
These are not regenerated by any input.  The OWNERS files were the last
things left for these 2 directories
2023-01-18 14:54:22 -08:00
Tim Hockin
37ca6b0fac
Remove obsolete generated applyconfigs
These are not regenerated by any input.
2023-01-18 14:54:21 -08:00
Tim Hockin
e127fffea0
Remove deprecated generated clients 2023-01-18 14:54:20 -08:00
Tim Hockin
95bf7b0afe
Don't generate clientset/doc.go in client-gen
It seems valuable to be able to provide hand-written docs for these
first-level directories, and if don't want them, the generated doc.go
files are not actually very helpful.

This commit also adds new doc.go files for client-go listers/ and
informers/.
2023-01-18 14:50:22 -08:00
Tim Hockin
f95a840c12
Fix client-go doc.go - not generated
As per liggitt, lavalamp, and jpbetz
2023-01-18 14:50:21 -08:00
Kubernetes Prow Robot
06ad425809
Merge pull request #115147 from alexzielenski/apiserver/policy/multiple-paramkind-bug
ValidatingAdmissionPolicy: fix bug preventing multiple policies from using same paramKind
2023-01-18 14:49:01 -08:00
Kubernetes Prow Robot
eff6b9f648
Merge pull request #114680 from pohly/log-go-flag-support
k8s.io/component-base/logs: fix usage through Go flag package
2023-01-18 14:48:54 -08:00
Kubernetes Prow Robot
dfbe1c0120
Merge pull request #113789 from jsafrane/add-selinux-tests
Add multi-pod tests with SELinux mounts
2023-01-18 14:48:46 -08:00
Kubernetes Prow Robot
0acf6dbf7c
Merge pull request #113637 from mikedanese/http-proxy
switch spdy round trip tests to simple http proxy
2023-01-18 14:48:34 -08:00
Kubernetes Release Robot
01e0f784e3 CHANGELOG: Update directory for v1.23.16 release 2023-01-18 21:37:46 +00:00
Kubernetes Release Robot
c5f044ca9d CHANGELOG: Update directory for v1.26.1 release 2023-01-18 21:00:18 +00:00
Kubernetes Prow Robot
98da10e4f2
Merge pull request #115052 from kidddddddddddddddddddddd/fix/volume_zone
fix volume_zone, iterate all topologyLabels when check node
2023-01-18 10:54:46 -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
Mike Danese
f61c4245c1 vendor: removed unused dep github.com/elazarl/goproxy 2023-01-18 18:31:50 +00:00
Mike Danese
6bdb8ed566 switch spdy round trip tests to simple http proxy
github.com/elazarl/goproxy does not properly handle upgrades over HTTP
proxy. The problem is this misinterpretation:

6691876326/vendor/github.com/elazarl/goproxy/proxy.go (L89-L95)

These should be stripped but recalculated then added back:

https://cs.opensource.google/go/go/+/refs/tags/go1.19.3:src/net/http/httputil/reverseproxy.go;l=292-297;drc=f6d844510d5f1e3b3098eba255d9b633d45eac3b

Let's just stop using goproxy, and use the stdlib instead. The
functionality we need is straightforward to implement and goproxy is
overkill.
2023-01-18 18:31:50 +00:00
Kubernetes Prow Robot
c63434aaff
Merge pull request #110838 from soltysh/cronjob_improvements
CronJob controller cleanups
2023-01-18 09:44:34 -08:00
Maciej Szulik
be44d67566
Re-use common parts between getNextScheduleTime and nextScheduledTimeDuration
The two methods nextScheduledTimeDuration and getNextScheduleTime have a
lot of similarities, so this commit squashes the common parts together
along with getMostRecentScheduleTime to avoid code duplication.
2023-01-18 16:52:45 +01:00
Dan Winship
4aec2b8b72 Move KEP-3453 MinimizeIPTablesRestore to beta 2023-01-18 10:50:12 -05:00
Dan Winship
b9bc0e5ac8 Ensure needFullSync is set at iptables proxy startup
The unit tests were broken with MinimizeIPTablesRestore enabled
because syncProxyRules() assumed that needFullSync would be set on the
first (post-setInitialized()) run, but the unit tests didn't ensure
that.

(In fact, there was a race condition in the real Proxier case as well;
theoretically syncProxyRules() could be run by the
BoundedFrequencyRunner after OnServiceSynced() called setInitialized()
but before it called forceSyncProxyRules(), thus causing the first
real sync to try to do a partial sync and fail. This is now fixed as
well.)
2023-01-18 10:50:12 -05:00