Commit Graph

115852 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
1f0e718585
Merge pull request #117077 from pacoxu/fsquota-cleanup
skip clear quota if FSQuotaMonitoring is disabled
2023-04-18 02:36:57 -07:00
Kubernetes Prow Robot
84f5684c2d
Merge pull request #117416 from skitt/beequal
Document gomega.Equal() instead of gomega.BeEqual()
2023-04-18 01:40:58 -07:00
Humble Chirammal
a959785f96 dependencies: udpate coredns/caddy to v1.1.1
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-18 11:49:28 +05:30
Wojciech Tyczyński
0297329795 Refactor watch bookmark tests to allow sharing between etcd3 and watchcache 2023-04-18 08:04:39 +02:00
Wojciech Tyczyński
45e836a968 Generalize few watch tests from cacher 2023-04-18 08:02:32 +02:00
Kubernetes Prow Robot
8bba479f03
Merge pull request #117388 from alexanderConstantinescu/117375
[KCCM] service controller: add `providerID` Node predicate
2023-04-17 21:32:59 -07:00
Chris Bandy
7cbbf47f5e Cleanup environment in tests that call os.Unsetenv
testing.T.Cleanup ensures the environment is restored after a test and
any of its parallel sub-tests. It's possible that these can be
simplified further to T.Setenv(key, ""), but I did not investigate.
2023-04-17 20:40:08 -05:00
Chris Bandy
d38ac7e7c6 Replace os.Setenv with testing.T.Setenv in tests
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.
2023-04-17 20:39:46 -05:00
Chris Bandy
cf125a3561 Replace os.Setenv with testing.T.Setenv in tests
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.
2023-04-17 20:21:56 -05:00
Chris Bandy
b9ef160322 Cleanup environment in tests that call os.Unsetenv
testing.T.Cleanup ensures the environment is restored after a test and
any of its parallel sub-tests. It's possible that some of these can be
simplified further to T.Setenv(key, ""), but I did not investigate.
2023-04-17 20:03:33 -05:00
Chris Bandy
240fccd766 Replace os.Setenv with testing.T.Setenv in tests
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.
2023-04-17 20:03:09 -05:00
Chris Bandy
fc643d2e40 Replace os.Setenv with testing.T.Setenv in tests
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.
2023-04-17 19:34:03 -05:00
Cenk Alti
29b6c54d15
dependencies: update github.com/cenkalti/backoff/v4 to v4.2.1
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-04-17 18:20:27 -04:00
Kubernetes Prow Robot
53cccbe4f9
Merge pull request #117019 from bobbypage/gh_116925
kubelet: Mark new terminal pods as non-finished in pod worker
2023-04-17 15:10:58 -07:00
Kubernetes Prow Robot
89462b8128
Merge pull request #117412 from smarterclayton/volume_cancel
kubelet: pass context to VolumeManager.WaitFor*
2023-04-17 14:11:10 -07:00
Kubernetes Prow Robot
29fe2c70b1
Merge pull request #117252 from alculquicondor/node-lifecycle-owner
Add SIG ownership to controller/nodelifecycle
2023-04-17 14:10:57 -07:00
Stephen Kitt
0a8343352b
Document gomega.Equal() instead of gomega.BeEqual()
BeEqual() doesn't exist, document Equal() instead (as used in the
actual code).

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-04-17 22:47:38 +02:00
ialidzhikov
d231d6022b Remove endpoints (old leader election) related RBAC from kube-controller-manager ClusterRole 2023-04-17 23:01:35 +03:00
Kubernetes Prow Robot
94a15929cf
Merge pull request #116408 from ChenLingPeng/fit
skip pod resource check when request is zero
2023-04-17 11:44:45 -07:00
Sunny Song
e340325024 Fix nil pointer in test AfterEach for volumeperf.go 2023-04-17 18:44:13 +00:00
Todd Neal
453f81d1ca
kubelet: pass context to VolumeManager.WaitFor*
This allows us to return with a timeout error as soon as the
context is canceled.  Previously in cases where the mount will
never succeed pods can get stuck deleting for 2 minutes.

