Commit Graph

109759 Commits

Author SHA1 Message Date
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
Matthew Wong
195797c36c Fix missing format string PVC namespace 2022-07-28 17:57:10 -07:00
Kubernetes Prow Robot
73b3be3082
Merge pull request #111009 from marosset/runasnonroot-windows-fix
Windows: ensure runAsNonRoot does case-insensitive comparison on username
2022-07-28 17:55:22 -07:00
Kubernetes Prow Robot
cc69f8f65d
Merge pull request #107490 from pacoxu/add-volume-stats-slow-log
add warning log if volume calculation took too long than 1 second
2022-07-28 17:55:10 -07:00
kerthcet
b3b6e0da0a Cleanup no longer fit comments
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-29 08:48:50 +08:00
kerthcet
02f77a1b84 Feat: ga component config in kube-scheduler
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-29 08:47:48 +08:00
Matthew Cary
738b458f8e enable gce pd driver via a flag rather than an env var
Change-Id: Ib7c99083ad334e5f6dd152e376a303de794e0bf1
2022-07-28 17:23:28 -07:00
Stephen Heywood
c5517109b9 Promote namespace status e2e test to Conformance 2022-07-29 11:54:47 +12:00
Kubernetes Prow Robot
f3d90aef8d
Merge pull request #111483 from jpbetz/fix-missing-root-object-type
Skip schemas that don't have CEL rules in NewValidator
2022-07-28 16:23:21 -07:00
Kubernetes Prow Robot
043bb9be4b
Merge pull request #107881 from dims/add-dims-to-conformance-behavior-approvers
Add dims to conformance-behavior-approvers
2022-07-28 16:23:10 -07:00
Kubernetes Prow Robot
e5a649d4f6
Merge pull request #111493 from dpasiukevich/patch-1
Update OWNERS
2022-07-28 14:13:11 -07:00
Joe Betz
735b5a66f2 Skip schemas that are non-structural in NewValidator
Co-authored-by: Cici Huang <cicih@google.com>
2022-07-28 15:47:19 -04:00
Kubernetes Prow Robot
c06031959f
Merge pull request #111401 from verb/111028-container-validation
Improve tests and fix bugs in container validation
2022-07-28 12:43:11 -07:00
Lee Verberne
537e73601d Further cleanup of container validation 2022-07-28 19:38:59 +02:00
Kubernetes Prow Robot
362243c1e9
Merge pull request #111490 from dpasiukevich/upg_dns_images
Update to latest kubedns and nodelocaldns images.
2022-07-28 10:21:33 -07:00
Marcus Puckett
dcc54dec19
Fix flakiness with kubectl wait tests (#111168)
* Prepend reactor not watch reactor

This forces the object to be created first it looks like, avoiding a race condition in testing.
Use PrependReactor instead of PrependWatchReactor


Decrease test timeouts

No need to be this long
Revert use of new scheme to reuse same scheme for all tests


Allow 1 to 2 actions in stale observed generation failure


Allow range of test action lengths

Reduce test flakiness
Fix TestWaitForJSONPathCondition/handles_watch_condition_change


Set delete wait options properly


cherry pick original changes back into branch

* Revert delete timeout setting change

* Remove validateActions functions

* Remove go-spew
2022-07-28 10:21:22 -07:00
Kubernetes Prow Robot
e16ac34361
Merge pull request #110289 from danwinship/kep-3178-source-ranges-drop
Don't use KUBE-MARK-DROP for LoadBalancerSourceRanges
2022-07-28 10:21:10 -07:00
Kubernetes Prow Robot
15d12e713f
Merge pull request #111500 from cpanato/prombot
Update publishing-bot rules for go1.17.12 and go1.18.4
2022-07-28 09:07:23 -07:00
Kubernetes Prow Robot
73a1018aa1
Merge pull request #111398 from Monokaix/fix-comments
fix ambiguous comments of priorityClass update validation
2022-07-28 09:07:11 -07:00
Kubernetes Prow Robot
4f74844299
Merge pull request #111460 from wojtek-t/forget_watcher
Cacher: add support for draining watchers
2022-07-28 07:33:23 -07:00
Kubernetes Prow Robot
5856e83573
Merge pull request #110007 from ardaguclu/enhancements-alpha-events
Add new flags into alpha events
2022-07-28 07:33:11 -07:00
Kubernetes Prow Robot
79a62d6235
Merge pull request #111387 from marseel/feature/retry_internal_errors
Add option to retry internal api error in reflector.
2022-07-28 06:13:10 -07:00
Dan Winship
f65fbc877b proxy/iptables: remove last references to KUBE-MARK-DROP 2022-07-28 09:03:49 -04:00
Dan Winship
9313188909 proxy/iptables: Don't use KUBE-MARK-DROP for LoadBalancerSourceRanges 2022-07-28 09:03:46 -04:00
Arda Güçlü
63b8684cd3 Add new flags into alpha events
In order to promote kubectl alpha events to beta,
it should at least support flags which is already
supported by kubectl get events as well as new flags.

This PR adds;

--output: json|yaml support and does essential refactorings to
integrate other printing options easier in the future.

--no-headers: kubectl get events can hide headers when this flag is set for default printing.
Adds this ability to hide headers also for kubectl alpha events.
This flag has no effect when output is json or yaml for both commands.

--types: This will be used to filter certain events to be printed and
discard others(default behavior is same with --event=Normal,Warning).
2022-07-28 15:16:58 +03:00