Commit Graph

115776 Commits

Author SHA1 Message Date
Humble Chirammal
6d13cad2cf dependencies: update gh/Azure/auto-test/{adal,validation}
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-13 23:25:48 +05:30
Kubernetes Prow Robot
139a2c54a2
Merge pull request #117301 from ncdc/revert-conversion-refactoring
Revert conversion refactoring
2023-04-13 10:26:39 -07:00
Kubernetes Prow Robot
21ad28aee2
Merge pull request #117279 from humblec/container-spec
dependencies: update container storage interface spec to v1.8.0
2023-04-13 08:30:39 -07:00
Andy Goldstein
432a3016a4 Revert "Merge pull request #113151 from ncdc/refactor-crd-conversion"
This reverts commit f524d765f4, reversing
changes made to c2b5457dfa.
2023-04-13 11:27:39 -04:00
Andy Goldstein
9c5a66e208 Revert "CR conversion: protect from converter input edits"
This reverts commit f14cc7fdfc.
2023-04-13 11:21:40 -04:00
Kubernetes Prow Robot
b98659ba62
Merge pull request #117238 from pohly/namespaces-name-lowercase
encode NamespacedName with lower case in JSON
2023-04-13 07:32:38 -07:00
HirazawaUi
ed0124855a add log includes pod preemption details 2023-04-13 22:29:18 +08:00
Kubernetes Prow Robot
abece296e6
Merge pull request #117284 from humblec/other-deps
dependencies: azure-sdk-for-go to v55->v68
2023-04-13 06:26:36 -07:00
Kubernetes Prow Robot
c3e3ff989a
Merge pull request #116896 from thockin/apimachinery_util_diff_cleanup
apimachinery util/diff cleanups
2023-04-13 02:26:37 -07:00
Humble Chirammal
2d06fad516 dependencies: azure-sdk-for-go to v55->v68
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-13 14:55:56 +05:30
Paco Xu
c042837a76 truncate the precision at a millisecond for image pull event message 2023-04-13 15:56:16 +08:00
Kubernetes Prow Robot
aab9a7c262
Merge pull request #116385 from kinvolk/rata/local-up-chown
hack/local-up-cluster.sh: Always sudo chown the certs dir
2023-04-13 00:20:36 -07:00
Monis Khan
804d9f47c9
kube-aggregator: correctly use client-go TLS cache with custom dialer
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-04-13 00:31:34 -04:00
Kubernetes Prow Robot
297dc976b9
Merge pull request #117261 from thockin/codegen_openapi_use_code-generator
Codegen: use openapi-gen via k8s.io/code-generator
2023-04-12 18:08:34 -07:00
charles-chenzz
db5d74935e optimize evict sandbox logic 2023-04-13 09:02:46 +08:00
charles-chenzz
ccf7ddacfc replace ioutil with os, update doc 2023-04-13 09:02:46 +08:00
Tim Hockin
5668399a87
Codegen: use openapi-gen via k8s.io/code-generator 2023-04-12 17:08:36 -07:00
Kubernetes Prow Robot
5550bd5eac
Merge pull request #117249 from tnqn/fix-data-race
Fix a data race in TopologyCache
2023-04-12 16:28:30 -07:00
Kubernetes Prow Robot
caad9d5630
Merge pull request #116593 from danwinship/proxy-unused-cleanup
remove some dead code in cmd/kube-proxy
2023-04-12 14:54:44 -07:00
Kubernetes Prow Robot
a89fe3676a
Merge pull request #116282 from thockin/codegen_subprojects_nuke_old_files
Codegen: subprojects: nuke old files
2023-04-12 14:54:31 -07:00
Kubernetes Prow Robot
9082903f94
Merge pull request #117245 from tnqn/fix-topology-hint
Fix TopologyAwareHint not working when zone label is added after Node creation
2023-04-12 13:24:44 -07:00
Kubernetes Prow Robot
6226fa7acc
Merge pull request #116996 from aramase/aramase/c/kms_api_cleanup_comments
[KMSv2] cleanup comments in v2 proto api
2023-04-12 13:24:31 -07:00
Aldo Culquicondor
b23ab389b4
Add SIG ownership to controller/nodelifecycle
Change-Id: I31a329d9ca08bdf12a428cae44a5f061afa01e73
2023-04-12 15:42:06 -04:00
Kubernetes Release Robot
375e3cf869 CHANGELOG: Update directory for v1.24.13 release 2023-04-12 19:05:24 +00:00
Kubernetes Release Robot
f7295ac5e0 CHANGELOG: Update directory for v1.25.9 release 2023-04-12 18:22:59 +00:00
Quan Tian
d567d61aa5 Fix a data race in TopologyCache
The member variable `cpuRatiosByZone` should be accessed with the lock
acquired as it could be be updated by `SetNodes` concurrently.

Signed-off-by: Quan Tian <qtian@vmware.com>
Co-authored-by: Antonio Ojea <aojea@google.com>
2023-04-13 02:03:16 +08:00
Quan Tian
a62563f130 Fix TopologyAwareHint not working when zone label is added after Node creation
The topology.kubernetes.io/zone label may be added by could provider
asynchronously after the Node is created. The previous code didn't
update the topology cache after receiving the Node update event, causing
TopologyAwareHint to not work until kube-controller-manager restarts or
other Node events trigger the update.

