Commit Graph

19431 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
09200e9c92 Merge pull request #120752 from p0lyn0mial/upstream-client-go-initial-events-value
cache/reflector: check the value of the initial-events-end annotation
2023-09-19 21:40:17 -07:00
Kubernetes Prow Robot
b28622c3e6 Merge pull request #120736 from MadhavJivrajani/bump-govmomi
.: bump govmomi to v0.30.6
2023-09-19 21:40:10 -07:00
Kubernetes Prow Robot
408e45a66a Merge pull request #120695 from p0lyn0mial/upstream-move-watch-semantic-tests
storage/testing: make WatchSemantics tests storage agnostic
2023-09-19 05:23:07 -07:00
Lukasz Szaszkiewicz
04668c0043 cache/reflector: check the value of the initial-events-end annotation 2023-09-19 12:59:23 +02:00
Madhav Jivrajani
5c28fd2847 vsphere: adapt to govmomi bump
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2023-09-19 14:11:05 +05:30
Lukasz Szaszkiewicz
4b60c18183 storage/etcd3/watcher_test: refactor TestWatchErrorWhenNoNewFunc to a table test 2023-09-19 10:35:09 +02:00
Lukasz Szaszkiewicz
91bb75883c storage/testing/watcher_tests: make TestCacherWatchSemantics storage agnostic 2023-09-19 08:50:27 +02:00
Kubernetes Prow Robot
f9f00da6bc Merge pull request #118761 from TommyStarK/gh_113831
move common logic of highestSupportedVersion to util package
2023-09-18 13:59:25 -07:00
TommyStarK
42356bfbb3 move common logic of highestSupportedVersion to util package
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2023-09-18 21:25:29 +02:00
Madhav Jivrajani
fc6b19a4ba .: bump govmomi to v0.30.6
Bumping govmomi to include an error check fix needed
to work with go1.20. We made this fix in the CI, but
were reliant on the text matching of error strings,
which is why it didn't catch the actual issue. This

Fix in b4eac19369
PR to bump govmomi in cloud-provider-vsphere: https://github.com/kubernetes/cloud-provider-vsphere/pull/738

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2023-09-18 22:15:49 +05:30
Kubernetes Prow Robot
9d6180559b Merge pull request #119099 from palnabarun/authz-config
[StructuredAuthorizationConfiguration] Implement API types and wire kube-apiserver to use them
2023-09-18 07:08:31 -07:00
Lukasz Szaszkiewicz
afbb1a6ef9 storage/testing/watcher_tests: move TestCacherWatchSemantics (no-op) 2023-09-18 15:28:14 +02:00
Lukasz Szaszkiewicz
3a96baf3fa storage/testing/utils: add helper functions 2023-09-18 15:28:10 +02:00
Kubernetes Prow Robot
10d487313d Merge pull request #120694 from aojea/ws_healthchec
add loging and bump timers to avoid races
2023-09-18 03:00:42 -07:00
Majid Garoosi
a919079ff3 Check --show-events in kubectl describe pvc (#120380)
* Check --show-events arg before fetching events

* Remove unnecessary else statement

* Add test for false show events
2023-09-18 01:20:30 -07:00
Nabarun Pal
52c582ca77 Bootstrap API Types for Structured Authorization Configuration
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2023-09-18 11:33:17 +05:30
Kubernetes Prow Robot
f551940626 Merge pull request #119526 from sttts/sttts-idiomatic-cached
kube-openapi/cached: bump and adapt to more go-idiomatic caching library
2023-09-15 14:08:12 -07:00
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
Dr. Stefan Schimanski
6c59e8be5e hack/update-vendor.sh
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2023-09-15 15:42:13 +02:00
Dr. Stefan Schimanski
dad1b2a430 Fixup kube-openapi/pkg/cached changes 2023-09-15 15:42:13 +02: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
Antonio Ojea
40618b765c add loging and bump timers to avoid races
Change-Id: I6da35b6fb33c939f3f92f8ebf4c6a18bdf1644e4
2023-09-15 08:23:58 +00: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