Commit Graph

122992 Commits

Author SHA1 Message Date
hbostan
db827e67fc Add a new workqueue to endpointslice controller for updating topology
cache and checking node topology distribution.
2024-06-04 08:33:32 +00:00
Kubernetes Prow Robot
548d50da98
Merge pull request #125157 from carlory/kubeadm-2563
kubeadm: update warning message for the swap check
2024-06-03 04:20:55 -07:00
Kubernetes Prow Robot
d0aaa66bf7
Merge pull request #125288 from p0lyn0mial/upstream-fix-125244
cacher: dispatchEvents is synced to watchCache.listResourceVersion
2024-06-03 03:06:17 -07:00
carlory
f5c69fde39 kubeadm: update warning message for the swap check
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
2024-06-03 17:09:20 +08:00
Lukasz Szaszkiewicz
a20abdb1f4 cacher: dispatchEvents is synced to watchCache.listResourceVersion
The internal informer populates the RV as soon as it conducts
The first successful sync with the underlying store.
The cache must wait until this first sync is completed to be deemed ready.
Since we cannot send a bookmark when the lastProcessedResourceVersion is 0,
we poll aggressively for the first list RV before entering the dispatch loop.
2024-06-03 10:26:50 +02:00
Kubernetes Prow Robot
2d8a3ad572
Merge pull request #125265 from neolit123/1.31-use-actual-kubelet-address-port
kubeadm: use the actual configured kubelet healthz address:port
2024-06-02 23:14:32 -07:00
Kubernetes Prow Robot
9fc0315ce8
Merge pull request #125272 from mauri870/hotfix/GOTOOLCHAIN-make-verify
build: don't copy GOPATH out of docker container
2024-06-02 05:09:58 -07:00
Mauri de Souza Meneguzzo
c1238f345a build: don't copy GOPATH out of docker container
When using GOTOOLCHAIN with make verify the build results copied out of
the dockerized environment contains a go toolchain folder that is
write protected. In order to prevent failures during the cleanup step
opt-out of copying $GOPATH to the host.
2024-06-01 22:09:13 -03:00
Kubernetes Prow Robot
b70a5ad6a1
Merge pull request #125269 from jeremyrickard/revert-pr-109939
Revert "build: Adds Windows kube-proxy image"
2024-06-01 15:17:19 -07:00
Kubernetes Prow Robot
a78542e357
Merge pull request #125209 from humblec/etcd-3.5.14
make use of etcd v3.5.14 in the builds.
2024-06-01 14:12:31 -07:00
Jeremy Rickard
f62cf3914f
Revert "build: Adds Windows kube-proxy image"
This reverts commit 3b0cec323e.
2024-06-01 10:43:08 -06:00
Lubomir I. Ivanov
52302e4ad5 kubeadm: use the actual configured kubelet healthz address:port
When doing a kubelet health check on init/join, do not
hardcode the "localhost" address. Instead, use the
KubeletConfiguration HealthzBindAddress and HealthzPort
fields.
2024-06-01 10:10:31 +03:00
Humble Chirammal
07ef65a834 make use of etcd v3.5.14 in the builds.
https://github.com/etcd-io/etcd/releases/tag/v3.5.14

