Commit Graph

18955 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
80dab4127b Merge pull request #116720 from soltysh/remove_short_version
Remove long/golang version information making short the default
2023-07-10 02:41:06 -07:00
Kubernetes Prow Robot
c2d1593cf9 Merge pull request #117806 from danwinship/gcp-kubeproxyversion
Remove gcp cloud-provider checks for kubelet version >= 1.7.2
2023-07-07 20:37:16 -07:00
Gunju Kim
c187b38117 Sidecar: Generated code 2023-07-07 21:39:35 +00:00
Gunju Kim
5d26bcd468 Sidecar: API changes
- Add SidecarContaienrs feature gate
- Add ContainerRestartPolicy type
- Add RestartPolicy field to the Container
- Drop RestartPolicy field if the feature is disabled
- Add validation for the SidecarContainers
- Allow restartable init containaers to have a startup probe
2023-07-07 21:39:34 +00:00
Maciej Szulik
3f07fc3acc Remove long/golang version information making short the default 2023-07-07 18:46:34 +02:00
Kubernetes Prow Robot
4c7cda3e55 Merge pull request #119127 from Mskxn/fix_leak
use stopCh to avoid goroutine leak in tests
2023-07-06 14:39:25 -07:00
Kubernetes Prow Robot
40956a7977 Merge pull request #118879 from atiratree/fix-openapi-apiservices
make apiservices.apiregistration.k8s.io discoverable in openapi/v3
2023-07-06 14:39:17 -07:00
Heba Elayoty
2fe38f93e5 feat: Append job creation timestamp to cronjob annotations (#118137)
* Append job name to job annotations

Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>

* Update annotation description, remove timezone, and fix time

Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>

* Remove unused ctx

Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>

* code review comments

Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>

* code review comments

Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>

* Add timezone back

Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>

---------

Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
2023-07-06 14:39:04 -07:00
Anish Ramasekar
1acdb4ae86 [KMSv2] Mark KMS v1beta1 as deprecated with no further fixes (#119007)
* add feature gate

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

* add validation and warning in load config

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

* mark v1beta1 proto message deprecated

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

---------

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-07-06 13:39:03 -07:00
Kubernetes Prow Robot
d02d8ba635 Merge pull request #118862 from byako/batching-dra-calls
DRA controller: batch resource claims for Allocate
2023-07-06 11:33:03 -07:00
Kubernetes Prow Robot
f66ba8c604 Merge pull request #118652 from saschagrunert/cri-container-config-user-defined-image
Add user specified image to CRI `ContainerConfig`
2023-07-06 10:15:03 -07:00
Alexey Fomenko
b10cc642b5 DRA controller: batch resource claims for Allocate
Signed-off-by: Alexey Fomenko <alexey.fomenko@intel.com>
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2023-07-06 19:31:45 +03:00
Kubernetes Prow Robot
823e0f77e8 Merge pull request #118010 from aimuz/cleanup
cleanup: duplicate request_test TestRequestAbsPathPreservesTrailingSlash
2023-07-06 09:13:04 -07:00
Kubernetes Prow Robot
2075b20b28 Merge pull request #114909 from aimuz/fix-114402
fix: kubectl expose fails for apps with same-port, different-protocol
2023-07-06 03:27:03 -07:00
Mskxn
132d477cb7 use stopCh to avoid goroutine leak in tests 2023-07-06 16:35:52 +08:00
Sascha Grunert
20a25cbfcf Add user specified image to CRI ContainerConfig
The container config image references either an image ID or a digest,
but not the original image from the container config. We require the
image for signature verification to ensure that we actually verify the
correct image.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-07-06 08:40:09 +02:00
Kubernetes Prow Robot
fbb2f89668 Merge pull request #118960 from MikeSpreitzer/add-seat-occupancy-metric
Introduce apiserver_flowcontrol_current_executing_seats metric
2023-07-05 23:17:05 -07:00
Mike Spreitzer
65e818d4ec Introduce apiserver_flowcontrol_current_executing_seats metric
This is a duplicate of
`apiserver_flowcontrol_request_concurrency_in_use` but with a better
name.  Hopefully we can later remove the copy with the inferior name.

Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com>
2023-07-06 00:50:11 -04:00
Kubernetes Prow Robot
e5efa0a5ee Merge pull request #117108 from pohly/test-integration-race-detection-component-base-logs
component-base/logs: improve handling of re-applying a configuration
2023-07-05 21:29:08 -07:00
Kubernetes Prow Robot
cd32adebd9 Merge pull request #118386 from Richabanker/enhance-storage-version
Add servedVersions info in StorageVersion API
2023-07-05 19:23:02 -07:00
Kubernetes Prow Robot
ef3cad84be Merge pull request #118881 from atiratree/fix-openapi-aggregation
fix openapi/v3 non local apiservices aggregation
2023-07-05 14:33:02 -07:00
Patrick Ohly
02efe09abe component-base/logs: improve handling of re-applying a configuration
Normal binaries should never have to do this. It's not safe when there are
already some goroutines running which might do logging. Therefore the new
default is to return an error when a binary accidentally re-applies.

A few unit ensure that there are no goroutines and have to call the functions
more then once. The new ResetForTest API gets used by those to enable changing the
logging settings more than once in the same process.

Integration tests use the same code as the normal binaries. To make reuse of
that code safe, component-base/logs can be configured to silently ignore any
additional calls. This addresses data races that were found when enabling -race
for integration tests. To catch cases where the integration test does want
to modify the config, the old and new config get compared and an error is
raised when it's not the same.

To avoid having to modify all integration tests which start test servers,
reconfiguring component-base/logs is done by the test server packages.
2023-07-05 19:08:54 +02:00
Kubernetes Prow Robot
5f63d1f916 Merge pull request #118955 from MikeSpreitzer/add-exempt-queuesets
Make QueueSet support exempt behavior; use it
2023-07-04 05:28:53 -07:00
Kubernetes Prow Robot
2f563464bc Merge pull request #119045 from serathius/test-consistent-list
Test consistent list
2023-07-04 04:20:53 -07:00
Marek Siarkowicz
b36fdd68b7 Test consistent List 2023-07-04 10:13:54 +02:00
Kubernetes Prow Robot
00b8a0a95b Merge pull request #118160 from minherz/master
Support JSONPath condition without value
2023-07-04 00:26:52 -07:00
Kubernetes Prow Robot
3be105e7eb Merge pull request #118905 from stormqueen1990/update-translations-pot
Update template.pot with latest message IDs
2023-07-03 15:54:53 -07:00
Kubernetes Prow Robot
c9c541a4b7 Merge pull request #117971 from wojtek-t/paginate_delete_collection
Paginate within DeleteCollection call.
2023-07-03 13:08:51 -07:00
Wojciech Tyczyński
e08bd3bc26 Simplify DeleteCollection 2023-07-03 21:10:52 +02:00
Tim Allclair
2b03f04ce5 Initialize the AuditEvent with the AuditContext (#113611)
* Initialize the AuditEvent with the AuditContext

* Squash: Address PR feedback

* Squash: address PR feedback
2023-07-03 09:16:51 -07:00
Kubernetes Prow Robot
4682f86886 Merge pull request #118810 from brancz/parallelize-diff
kubectl: Allow parallelizing diffing
2023-07-03 05:12:51 -07:00
Kubernetes Prow Robot
94c345a330 Merge pull request #117817 from varshaprasad96/rewrite/expose
[refactor] refactoring flags and options in Expose cmd
2023-07-03 04:10:51 -07:00
Frederic Branczyk
1cfb932111 kubectl: Allow parallelizing diffing 2023-07-03 12:17:56 +02:00
Kubernetes Prow Robot
1c5eadf4b3 Merge pull request #118845 from pacoxu/patch-5
update cri-api change in v1.27
2023-07-01 10:02:48 -07:00
Richa Banker
1c48b7ec14 Add servedVersions info in StorageVersion API 2023-06-29 15:40:54 -07:00
Kubernetes Prow Robot
a736049349 Merge pull request #118986 from logicalhan/beta-metric
promote sli metrics to beta
2023-06-29 14:51:45 -07:00
Kubernetes Prow Robot
8cd25e7908 Merge pull request #118931 from wojtek-t/generic_cacher_tests_270623
Generalize watch storage tests
2023-06-29 12:09:31 -07:00
Han Kang
0eeca0987a fix tests 2023-06-29 10:14:45 -07:00
Han Kang
04ea1d506b promote sli metrics to beta 2023-06-29 09:23:01 -07:00
Kubernetes Prow Robot
d27439701f Merge pull request #118948 from aramase/aramase/c/oidc_wire_context
[StructuredAuthenticationConfig] wire request context to claim resolver
2023-06-29 08:21:48 -07:00
Wojciech Tyczyński
8266c4d934 Generalize watch storage tests 2023-06-29 09:02:37 -04:00
Kubernetes Prow Robot
2ee01fb673 Merge pull request #118945 from andrewsykim/update-request-filter-duration-buckets
Introduce larger buckets for request_filter_duration_seconds and request_wait_duration_seconds
2023-06-29 03:51:36 -07:00
minherz
dbdd861ea3 chore: address review feedback
add integration test to wait for json without value
refactor JSON condition value parsing and validating
adjusting test to reflect the error message refactoring
2023-06-29 00:36:07 -07:00
Mike Spreitzer
f269acd12b Make QueueSet support exempt behavior; use it
Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com>
2023-06-28 23:15:43 -04:00
Michal Fojtik
1c7e87cff2 client-go: add DNS resolver latency metrics (#115357)
* client-go: add DNS resolver latency metrics

* client-go: add locking to DNS latency metrics

* client-go: add locking for whole DNSStart and DNSDone

Signed-off-by: Vu Dinh <vudinh@outlook.com>

* Fix a mismatched ctx on the request

Signed-off-by: Vu Dinh <vudinh@outlook.com>

* Clean up request code and fix comments

Signed-off-by: Vu Dinh <vudinh@outlook.com>

---------

Signed-off-by: Vu Dinh <vudinh@outlook.com>
Co-authored-by: Vu Dinh <vudinh@outlook.com>
2023-06-28 13:56:45 -07:00
Anish Ramasekar
150f732c7e [StructuredAuthenticationConfig] wire request context to claim resolver
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-06-28 20:38:33 +00:00
Kubernetes Prow Robot
4036b6fb41 Merge pull request #118922 from champtar/kubeadm-backdate-ca
kubeadm: backdate generated CAs
2023-06-28 12:28:56 -07:00
Kubernetes Prow Robot
056f3a56b8 Merge pull request #118182 from seans3/wsstream-refactor
Refactor wsstream library from apiserver to apimachinery
2023-06-28 12:28:45 -07:00
Andrew Sy Kim
16fdd3e5ee apiserver: introduce larger buckets for flowcontrol request_wait_duration_seconds bucket
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2023-06-28 15:48:39 +00:00
Andrew Sy Kim
c607984379 apiserver: introduce larger buckets for request_filter_duration_seconds metric
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2023-06-28 14:19:51 +00:00