Commit Graph

19411 Commits

Author SHA1 Message Date
justinsb
10caecb3b2 kubectl prune v2: switch to contains-group-kinds annotation
The contains-group-resources was an implementation error, we specified
contains-group-kinds in the KEP.

Because it is in alpha, we simply switch to the new annotation.

We will recognize the old annotation and migrate existing alpha
applysets, but support for this migration can be removed in beta/GA of
applyset.
2023-09-15 11:23:20 -04:00
Kubernetes Prow Robot
bad6b29b9b Merge pull request #120691 from p0lyn0mial/upstream-refactor-storage-testing
storage/testing: a simple refactor
2023-09-15 03:04:13 -07:00
Lukasz Szaszkiewicz
39af594f31 storage/testing: a simple refactor 2023-09-15 10:59:10 +02:00
Kubernetes Prow Robot
d393d4e151 Merge pull request #120574 from logicalhan/cslis
promote component SLIs to GA; remove feature gates for component slis
2023-09-14 22:52:12 -07:00
Kubernetes Prow Robot
b8ef1a0791 Merge pull request #120492 from cezarygerard/fix-node-providerid
service controller: update LB nodes updates - update nodes if providerID has changed
2023-09-14 06:36:12 -07:00
Kubernetes Prow Robot
a68093a3ff Merge pull request #120506 from alexzielenski/import-restrictions
Update e2e import restrictions
2023-09-13 21:56:22 -07:00
Kubernetes Prow Robot
37e7f7446f Merge pull request #120317 from cezarygerard/limit-logging
service controller: limit logging node names to 20
2023-09-13 21:56:11 -07:00
Majid Garoosi
710dceded5 Look for pods in ownerReferences of PVC (#120427)
* Look for pods in ownerReferences of PVC

* Implement for loop instead of using slices package

* Add tests for getPodsForPVC function

* Make PVC names consistent

* Remove volumes part of the pvc owner pod

* Do not store result of append in another variable

* Fix lint error
2023-09-13 09:56:12 -07:00
Cezary Zawadka
80c8074e3b service controller: limit logging node names to 50.
This should improve performance on big clusters (1000s of nodes)

Signed-off-by: czawadka <czawadka@google.com>
2023-09-13 15:11:27 +02:00
Cezary Zawadka
349e3ebf80 service controller: improve node lifecycle updates - update nodes if providerID has changed
Signed-off-by: czawadka <czawadka@google.com>
2023-09-13 15:04:01 +02:00
Kubernetes Prow Robot
97e87e2c40 Merge pull request #120575 from benluddy/precompute-cr-accepts
Reuse SupportedMediaTypes for CR content-type negotiation.
2023-09-13 03:00:23 -07:00
Kubernetes Prow Robot
10f9d5ce6d Merge pull request #120513 from devincd/fix-typo
fix typo in client-go package
2023-09-12 14:42:11 -07:00
Kubernetes Prow Robot
d147da0304 Merge pull request #120597 from machine424/apiserver_storage_objects
clarify the description of the metric apiserver_storage_objects
2023-09-12 13:34:23 -07:00
Kubernetes Prow Robot
e897483713 Merge pull request #120583 from ritazh/kms-livezchecks
kms: remove livez check
2023-09-12 12:18:12 -07:00
Rita Zhang
7710128636 kms: remove livez check
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-09-12 08:48:26 -07:00
Kubernetes Prow Robot
24bc34b1bf Merge pull request #120516 from togettoyou/cleanup-client-go
cleanup: Replace the deprecated NewMemCacheClient with memory.NewMemCacheClient
2023-09-12 07:48:24 -07:00
machine424
084deb7a7c clarify the description of the metric apiserver_storage_objects 2023-09-12 16:36:41 +02:00
Kubernetes Prow Robot
b7e3b9f7d9 Merge pull request #120508 from aojea/aojea_owner
add aojea as client-go approver
2023-09-11 13:12:11 -07:00
Ben Luddy
4d55c0687d Reuse SupportedMediaTypes for CR content-type negotiation.
In the course of calling NegotiateOutputMediaType, each CR endpoint handler invocation instantiates
six JSON serializers. Each instantiation marshals the serializer options to JSON to construct the
serializer identifier. Under heavy CR GET load, CPU profiling shows approximately 16% of the time
spent in WriteObjectNegotiated was in SupportedMediaTypes, most of that within json.identifier().
2023-09-11 13:59:21 -04:00
Han Kang
09d64ed7d4 promote sli metrics to stable 2023-09-11 10:17:42 -07:00
Han Kang
e6435e98ed promote component SLIs to GA; remove feature gates for component slis 2023-09-11 09:15:32 -07:00
Kubernetes Prow Robot
b343878daa Merge pull request #120438 from ritazh/kmsv2-metrics-apiserverid
kmsv2: add apiserver identity to metrics
2023-09-09 16:46:09 -07:00
Rita Zhang
43ccf6c4e8 kmsv2: add apiserver identity to metrics
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-09-09 15:31:32 -07:00
Kubernetes Prow Robot
33c5bd631d Merge pull request #120008 from skitt/drop-intstr-ptr-wrappers
Use ptr.To to retrieve intstr addresses
2023-09-09 07:24:09 -07:00
Kubernetes Prow Robot
37cf2638c9 Merge pull request #119619 from skitt/intstr-parse-parseint
Limit intstr.Parse() to 32-bit integer parsing
2023-09-08 13:04:29 -07:00
Kubernetes Prow Robot
15a019d841 Merge pull request #120526 from cpanato/update-prom
[releng] Update publishing-bot rules for active release branches that uses go1.20 to Go 1.20.8
2023-09-08 09:36:18 -07:00
Kubernetes Prow Robot
f6a87aebe6 Merge pull request #120499 from tukwila/gorilla/websocket_v1.5.0
bump: upgrade gorilla/websocket from v1.4.2 to v1.5.0
2023-09-08 08:24:15 -07:00
Kubernetes Prow Robot
2bfe0fc798 Merge pull request #120523 from shiftstack/cloud-provider/additional-flags-in-usage
cloud-provider: Log additional options
2023-09-08 06:28:14 -07:00
cpanato
18932d970e [releng] Update publishing-bot rules for active release branches that use go1.20 to Go 1.20.8
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-09-08 14:58:31 +02:00
Stephen Finucane
48f453d649 cloud-provider: Log additional options
The 'NewCloudControllerManagerCommand' function create a cobra.Command
object that is used for the main entry point to various CCM
implementations. This function accepts an 'additionalFlags' parameter,
allowing users to register additional controller-specific options
beyond the standard set used for all controllers. While we were dumping
the standard set of flags in the usage string - seen when running the
command with '--help' or when parsing fails - we were not dumping the
additional options. Correct this oversight.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-09-08 11:44:43 +01:00
Stephen Kitt
aa89e6dc97 Use ptr.To to retrieve intstr addresses
This uses the generic ptr.To in k8s.io/utils to replace functions and
code constructs which only serve to return pointers to intstr
values. Other uses of the deprecated pointer package are updated in
modified files.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-09-08 11:10:50 +02:00
Xunzhuo
a0a8765027 fix: update thirdpartyresources refs 2023-09-08 14:41:15 +08:00
Junhao Zou
43c05e98ca cleanup: Replace the deprecated NewMemCacheClient with memory.NewMemCacheClient 2023-09-08 11:57:46 +08:00
devincd
975da2fb23 fix typo in client-go package
Signed-off-by: devincd <505259926@qq.com>
2023-09-08 10:31:07 +08:00
Antonio Ojea
cc77b97c5e add aojea as client-go approver
After 12 months as reviewer, constantly reviewing and contributing
to client-go, I think is fair to move to the next ladder.

Change-Id: I49e579dcefcd39c6f0b29400c90467df00719cca
2023-09-07 21:16:19 +00:00
Alexander Zielenski
8451c80b60 pin gengo 2023-09-07 09:49:30 -07:00
Kubernetes Prow Robot
6c39a3724d Merge pull request #120493 from cpanato/golang1211
[go] Bump images, dependencies and versions to go 1.21.1
2023-09-07 09:37:08 -07:00
Kubernetes Prow Robot
c1628f3b6f Merge pull request #119934 from letmerecall/fix-testgrid-links
Fix broken links to testgrid dashboard
2023-09-07 09:36:57 -07:00
guangli.bao
93d93258b1 bump: upgrade gorilla/websocket from v1.4.2 to v1.5.0 2023-09-07 22:27:58 +08:00
cpanato
98af8befe2 [go] Bump images, dependencies and versions to go 1.21.1
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-09-07 14:56:56 +02:00
Kubernetes Prow Robot
0c7e1fbe9d Merge pull request #118677 from ardaguclu/local-support-empty-config
Gracefully handle empty config error when local flag is used
2023-09-07 03:52:57 -07:00
Kubernetes Prow Robot
b27670dfbd Merge pull request #118740 from saschagrunert/kubelet-label-types
Make kubelet label types public
2023-09-06 23:46:57 -07:00
Kubernetes Prow Robot
cf8f9a8d07 Merge pull request #119334 from kmala/serverapply
update the dependency sigs.k8s.io/structured-merge-diff/v4 to latest tag
2023-09-06 12:34:55 -07:00
Matthias Riegler
d7b7a85fbc feat: make user-defined plugins discoverable with e.g. kubectl help (#116752)
* feat: make user-defined plugins discoverable with e.g. kubectl help

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: make help text localizable & rename it

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* chore: address CRs, cleanup

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: plugin execution

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

---------

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-09-06 09:12:52 -07:00
Kubernetes Prow Robot
c0a38d01aa Merge pull request #120433 from enj/enj/f/kmsv2_default_enable_kdf
kmsv2: enable KMSv2KDF feature gate by default
2023-09-06 06:38:52 -07:00
cpanato
67858e1ff0 Bump images, dependencies and versions to go 1.21.0
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-09-06 12:06:51 +02:00
Kubernetes Prow Robot
ce19650212 Merge pull request #120368 from Jefftree/openapi-remove-openapiv2-skip-filter
remove SkipFilterSchemaForKubectlOpenAPIV2Validation
2023-09-05 16:21:11 -07:00
Kubernetes Prow Robot
10d257889d Merge pull request #120365 from aramase/aramase/c/kms_scheme_cleanup
register API types only once for encryption config
2023-09-05 16:21:03 -07:00
Kubernetes Prow Robot
6013381508 Merge pull request #119157 from seans3/websocket-executor
WebSocket Client and V5 RemoteCommand Subprotocol
2023-09-05 16:20:51 -07:00
Kubernetes Prow Robot
e291b2799f Merge pull request #120183 from aramase/aramase/c/kep_3331_use_local_vars_oidc
[StructuredAuthnConfig] use local variables in oidc pkg
2023-09-05 15:16:51 -07:00