Commit Graph

109884 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
262d8b2a77
Merge pull request #111446 from alexzielenski/trivial-x-preserve-unknown-fields-correction
correct OpenAPI extension in error message
2022-07-30 05:06:27 -07:00
Kubernetes Prow Robot
3902a53419
Merge pull request #111441 from denkensk/respect-topology
Respect PodTopologySpread after rolling upgrades
2022-07-30 01:40:42 -07:00
Kubernetes Prow Robot
2ae27c89ba
Merge pull request #111206 from SataQiu/scheduler-20220718
scheduler: include supported ScoringStrategyType list in error message for NodeResourcesFit plugin
2022-07-30 01:40:29 -07:00
Kubernetes Prow Robot
2e64ae6d62
Merge pull request #110733 from psschwei/probe-grace-period-units
Add unit tests for grace period in killContainer func
2022-07-29 22:30:27 -07:00
Alex Wang
86a2a85e7d code generated by script for MatchLabelKeys in TopologySpreadConstraint
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-07-30 13:24:55 +08:00
Alex Wang
f4bc904376 implementation for MatchLabelKeys in TopologySpreadConstraint
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-07-30 13:23:49 +08:00
Alex Wang
e6c2bf8516 api defination for MatchLabelKeys in TopologySpreadConstraint
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-07-30 13:21:16 +08:00
Paco Xu
e073b0fd65 Disable AcceleratorUsage Metrics: ga 2022-07-30 12:31:43 +08:00
Kubernetes Prow Robot
451c00cc70
Merge pull request #109263 from FeLvi-zzz/add-kubelet-nodeLabels-validation
validate nodeLabels in kubelet
2022-07-29 21:22:26 -07:00
Kubernetes Prow Robot
f6e163fe27
Merge pull request #111450 from HecarimV/fix-22072710
cleanup: omit redundant arguments in make call
2022-07-29 19:29:52 -07:00
Kubernetes Prow Robot
25cdaccf0d
Merge pull request #111439 from claudiubelu/fix-plugin-watcher
kubelet: Fixes plugin Watcher for Windows
2022-07-29 19:29:44 -07:00
Kubernetes Prow Robot
17d3eecc7c
Merge pull request #111431 from ialidzhikov/fix/seccomp-default-help-text
Update the feature state in the help text of the `--seccomp-default` flag
2022-07-29 19:29:36 -07:00
Kubernetes Prow Robot
d838a8647b
Merge pull request #111418 from muyangren2/winstats_assert
Fix test order pkg/kubelet/winstats/winstats_test.go
2022-07-29 19:29:29 -07:00
Kubernetes Prow Robot
cf2800b812
Merge pull request #111402 from verb/111030-ec-ga
Promote EphemeralContainers feature to GA
2022-07-29 19:29:20 -07:00
Kubernetes Prow Robot
ca34eb1383
Merge pull request #111020 from claudiubelu/adds-unittests-5
unittests: Adds Windows unittests
2022-07-29 19:29:11 -07:00
Kubernetes Prow Robot
8cecf183a6
Merge pull request #110851 from negz/more-like-mac-slow-s
Use checksums instead of fsyncs to avoid slow discovery caching on MacOS
2022-07-29 18:11:12 -07:00
Tim Allclair
b289c23394 [e2epod] wait: Don't override non-timeout errors 2022-07-29 17:11:50 -07:00
Kubernetes Prow Robot
e6a60c3b4d
Merge pull request #110648 from yangjunmyfm192085/fixRuntimeCgroupsError
Fix s.RuntimeCgroups error condition
2022-07-29 16:53:11 -07:00
Kubernetes Prow Robot
5d446b205e
Merge pull request #106244 from cncal/fix-state-checkpoint-testcase
fix test for CheckpointStateRestore
2022-07-29 15:41:14 -07:00
Tim Allclair
55ec0f2d9d [e2epod] wait: Don't retry on 50X errors 2022-07-29 14:56:33 -07:00
Kubernetes Prow Robot
c809129f2c
Merge pull request #103069 from jackfrancis/cmd-kubelet-kubeserver-new-main-kubelet
chore(kubelet): simpler createAndInitKubelet func
2022-07-29 14:29:12 -07:00
Nic Cope
c1aa7a0fe7 Copy etcd client debug level logic from upstream
Replicated from https://github.com/etcd-io/etcd/blob/v3.5.4/client/v3/logger.go#L47

The logic of this function doesn't make a lot of sense to me, but
copying it will avoid any behaviour change.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2022-07-29 14:26:31 -07:00
Nic Cope
f54d260633 Give etcd client logger a name
Logic copied from https://github.com/etcd-io/etcd/blob/v3.5.4/client/v3/client.go#L374

Signed-off-by: Nic Cope <nicc@rk0n.org>
2022-07-29 14:24:17 -07:00
Matthew Wong
777f43062c Remove unit tests that set & test CSIMigrationAWS false since it's now locked to true 2022-07-29 13:52:06 -07:00
Kubernetes Prow Robot
6a71632f65
Merge pull request #111239 from HecarimV/fix-22071914
fix: add pod info to the error log
2022-07-29 13:17:50 -07:00
Kubernetes Prow Robot
0b57f4ed4b
Merge pull request #110071 from gjkim42/deflake-TestStaticPodExclusion
Deflake TestStaticPodExclusion
2022-07-29 13:17:43 -07:00
Kubernetes Prow Robot
d05780e38d
Merge pull request #109347 from HirazawaUi/master
the err of "GetKubeletContainer" function should not affect the value of "RuntimeCgroups"
2022-07-29 13:17:35 -07:00
Kubernetes Prow Robot
4f469e63f4
Merge pull request #108592 from claudiubelu/tests/enable-etc-hosts
tests: Enables a few Conformance tests for Windows (part 2)
2022-07-29 13:17:23 -07:00
Kubernetes Prow Robot
126c07604d
Merge pull request #104484 from jackfrancis/prober-duration-metrics
add container probe duration metrics
2022-07-29 13:17:11 -07:00
Kubernetes Prow Robot
29fb8e8b5a
Merge pull request #111541 from endocrimes/dani/fix-timeout
test-e2e-node: set ginkgo test timeout to 24h
2022-07-29 11:49:24 -07:00
Kubernetes Prow Robot
9e6d456f05
Merge pull request #111481 from mattcary/gcepd
Enable gce pd driver via a flag rather than an env var
2022-07-29 11:49:13 -07:00
Claudiu Belu
430ada006d Fixes kubelet log compression on Windows
Currently, when kubelet will try to compress the logs to a .gz file,
it will attempt to rename the archive before closing its file handles,
which results in an error on Windows.