Signed-off-by: Quan Tian <qtian@vmware.com>
2023-04-13 01:47:55 +08:00
Kubernetes Release Robot
83a1774df2 CHANGELOG: Update directory for v1.26.4 release 2023-04-12 17:41:04 +00:00
Kubernetes Prow Robot
5d8c99a6fe
Merge pull request #117138 from tosi3k/job-syncs
Add `--concurrent-job-syncs` flag to kube-controller-manager
2023-04-12 09:58:42 -07:00
Kubernetes Prow Robot
ad85a92dd4
Merge pull request #116281 from thockin/codegen_subproject_chdir
Codegen: subproject cleanups and chdir
2023-04-12 09:58:31 -07:00
Tim Hockin
a7a8cd6e5d
Codegen: subprojects: nuke existing files 2023-04-12 08:58:38 -07:00
Tim Hockin
bc302fa414
Replace uses of ObjectReflectDiff with cmp.Diff
ObjectReflectDiff is already a shim over cmp.Diff, so no actual output
or behavior changes
2023-04-12 08:48:03 -07:00
Tim Hockin
9627c50ef3
Replace uses of ObjectGoPrintDiff with cmp.Diff
ObjectGoPrintDiff is already a shim over cmp.Diff, so no actual output
or behavior changes
2023-04-12 08:46:16 -07:00
Tim Hockin
29c0b73d64
Replace uses of diff.ObjectDiff with cmp.Diff
ObjectDiff is already a shim over cmp.Diff, so no actual output or
behavior changes
2023-04-12 08:46:12 -07:00
Tim Hockin
dd7af241c1
Replace diff.ObjectDiff with cmp.Equal
More obvious and cheaper, and ObjectDiff is already written in terms of
cmp.
2023-04-12 08:45:32 -07:00
Tim Hockin
97bab44cae
Replace apimachinery diff.StringDiff with cmp
I forced failures of most of these tests and verified readability
2023-04-12 08:45:31 -07:00
Kubernetes Prow Robot
bd24043551
Merge pull request #117216 from gnufied/fix-azure-disk-e2e
Fix azure disk e2e after migration and while using external CCM
2023-04-12 08:34:32 -07:00
iyear
4f6714ef42
apiserver/etcd: add request and request_error metrics (#117222)
* apiserver/etcd: add request and request_error metrics

Signed-off-by: iyear <ljyngup@gmail.com>

* apiserver/etcd: rename etcdRequestCounts metric

Signed-off-by: iyear <ljyngup@gmail.com>

---------

Signed-off-by: iyear <ljyngup@gmail.com>
2023-04-12 07:02:45 -07:00
Andrea Tosatto
d09842e0ad
node-lifecycle-controller: improve monitorNodeHealth test-coverage (#116687)
* node-lifecycle-controller: refactor monitorNodeHealth tests to improve test-coverage

* address PR review comments

* dedupe test logic
2023-04-12 07:02:33 -07:00
Dan Winship
be101a748d Remove some unused winkernel arguments/fields/functions
The winkernel proxy was originally created by copying+pasting from the
iptables code, but some iptables-specific things were never removed
(and one function got left behind after its functionality was moved
into the shared proxy code).
2023-04-12 09:41:38 -04:00
Dan Winship
8a790ac2e1 Remove unused ProxyServer.EventClient field
The port to Events v1 left some cruft behind.
2023-04-12 09:41:38 -04:00
Dan Winship
9754386c76 Remove write-only ProxyServer fields 2023-04-12 09:41:37 -04:00
Peter Hunt
b4c384ebfb vendor: bump runc to 1.1.6
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2023-04-12 09:19:17 -04:00
Antoni Zawodny
c69689659a Add --concurrent-job-syncs flag to kube-controller-manager 2023-04-12 14:19:39 +02:00
Kubernetes Prow Robot
afcc207feb
Merge pull request #117137 from p0lyn0mial/upstream-streaming-api-deadlock
cacher: prevent a potential deadlock
2023-04-12 04:42:32 -07:00
Patrick Ohly
4438208511 api: encode NamespacedName with lower case in JSON
That is how a workaround in controller-runtime has encoded
NamespacedName (a33d038b84/pkg/log/zap/kube_helpers.go (L49-L57))
and it is also more consistent with Kubernetes API standards.

The namespace can be left out.

Returning an anonymous struct in MarshalLog makes it impossible for
controller-runtime to adapt the type and thus blocks updating
controller-runtime to Kubernetes 1.27 because log content would
change.
2023-04-12 12:47:59 +02:00
Lukasz Szaszkiewicz
476e407ffd cacher: prevent a potential deadlock
waitUntilWatchCacheFreshAndForceAllEvents must be called without
a read lock held otherwise the watchcache won't be able to make
progress (i.e. the watchCache.processEvent method that requries acquiring an exclusive lock)

the deadlock can happen only when the alpha watchlist feature flag is on
and the client specifically requests streaming.
2023-04-12 12:43:43 +02:00
Kubernetes Prow Robot
cafc23f624
Merge pull request #117182 from dddddai/http-headers
Use case-insensitive header keys for http probes
2023-04-12 03:42:31 -07:00
Kubernetes Prow Robot
2f1db33dd5
Merge pull request #116482 from smarterclayton/no_mutate
kubelet: Do not mutate pods in the pod manager
2023-04-12 02:22:32 -07:00
Humble Chirammal
7cdffe37c1 update container storage interface spec to v1.8.0
this version got the group controller service capability which is
required for group snapshot feature.

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-12 13:45:45 +05:30