Commit Graph

115596 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
0afa60086a
Merge pull request #117484 from BenTheElder/tutorial
remove defunct interactive tutorial
2023-04-19 12:57:10 -07:00
Kubernetes Prow Robot
10d9d4b741
Merge pull request #117449 from TommyStarK/e2e/gh_117443
e2e: fix flaky test 'should contain OpenAPI V3 for Aggregated APIServer'
2023-04-19 11:31:11 -07:00
Benjamin Elder
2bbd07c019 remove defunct interactive tutorial 2023-04-19 11:06:26 -07:00
Kubernetes Prow Robot
f0e01d2d9e
Merge pull request #117014 from p0lyn0mial/upstream-cacher-init-expired-watchers
cacher: do not simply popExpiredWatchers when the cacher hasn't dispatched any event
2023-04-19 08:43:11 -07:00
ArkaSaha30
1d15354ccb
update gofuzz dependency
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2023-04-19 21:08:16 +05:30
ArkaSaha30
2cd23c8b17
Update go-logr dependencies
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2023-04-19 21:01:55 +05:30
kkkkun
be6709044a etcd: Build image 3.5.8-0
Signed-off-by: kkkkun <scuzk373x@gmail.com>
2023-04-19 22:08:45 +08:00
Lukasz Szaszkiewicz
6db4cbfde7 cacher: do not popExpiredWatchers when the cacher hasn't dispatched any event
If the cacher hasn't seen any event (when lastProcessedResourceVersion is zero) and
the bookmarkTimer has ticked then we shouldn't popExpiredWatchers. This is
because the watchers wont' be re-added and will miss future bookmark events when
the cacher finally receives an event via the c.incoming chan.
2023-04-19 15:29:13 +02:00
Lukasz Szaszkiewicz
eab66a687b
cacher avoid double locking (#117410)
* cacher: remove locking from watcherBookmarkTimeBuckets

it turns out that the watcherBookmarkTimeBuckets
is called from only three places/methods: startDispatching, finishDispatching and Watch.
All these methods acquire c.Lock() before touching watcherBookmarkTimeBuckets.

Thus we could remove explicit locking in
watcherBookmarkTimeBuckets since the access is already synced.

* cacher: rename watcherBookmarkTimeBuckets methods to indicate that proper synchronisation must be used
2023-04-19 06:13:11 -07:00
Kubernetes Prow Robot
0d41d28ea2
Merge pull request #117408 from cenkalti/backoff
dependencies: update github.com/cenkalti/backoff/v4 to v4.2.1
2023-04-19 03:55:22 -07:00
Kubernetes Prow Robot
cf89189ca3
Merge pull request #117399 from mohitsharma-in/update/golang_time
dependencies : Update golang.org/x/time v0.3.0
2023-04-19 03:55:10 -07:00
Kubernetes Prow Robot
ff4eff24ac
Merge pull request #116104 from daman1807/conntrack
Unified Conntrack Cleaning
2023-04-19 00:42:47 -07:00
TommyStarK
a02e94ae2b e2e: fix flaky test 'should contain OpenAPI V3 for Aggregated APIServer'
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2023-04-19 08:25:30 +02:00
Kubernetes Prow Robot
9db01b6eb3
Merge pull request #117453 from liggitt/fix-applyset-e2e-env
Fix stomping os env in kubectl e2e tests
2023-04-18 22:26:45 -07:00
Jordan Liggitt
0c54d9af6f
Fix stomping os env in kubectl e2e tests 2023-04-19 01:32:20 +02:00
lowang_bh
eaba1703b1 enhancemanet: reduce calculation calls
Signed-off-by: lowang_bh <lhui_wang@163.com>
2023-04-18 22:27:35 +08:00
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
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
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
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