This addresses the issue mentioned above.
2022-07-29 20:53:21 +03:00
Kubernetes Prow Robot
5065f7296a
Merge pull request #111454 from HecarimV/fix-log-capitalized
cleanup: fix some error log capitalization
2022-07-29 09:59:23 -07:00
Kubernetes Prow Robot
442548a064
Merge pull request #110534 from kerthcet/feat/ga-component-config
Graduate component config to stable in kube-scheduler
2022-07-29 09:59:11 -07:00
Paul S. Schweigert
caa2fce0a1
add unit tests for grace period in killContainer func
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
2022-07-29 11:40:27 -04:00
Kubernetes Prow Robot
762f39e2db
Merge pull request #111524 from cici37/celBeta
Promote feature CustomResourceValidationExpressions to beta
2022-07-29 08:35:23 -07:00
Kubernetes Prow Robot
1865f7cb9b
Merge pull request #111287 from ldsdsy/modify1
Update the comment in pkg/scheduler/framework/plugins/noderesources
2022-07-29 08:35:11 -07:00
Danielle Lancashire
1c5b77b0cb test-e2e-node: set ginkgo test timeout to 24h
Ginkgo v1 had a much longer default test timeout, in v2 this
switched to being 1 hour. This is not long enough to run many of our
suites.

Here we copy the backwards compatibility that is used by
hack/gingo-e2e.sh to unbreak serial pipelines.
2022-07-29 13:20:19 +00:00
Alexander Constantinescu
dd9623cbea CCM [Service controller]: align function pointer variable with struct name 2022-07-29 14:00:38 +02:00
Kubernetes Prow Robot
3c1237930e
Merge pull request #111531 from clementnuss/kubeadm-fqdn-fix-master
Fix `kubeadm upgrade plan` issue with FQDN nodes names
2022-07-29 03:55:11 -07:00
sanwishe
e88a0478f2 correct event validation messages 2022-07-29 09:42:47 +00:00
Clément Nussbaumer
1459fdf7cf Fix kubeadm upgrade plan issue with FQDN nodes names
the fix introduced in #110634 also introduces a bug preventing `kubeadm
upgrade plan` from running on nodes having a different `os.Hostname()`
than node name. concretely, for a node `titi.company.ch`,
`os.Hostname()` will return `titi`, while the full node name is actually
`titi.company.ch`. this simple fix uses the `cfg.NodeRegistration.Name`
instead, which fixes the issue on my nodes with a FQDN node name

Keep previous hostname retrieval as fallback for dupURL CRI fix
2022-07-29 10:42:21 +02:00
Humble Chirammal
e675bfee59 deprecate GlusterFS plugin from available in-tree drivers.
GlusterFS is one of the first dynamic provisioner which made into
Kubernetes release v1.4.

https://github.com/kubernetes/kubernetes/pull/30888

When CSI plugins/drivers to start appear, glusterfs' CSI driver
came into existence, however this project is not maintianed at
present and the last release happened few years back.

https://github.com/gluster/gluster-csi-driver/releases/tag/v0.0.9

The possibilities of migration to compatible CSI driver was also
discussed https://github.com/kubernetes/kubernetes/issues/100897
and consensus was to start the deprecation in v1.25.

This commit start the deprecation process of glusterfs plugin from
in-tree drivers.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-07-29 12:18:48 +05:30
Kubernetes Prow Robot
95303390ac
Merge pull request #111519 from jpbetz/skip-cel-validation
Skip CEL expression validation if OpenAPIv3 schema is invalid
2022-07-28 21:37:10 -07:00
Joe Betz
95b0d44a56 Skip CEL expression validation if OpenAPIv3 schema is invalid
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2022-07-28 23:27:28 -04:00
peizhouyu
d216b3433d fix that beginning of help text is cut off for apply and replace --filename flag 2022-07-29 11:26:56 +08:00
Cici Huang
e0fb5714ac Promote feature CustomResourceValidationExpressions to beta 2022-07-29 03:12:39 +00:00
Nic Cope
0c81eabb85 Share a single etcd3 client logger across all clients
Currently the API server creates one etcd client per CRD. If clients
aren't provided a logger they'll each create their own. These loggers
can account for ~20% of API server memory consumption on a cluster with
hundreds of CRDs.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2022-07-28 19:51:55 -07:00
Kubernetes Prow Robot
da0091ceda
Merge pull request #111496 from HecarimV/unnecessary-fmt
Remove unnecessary use of fmt.Sprintf
2022-07-28 19:35:17 -07:00
Kubernetes Prow Robot
95ed6820ea
Merge pull request #107329 from pacoxu/promote-e2e-quota
promote LocalStorageCapacityIsolationFSQuotaMonitoring to beta
2022-07-28 19:35:10 -07:00