This release has been built with GO 1.21.10

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2024-06-01 09:06:35 +05:30
Kubernetes Prow Robot
f386b4cd4a
Merge pull request #125241 from danwinship/pod-debug
Log namespace of pods in e2e failure debug
2024-05-31 15:07:18 -07:00
Kubernetes Prow Robot
34665173a4
Merge pull request #125124 from humblec/up
update snapshot controller to v8.0.0
2024-05-31 15:07:12 -07:00
Kubernetes Prow Robot
790dfdbe38
Merge pull request #125238 from munnerz/kep-4193-nodebinding-beta
KEP-4193: promote ServiceAccountTokenNodeBinding feature to beta
2024-05-31 12:27:18 -07:00
Kubernetes Prow Robot
723c269641
Merge pull request #124916 from TessaIO/test-improve-unit-tests-for-container-name-autocompletion
test: improve unit tests for container name autocompletion
2024-05-31 12:27:09 -07:00
Kubernetes Prow Robot
2f0cf23645
Merge pull request #125235 from humblec/etcd_build_3.5.14
etcd: build etcd image of v3.5.14
2024-05-31 08:25:57 -07:00
Kubernetes Prow Robot
3a4e52b328
Merge pull request #123050 from kerthcet/cleanup/reorganize-templates
Reorganize scheduler perf templates
2024-05-31 07:20:06 -07:00
Kubernetes Prow Robot
802983e714
Merge pull request #109939 from claudiubelu/windows/kube-proxy-hostprocess
build: Adds Windows kube-proxy image
2024-05-31 07:19:57 -07:00
Dan Winship
b82bc5d935 Log namespace of pods in e2e failure debug 2024-05-31 09:14:58 -04:00
Kubernetes Prow Robot
6d0aab2e38
Merge pull request #125014 from carlory/fix-120287
Remove volumesNeedReportedInUse for reconstructed volumes
2024-05-31 05:32:24 -07:00
Kubernetes Prow Robot
4cc989a7a9
Merge pull request #124740 from bells17/use-sets-set-string
[pkg/volume] Changed to use sets.Set[string] instead of sets.String
2024-05-31 05:32:15 -07:00
James Munnelly
5481e630de KEP-4193: promote ServiceAccountTokenNodeBinding feature to beta 2024-05-31 12:16:03 +01:00
Humble Chirammal
8dda1a76f6 etcd: build etcd image of v3.5.14
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2024-05-31 15:29:52 +05:30
Kubernetes Prow Robot
8565e37525
Merge pull request #125127 from my-git9/ut-compute
kubeadm: increase ut coverage for compute
2024-05-31 02:41:37 -07:00
kerthcet
e678496c6e reorganize the scheduler_perf testcases
Signed-off-by: kerthcet <kerthcet@gmail.com>
2024-05-31 16:47:19 +08:00
xin.li
d24d82eda9 kubeadm: increase ut coverage for compute
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-05-31 16:39:51 +08:00
Claudiu Belu
3b0cec323e build: Adds Windows kube-proxy image
Adds the KUBE_BUILD_WINDOWS option to make release-images and quick-release-images,
which will allow it to build the a Windows kube-proxy image as well. That image can
then be used with Windows Host Process Containers to start the kube-proxy
service on Windows nodes.
2024-05-31 08:04:00 +00:00
Kubernetes Prow Robot
39c6bc3136
Merge pull request #123919 from hakuna-matatah/apf
Annotate APF Wait Queue Latnecy  at the request level
2024-05-30 20:36:09 -07:00
Kubernetes Prow Robot
6938c29a38
Merge pull request #125225 from aojea/ipmode
fix loadbalancer status comparison
2024-05-30 18:34:57 -07:00
Kubernetes Prow Robot
e6e39db4c1
Merge pull request #125203 from danwinship/kind-loadbalancers-2
Fix eTP:Local NodePort test
2024-05-30 16:06:02 -07:00
Kubernetes Prow Robot
71061871ff
Merge pull request #125128 from humblec/up-3-npd
update ip-masq-agent and npd to latest versions in cluster addons
2024-05-30 16:05:55 -07:00
Antonio Ojea
59adf3f833 remove unused function LoadBalancerStatusEqual
It is duplicated in the cloud provider package, and is only used
there for the service load balancer controller.
2024-05-30 23:03:54 +00:00
Antonio Ojea
f28b8fee7f fix loadbalancer status comparison
The loadbalancer status has added new fields during the latest releases,
but the helper function used by the service load balancer controller was
not updated with all the new fields, and for the new IPMode field it was
not taking into consideration that the field is a pointer.

