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
Kubernetes Prow Robot
aeed7da616
Merge pull request #119077 from sanposhiho/follow-up-hint
...
clean up the implementation around QueueingHintFn
2023-07-06 13:39:15 -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
6f9d1d38d8
Merge pull request #118817 from pohly/dra-delete-claims
...
DRA: improve handling of completed pods
2023-07-06 10:15:15 -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
7e5506de8d
Merge pull request #119111 from kannon92/remove-equal-ready-job
...
remove equalReady and replace with k8 util function
2023-07-06 09:13:16 -07: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
Kensei Nakada
be0db3f93d
clean up the implementation around QueueingHintFn
2023-07-06 16:07:39 +00:00
Kubernetes Prow Robot
8c1bf4f461
Merge pull request #116930 from fatsheep9146/contextual-logging-cleanup
...
contextual logging cleanup
2023-07-06 07:39:03 -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
Kubernetes Prow Robot
d48fc2ad2d
Merge pull request #119035 from saschagrunert/critical-pod
...
Fix `should be able to create and delete a critical pod` test
2023-07-06 00:51:03 -07: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
77ad8a516d
Merge pull request #119025 from ii/remove-csidriver-test
...
Remove conformance test for StorageV1CSIDriver Endpoints
2023-07-05 17:53:02 -07:00
tangwz
1bf2f6c9c0
feat(NodePorts): return Skip status in PreFilter
2023-07-06 08:42:08 +08:00
Ziqi Zhao
dfc1838379
Migrated pkg/controller/volume|util|replicaset|nodeipam to contextual logging
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
2023-07-06 07:39:52 +08:00
xin.li
6c0387d004
Migrated pkg/controller/endpoint to contextual logging
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-07-06 07:36:51 +08:00
xin.li
3cf2822bc5
Migrated pkg/controller/garbagecollector to contextual logging
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-07-06 07:36:51 +08:00
Kubernetes Prow Robot
916c3466b9
Merge pull request #118940 from soltysh/drop_missedschedules
...
Hide numberOfMissedSchedules as an algorithm internal number
2023-07-05 16:27: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
kannon92
921b7e6e8f
remove equalReady and replace with k8 util function
2023-07-05 20:11:48 +00:00
Kubernetes Prow Robot
a88defe09a
Merge pull request #119107 from soltysh/drop_deprecated_api
...
Stop using deprecated API
2023-07-05 12:01:02 -07:00
Kubernetes Prow Robot
88e42040b1
Merge pull request #118981 from ffromani/e2e-podres-deflake
...
e2e: node: podresources: cooldown the rate limit
2023-07-05 12:00:50 -07:00
Kubernetes Prow Robot
80af36cfff
Merge pull request #119104 from pohly/e2e-remove-node-gcp
...
e2e node: remove unused test/e2e_node/gcp
2023-07-05 10:41:08 -07:00
Kubernetes Prow Robot
c1d4ec0677
Merge pull request #118537 from SataQiu/fix-cluster-gce-20230607
...
replace node-role.kubernetes.io/master taint with node-role.kubernetes.io/control-plane for gce kubelet flags
2023-07-05 10:40:57 -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
ce7fd466aa
Merge pull request #118134 from pohly/e2e-pod-security-levels
...
e2e: support admissionapi.LevelRestricted in test/e2e/framework/pod
2023-07-05 08:39:09 -07:00
Kubernetes Prow Robot
91698fe900
Merge pull request #114061 from Octopusjust/k8s-pr15
...
testutil: use contextual logging
2023-07-05 08:38:57 -07:00
Maciej Szulik
1240a29af9
Hide numberOfMissedSchedules as an algorithm internal number
2023-07-05 16:58:28 +02:00
Dr. Stefan Schimanski
c733c57962
pkg/controlplane: wire core storage as RESTStorageProvider
2023-07-05 16:46:40 +02:00
Dr. Stefan Schimanski
65b34221eb
kube-apiserver: remove IP repair plumbing from kubernetes service controller
2023-07-05 16:45:31 +02:00
Maciej Szulik
9dcc57ede6
Stop using deprecated API
2023-07-05 16:42:55 +02:00
Patrick Ohly
a514f40131
dra resourceclaim controller: delete generated claims when pod is done
...
When a pod is done, but not getting removed yet for while, then a claim that
got generated for that pod can be deleted already. This then also triggers
deallocation.
2023-07-05 16:10:20 +02:00
Patrick Ohly
e8a0c42212
dra resourceclaim controller: remove reservation for completed pods
...
When a pod is known to never run (again), the reservation for it also can be
removed. This is relevant in particular for the job controller.
2023-07-05 16:10:20 +02:00
Patrick Ohly
7f5a02fc7e
dra resourceclaim controller: enhance logging
...
Adding logging to event handlers makes it more obvious why (or why not) claims
and pods need to be processed.
2023-07-05 16:10:20 +02:00
Patrick Ohly
d1ba893ad8
dra resourceclaim controller: refactor isPodDone
...
This covers pods that get deleted before running and will be used more than
once soon.
2023-07-05 16:09:41 +02:00
Kubernetes Prow Robot
51429cb5af
Merge pull request #119083 from pacoxu/fix-verfiy-master
...
run hack/update-vendor.sh to fix verify master
2023-07-05 06:49:04 -07:00
Kubernetes Prow Robot
e35f4e0087
Merge pull request #119082 from sttts/sttts-corerest-generic-split
...
kube-apiserver/corerest: normalize service IP range plumbing
2023-07-05 06:48:57 -07:00
Dan Winship
e2900da46a
Remove unnecessary utiliptables.Interface arg from local detectors
...
getLocalDetector() used to pass a utiliptables.Interface to
NewDetectLocalByCIDR() so that NewDetectLocalByCIDR() could verify
that the passed-in CIDR was of the same family as the iptables
interface. It would make more sense for getLocalDetector() to verify
this itself and just *not call NewDetectLocalByCIDR* if the families
don't match, and that's what the code does now. So there's no longer
any need to pass the utiliptables.Interface to the local detector.
2023-07-05 09:11:23 -04:00
Dan Winship
7690c6e812
Simplify getDualStackLocalDetectorTuple
...
Since the single-stack and dual-stack local-detector-getters now have
the same behavior in terms of error-checking and dual-stack config, we
can just replace the contents of getDualStackLocalDetectorTuple() with
a pair of calls to getLocalDetector().
2023-07-05 09:09:54 -04:00
Dan Winship
cefd50a753
Improve the single-stack LocalDetector behavior
...
1. When bringing up a single-stack kube-proxy in a dual-stack cluster,
allow using either the primary or secondary IP family.
2. Since the earlier config-checking code will already have bailed out
if the single-stack configuration is unusably broken, we don't need to
do that here. Instead, just return a no-op local detector if there are
no usable CIDRs of the expected IP family.
2023-07-05 09:06:25 -04:00
Dan Winship
bfccfa7016
Add names to the getLocalDetector unit tests, use t.Run
2023-07-05 09:06:25 -04:00