In the Sync*Pod methods that call VolumeManager.WaitFor*, we
must filter out wait.Interrupted errors from being logged as
they are part of control flow, not runtime problems. Any
early interruption should result in exiting the Sync*Pod method
as quickly as possible without logging intermediate errors.
2023-04-17 11:53:28 -05:00
Kubernetes Prow Robot
f33c4a1c79
Merge pull request #117379 from bart0sh/PR111-control-e2e-framework-k/k/pkg-deps
Control e2e framework -> k/k/pkg dependencies
2023-04-17 01:30:43 -07:00
Sascha Grunert
3ac7733530
Add saschagrunert to sig-node-reviewers
I contribute to SIG Node related topics since many releases, underlined
by recent enhancement graduations around SeccompDefault,
DownwardAPIHugePages, Kubelet Tracing and general long-term support for
features like seccomp or the CRI. This means that I think it's time to
get actively pulled into reviews, which is why I propose to become a
kubelet reviewer now.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-04-17 09:52:01 +02:00
Yan Zhu
7fb88eec73 support fieldSelector spec.hostNetwork
Signed-off-by: Yan Zhu <hackzhuyan@gmail.com>
2023-04-17 13:19:35 +08:00
Mohit Sharma
4d73864026 Dependencies Update golang.org/x/timet 90d013bbcef8 to v0.3.0 2023-04-16 22:18:35 -07:00
Ed Bartosh
ff9ebfa90d e2e framework: control k/k/pkg imports
Modified import restrictions for the e2e framework submodules
to enable control of the k/k/pkg imports.
2023-04-17 00:17:16 +03:00
mantuliu
ee99ca25ee Remove unnecessary if judgments 2023-04-16 23:55:31 +08:00
Kubernetes Prow Robot
d97ea0f705
Merge pull request #117220 from sanposhiho/patch-4
fix the mistake in the release note
2023-04-16 05:42:42 -07:00
Daman
a6339e2702 proxy/conntrack: using common conntrack cleaning function in proxiers 2023-04-16 15:59:14 +05:30
Daman
399f09dde0 proxy/conntrack: common function for cleaning stale conntrack entries 2023-04-16 15:54:47 +05:30
Daman
efb0563094 proxy/conntrack: moved pkg/util/conntrack -> pkg/proxy/conntrack 2023-04-16 15:52:52 +05:30
Alexander Constantinescu
9c0153aef9 KCCM: add providerID predicate to service controller 2023-04-16 01:33:16 +02:00
Alexander Constantinescu
d3c103edce Re-work logic in shouldSyncUpdatedNode 2023-04-16 01:16:50 +02:00
Ed Bartosh
dc4f6f9da6 e2e framework: remove last dependency to k/k/pkg/util
Copied and modified RemoveString function from
k/k/pkg/util/slice/slice.go to e2e/framework/pod/pod_client.go

This is the last dependency from e2e framework to k/k/pkg/util
2023-04-15 14:28:32 +03:00
Kubernetes Prow Robot
6e541a6da7
Merge pull request #117370 from bart0sh/PR110-remove-dependency-e2e-framework-k/k/pkg/kubelet
e2e framework: remove last dependency to k/k/pkg/kubelet
2023-04-15 00:14:40 -07:00
Kubernetes Prow Robot
403a8fdf1e
Merge pull request #117043 from mouuii/mouuii-dev-0401-clean
remove unnecessary check
2023-04-14 14:24:41 -07:00
Ed Bartosh
40521fe360 e2e framework: remove last dependency to k/k/pkg/kubelet
Copied and modified pod format function from
k/k/pkg/kubelet/util/format/pod.go to e2e/framework/pod/pod_client.go

This is the last dependency from e2e framework to k/k/pkg/kubelet
2023-04-14 22:32:06 +03:00
Kubernetes Prow Robot
5413f37982
Merge pull request #117361 from bart0sh/PR109-move-e2e/framework/config-to-e2e_node
Move kubelet config API to e2e_node
2023-04-14 12:26:41 -07:00
Kubernetes Prow Robot
9ef4d22e66
Merge pull request #117364 from harshanarayana/fix-v1.27-change-log-formatting
changelog: fix formatting issue with v1.27 change log
2023-04-14 10:34:42 -07:00
Harsha Narayana
030debc199
changelog: fix formatting issue with v1.27 change log 2023-04-14 22:07:56 +05:30
Kubernetes Release Robot
4e8c5364bc CHANGELOG: Update directory for v1.27.1 release 2023-04-14 16:11:35 +00:00
Ed Bartosh
1b93abb9ba Move kubelet config API to e2e_node
This API is only used by e2e_node, moved it out of e2e framework.
2023-04-14 17:56:15 +03:00
Kubernetes Prow Robot
1d27cbc784
Merge pull request #117275 from akhilerm/update-coreos-deps
dependencies: update coreos dependencies
2023-04-14 06:52:40 -07:00
Kubernetes Prow Robot
27475f6cf4
Merge pull request #117277 from p0lyn0mial/upstream-e2e-watchlist
e2e/apimachinery: Add an e2e test for the API Streaming feature
2023-04-14 05:54:42 -07:00
Lukasz Szaszkiewicz
06dc3d00fc e2e/apimachinery: Add an e2e test for the API Streaming feature 2023-04-14 13:59:41 +02:00
Kubernetes Prow Robot
a71b7570dd
Merge pull request #117296 from humblec/hcsshim
dependencies: update {uuid,sortorder}
2023-04-14 04:44:39 -07:00
Jan Safranek
8d19c0002b Add node check to vSphere cloud provider
At KCM startup, vSphere cloud provider builds a cache from NodeAdded events
from an informer. But these events are asynchronous, the cloud provider may
need information from the cache earlier, for example when detaching a
volume from a node at KCM startup. If a node is missing in the cache,
the cloud provider treats such a detach as successful, which is wrong.
Such a volume will be attached to the node forever.

To prevent this issue:

1. Try nodeLister before declaring a node as not found.
A/D controller starts after its node informer has been synced.

2. Read API server before declaring a node as not found.
Just in case the informer has stale data.
2023-04-14 12:51:54 +02:00
Kubernetes Prow Robot
c1bbf791dd
Merge pull request #117282 from bart0sh/PR108-e2e-framework-get-rid-of-k/k/pkg/kubelet-dep
get rid of e2e/framework -> k/k/pkg/kubelet dependency
2023-04-14 02:06:40 -07:00
mantuliu
3b7c14e8cf Remove unnecessary int type conversion 2023-04-14 16:41:44 +08:00
Akhil Mohan
36e6e75918
dependencies: udpate seccomp/libseccomp-golang to v0.10.0
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2023-04-13 23:48:44 -07:00