Commit Graph

20744 Commits

Author SHA1 Message Date
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
Arda Güçlü
e8564d6c5b KEP-3895: Promote interactive delete to beta 2023-09-05 11:16:30 +03:00
tao.yang
b35357b6c0 cleanup: omit comparison with bool constants
Signed-off-by: tao.yang <tao.yang@daocloud.io>
2023-09-05 10:24:38 +08:00
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
Ritikaa96
76919e9569 Updated descriptions in kubectl create deployment help , added example for multiple images
Signed-off-by: Ritikaa96 <ritika@india.nec.com>
2023-09-04 13:53:57 +09:00
HirazawaUi
45b9b0df41 Add namespace to apiserver tracing 2023-09-03 23:25:35 +08:00
HirazawaUi
c83eb6dcaa Add subresource to apiserver tracing 2023-09-03 23:25:35 +08:00
HirazawaUi
bcb59a03eb Add name to apiserver tracing 2023-09-03 23:25:33 +08:00
HirazawaUi
646053d73d Add api-version to apiserver tracing 2023-09-03 23:24:51 +08:00
HirazawaUi
8c34208a62 Add group to apiserver tracing 2023-09-03 23:23:02 +08: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
Patrick Ohly
d781b58100 dra helper: skip allocated claims during UnsuitableNodes calculation
The UnsuitableNodes interface method was defined as getting passed only
unallocated claims, but was implemented so that it also included allocated
claims with delayed allocation.

This had two negative consequences:
- When the test driver checked whether all claims fit onto a node,
  it incorrectly rejected a node where, for example, one out of
  two claims was already allocated and the pending one would have
  fit. This caused random flakes in the scheduler_perf benchmark
  because those tests fill up the entire cluster and, depending on
  timing, sometimes not all claims got allocated at once.
- If the class or parameters for an allocated claim got deleted,
  UnsuitableNodes failed although those are not needed anymore
  after allocation.
2023-09-01 09:14:52 +02:00
Kubernetes Prow Robot
ff5fc28ff3 Merge pull request #120044 from apricote/cp-port-0
Allow disabling both listened-on ports in cloud-provider
2023-08-31 22:02:31 -07:00
Kubernetes Prow Robot
efadb94a74 Merge pull request #120259 from SataQiu/clean-apf-20230830
apf: remove v1alpha1 API
2023-08-31 19:44:42 -07:00
Davanum Srinivas
889c8e919b New repo who dis? distribution/reference
github.com/docker/distribution/reference has a new home github.com/distribution/reference

and a new tag v0.5.0. Let's switch to that.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-08-31 21:53:40 -04:00
Kubernetes Prow Robot
34aaf2b972 Merge pull request #120327 from liggitt/json-patch
Revert to json-patch 4.12.0
2023-08-31 17:06:30 -07:00
Jordan Liggitt
741f146157 Revert to json-patch 4.12.0 2023-08-31 19:01:37 -04:00
Monis Khan
b10697c788 kmsv2: fix race in simpleCache.set when setting cache size metric
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-08-31 16:26:58 -04:00
Kubernetes Prow Robot
dd0c2d4eb1 Merge pull request #120108 from tnqn/fix-appgregator
Fix OpenAPI aggregation cleanup
2023-08-31 10:42:47 -07:00
Kubernetes Prow Robot
8777747c98 Merge pull request #119150 from tnqn/external-traffic-policy-external-ips
Allow specifying ExternalTrafficPolicy for Services with ExternalIPs
2023-08-31 08:24:48 -07:00
Kubernetes Prow Robot
61d87fdb2e Merge pull request #117502 from Nordix/drain-improvements/adil
Adding more callbacks in kubedrain helper
2023-08-31 06:58:48 -07:00
adil ghaffar
0323fe42e2 adding more callbacks in kubedrain helper 2023-08-31 14:35:09 +03:00
Kubernetes Prow Robot
8daecd125e Merge pull request #120265 from serathius/refactor-store
Refactor store
2023-08-31 02:48:47 -07:00
Kubernetes Prow Robot
def694bbe0 Merge pull request #119801 from wojtek-t/refactor_watch_encoders
Refactor apiserver endpoint transformers to more natively use Encoders
2023-08-31 01:44:48 -07:00
Marek Siarkowicz
e01bd64144 Avoid creating local variables that don't change
Having local variables gives false impression that this is overwritten
in the function block.
2023-08-31 09:34:37 +02:00
Marek Siarkowicz
10553a1966 Flatten switch case 2023-08-31 09:34:12 +02:00