Instead of checking fields one by one  use the DeepEqual function that
provides semantic equality for these types.
2024-05-30 22:49:40 +00:00
Kubernetes Prow Robot
f30a87d517
Merge pull request #122832 from benluddy/cbor-fuzz-native-to-unstructured-via
KEP-4222: Add roundtrip tests to Unstructured via CBOR and JSON.
2024-05-30 15:00:31 -07:00
Kubernetes Prow Robot
2d083d0a4d
Merge pull request #125219 from danwinship/kind-loadbalancers-3
Fix LoadBalancerSourceRanges test
2024-05-30 13:26:10 -07:00
Kubernetes Prow Robot
a0e3a70d53
Merge pull request #124671 from saschagrunert/logs-staging
Move `pkg/kubelet/kuberuntime/logs` to `k8s.io/cri-client` staging
2024-05-30 13:26:01 -07:00
Dan Winship
fff883ab4a Improve eTP:Local NodePort test
It previously assumed that pod-to-other-node-nodeIP would be
unmasqueraded, but this is not the case for most network plugins. Use
a HostNetwork exec pod to avoid problems.

This also requires putting the client and endpoint on different nodes,
because with most network plugins, a node-to-same-node-pod connection
will end up using the internal "docker0" (or whatever) IP as the
source address rather than the node's public IP, and we don't know
what that IP is.

Also make it work with IPv6.
2024-05-30 11:43:07 -04:00
Kubernetes Prow Robot
b503409e9c
Merge pull request #124363 from claudiubelu/unittests-11
unittests: Fixes unit tests for Windows (part 11)
2024-05-30 08:17:24 -07:00
Kubernetes Prow Robot
fc6c7d743d
Merge pull request #124069 from carlory/clean-100000
fix ProbeControllerVolumePlugins func
2024-05-30 08:17:15 -07:00
Kubernetes Prow Robot
72226c7511
Merge pull request #123315 from bart0sh/PR134-graduate-DevicePluginCDIDevices-to-GA
Graduate DevicePluginCDIDevices to GA
2024-05-30 08:17:06 -07:00
Kubernetes Prow Robot
c811521331
Merge pull request #112104 from oldium/fix-windows-editor-launch
Fix editor launch with Windows cmd.exe when KUBE_EDITOR has spaces in path
2024-05-30 08:16:52 -07:00
Kubernetes Prow Robot
2acdbae664
Merge pull request #125178 from my-git9/unusedfunction
kubeadm: remove some unused function
2024-05-30 06:47:02 -07:00
Kubernetes Prow Robot
36f1d73c1f
Merge pull request #123440 from Ritikaa96/kubectl-improve-get
Improving kubectl get output
2024-05-30 06:46:48 -07:00
Sascha Grunert
0c9949b6ec
Move pkg/kubelet/kuberuntime/logs to k8s.io/cri-client staging
Particulary helpful to decouple cri-tools from k/k.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-05-30 15:13:22 +02:00
Kubernetes Prow Robot
2c46fafa23
Merge pull request #125150 from humblec/csi-update
update CSI spec to v1.9.0 which has modifyVolume API support and other updated libraries in place
2024-05-30 05:13:48 -07:00
Dan Winship
d01b264345 Improve LoadBalancerSourceRanges test
The existing test had two problems:

  - It only made connections from within the cluster, so for VIP-type
    LBs, the connections would always be short-circuited and so this
    only tested kube-proxy's LBSR implementation, not the cloud's.

  - For non-VIP-type LBs, it would only work if pod-to-LB connections
    were not masqueraded, which is not the case for most network
    plugins.

Fix this by (a) testing connectivity from the test binary, so as to
test filtering external IPs, and ensure we're testing the cloud's
behavior; and (b) using both pod and node IPs when testing the
in-cluster case.

Also some general cleanup of the test case.
2024-05-30 07:24:36 -04:00
Kubernetes Prow Robot
bce55b94cd
Merge pull request #125212 from saschagrunert/kubeadm-runtime-ready
kubeadm: check only for `RuntimeReady` condition
2024-05-30 00:46:07 -07:00
Sascha Grunert
51a36294a3
kubeadm: check only for RuntimeReady condition
We only check for the `RuntimeReady` condition instead of anything else
like the `NetworkReady` to allow kubeadm to provision the cluster.

Refers to https://github.com/kubernetes/kubernetes/pull/124685#issuecomment-2138655482
Follow-up on: https://github.com/kubernetes/kubernetes/pull/124685

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-05-30 08:33:22 +02:00