Commit Graph

19390 Commits

Author SHA1 Message Date
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
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
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
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
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
Anish Ramasekar
418af0f4dc register API types only once for encryption config
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-09-05 20:39:05 +00:00
Kubernetes Prow Robot
f68c66f96d Merge pull request #119142 from aramase/aramase/f/kep_3331_add_feature_flag
[StructuredAuthenticationConfig] Add feature flag and wire up `--authentication-config` flag
2023-09-05 13:08:51 -07:00
Monis Khan
657cc2045e kmsv2: enable KMSv2KDF feature gate by default
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-09-05 15:20:10 -04:00
Sean Sullivan
a0d6a815fc WebSocket Client and V5 RemoteCommand Subprotocol 2023-09-05 11:37:18 -07:00
Kubernetes Prow Robot
e00af59d0f Merge pull request #120340 from pohly/dra-helper-logging-improvements
DRA: helper logging improvements
2023-09-05 09:05:51 -07:00
Akhil Mohan
43783aeb18 drop release-1.24 rules from publishing-bot
release-1.24 has been EOL since May 2023 and the last patch release
came out in August 2023

Signed-off-by: Akhil Mohan <makhil@vmware.com>
2023-09-05 17:25:42 +05:30
Kubernetes Prow Robot
294bde0079 Merge pull request #120119 from Ithrael/fix/kubectl-events-doesnt-filter-events-by-GroupVersion-for-resource-with-full-name
fix(kubectl): kubectl events doesn't filter events by GroupVersion fo…
2023-09-04 06:45:48 -07:00
Kubernetes Prow Robot
ea3353dd6b Merge pull request #119410 from Jefftree/kubectl-cleanup
Cleanup kubectl legacy server fallback
2023-09-03 07:15:46 -07:00
Kubernetes Prow Robot
03762cbcb5 Merge pull request #120316 from dims/move-to-new-repo-for-reference
New repo who dis? distribution/reference
2023-09-02 21:05:11 -07:00
Monis Khan
95121fe846 kmsv2: add legacy data integration test
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-09-01 15:33:28 -04:00
Jefftree
8255858a7c remove SkipFilterSchemaForKubectlOpenAPIV2Validation 2023-09-01 14:39:12 -04:00
Kubernetes Prow Robot
470fe396bd Merge pull request #120275 from danwinship/kep-3705-to-beta
Bump CloudDualStackNodeIPs to beta for 1.29
2023-09-01 11:28:43 -07:00
Kubernetes Prow Robot
a99e377a54 Merge pull request #120221 from enj/enj/i/kms_cache_metrics_lock
kmsv2: fix race in simpleCache.set when setting cache size metric
2023-09-01 10:00:31 -07:00
Kubernetes Prow Robot
a42f4f61c2 Merge pull request #120304 from p0lyn0mial/upstream-storage-options-progress-notification
storage: document ProgressNotify from storage.ListOptions
2023-09-01 07:54:51 -07:00
Kubernetes Prow Robot
42275daaaa Merge pull request #119870 from Jefftree/agg-discovery-406
Fallback to legacy discovery on a wider range of conditions
2023-09-01 07:54:44 -07:00
Kubernetes Prow Robot
5dd4f1245c Merge pull request #120118 from Ithrael/doc/kubectl-restart-without-specific-deployment-will-restart-all-deployments
doc(kubectl): Kubectl restart command without specific deployment wil…
2023-09-01 06:52:31 -07:00
Lukasz Szaszkiewicz
875b00137f storage/etcd: add TestWatchDispatchBookmarkEvents unit test 2023-09-01 13:46:41 +02:00
Lukasz Szaszkiewicz
6058540f3d storage: document ProgressNotify from storage.ListOptions
At first glance, it seems that the fields storage.ListOptions.ProgressNotify and storage.ListOptions.Predicate.AllowWatchBookmarks
are the same. Unfortunately, this is not the case.

This PR documents the differences and motivations for why these fields are actually distinct.
2023-09-01 13:46:35 +02:00
ithrael
f4fc4b16b1 doc: Add example for restarting all deployments in a namespace 2023-09-01 19:25:54 +08:00
Patrick Ohly
062c57ae92 dra controller helper: make allocation error message more readable
Here's what it looked like before:

    err="allocation of one or more pod claims failed. Claim test-dra5z9nh-resource-1an8wcr: failed allocating claim 4739f9a2-eedc-4702-ab17-e201e2dc0ad2. Claim test-dra5z9nh-resource-1bbdsj2: failed allocating claim e5525e5a-3397-40b4-a633-9ac354605303."

Some observations:

- Inserting the claim UID is just noise because it doesn't get logged anywhere else.
- Concatenating on a single line makes it hard to see the individual errors.

Joining with errors.Join leads to more readable output. The claim name only
gets inserted if not present already, to keep the individual error entries
short:

  err=<
        	claim test-dralmx55-resource-1asvr5d: resources exhausted on node "scheduler-perf-dra-w62wm"
        	claim test-dralmx55-resource-1bqq6c9: resources exhausted on node "scheduler-perf-dra-w62wm"
   >
2023-09-01 09:42:10 +02:00
Patrick Ohly
f96e23e477 dra controller helper: merge log entries for informer events
Instead of emitting two log entries for new or updated ResourceClaim and
PodSchedulingContext, add the additional information for V(6) to the logger via
WithValues and emit one log entry. This makes the log shorter and easier to
read because related information is on one line.
2023-09-01 09:42:10 +02:00