Commit Graph

125234 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
856475e5ff
Merge pull request #127377 from kannon92/revert-124445-e2e/kubelet-restart
Revert "add e2e test for restart kubelet"
2024-09-15 23:15:15 +01:00
Kevin Hannon
67402fe110
Revert "add e2e test for restart kubelet" 2024-09-15 15:47:02 -04:00
Kubernetes Prow Robot
af2bf2d8f1
Merge pull request #127364 from aojea/e2e_tag_networks
Fix e2e tests tags
2024-09-15 16:23:13 +01:00
Kubernetes Prow Robot
e86f5c035e
Merge pull request #127372 from aojea/example_dns_ipv6
Tag sig-network e2e test correctly
2024-09-15 12:43:12 +01:00
Antonio Ojea
9a207bbadc tag kube-proxy migration as serial and disruptive 2024-09-15 07:28:52 +00:00
Antonio Ojea
b98a3fef37 e2e test ClusterDns [Example] does not support IPv6 2024-09-15 07:27:50 +00:00
Lucy Sweet
75ba5a9651
Improve precision of Quantity.AsApproximateFloat64
This improves the precision of Quantity.AsApproximateFloat64, by way of example:

decQuantity(7*1024*1024, -1, BinarySI)
Before: 734003.2000000001,
After: 734003.2

Co-Authored-By: Bo Sunesen <7479047+bosunesen@users.noreply.github.com>
2024-09-14 15:07:54 -07:00
Antonio Ojea
8cb7c54ce7 e2e VolumeSubpathEnvExpansion should not be tagged as slow
The test [sig-node] Variable Expansion should succeed in writing subpaths in container
takes 1m5s so it should no be tagged as slow"
2024-09-14 19:09:16 +00:00
Antonio Ojea
22d79b998a remove e2e slow tag for VolumeSubpathEnvExpansion
Kubernetes e2e suite: [It] [sig-node] Variable Expansion should fail
substituting values in a volume subpath with absolute path [Slow]
[Conformance] test takes 37 seconds to run
2024-09-14 19:06:25 +00:00
Antonio Ojea
32099f69f6 remove slow tag on e2e test
The test Variable Expansion should fail substituting values in a volume subpath with backticks
takes 12 seconds, it should not be tagged as slow
2024-09-14 19:01:09 +00:00
Antonio Ojea
e977f601b3 tag kube-proxy migration as serial and disruptive 2024-09-14 18:20:51 +00:00
Kubernetes Prow Robot
99891ef08d
Merge pull request #124901 from zhifei92/normalize-ephemeral-container-status
normalize ephemeral container statuses
2024-09-14 18:21:12 +01:00
Kubernetes Prow Robot
36de77c4e0
Merge pull request #125142 from TommyStarK/unit-tests/kubelet-util-manager
kubelet/util/manager: small cleanup and start replacing deprecated functions wait.Poll/wait.PollImmediate
2024-09-14 17:13:13 +01:00
TommyStarK
2ed556ae00
kubelet/util/manager: small cleanup and start replacing deprecated functions wait.Poll/wait.PollImmediate
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2024-09-14 11:07:16 +02:00
zhifei92
86e0ed1892 add unit test 2024-09-14 17:06:07 +08:00
zhifei92
df87982950 fix: normalize ephemeral container statuses 2024-09-14 17:04:28 +08:00
rongfu.leng
de4010939d add default status unready when readiness probe sync
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
2024-09-14 08:56:32 +00:00
Kubernetes Prow Robot
9125473eec
Merge pull request #124445 from chengjoey/e2e/kubelet-restart
add e2e test for restart kubelet
2024-09-14 09:23:12 +01:00
joey
40dd01fdbd
add e2e test for restart kubelet
when nodes removes the label that satisfies the pod affinity, the running pods are not affected, but restarting the kubelet will kill these pods.

Signed-off-by: joey <zchengjoey@gmail.com>
2024-09-14 15:17:58 +08:00
Kensei Nakada
fe3ab649d0 feat: remove node general update event from EventsToRegister when QHint is enabled 2024-09-14 16:15:40 +09:00
Kensei Nakada
898cb15b18 chore: clarify the labels in scheduler-perf 2024-09-14 15:39:54 +09:00
Kubernetes Prow Robot
f0f7ff989a
Merge pull request #126997 from lengrongfu/feat/filter-empty-podid
Optimize code, filter podUID is empty string
2024-09-14 02:53:18 +01:00
Kubernetes Prow Robot
df66ee6a3d
Merge pull request #126733 from carlory/fix-image-volume-validation
If old pod spec has used image volume source, we must allow it
2024-09-14 02:53:11 +01:00
Kubernetes Prow Robot
963ebd8bd8
Merge pull request #126762 from richabanker/mce-bugfix
Initialize scheduler metrics after metrics options are applied
2024-09-13 23:17:12 +01:00
Kubernetes Prow Robot
3fd267776a
Merge pull request #126775 from carlory/cleanup-NewVolumeManagerReconstruction
cleanup after NewVolumeManagerReconstruction is GA
2024-09-13 22:07:13 +01:00
Kubernetes Prow Robot
c53cad79ab
Merge pull request #126907 from alegueri/update-example-logs-all-pods
[UPDATE] updating logs examples to contain --all-pods flag
2024-09-13 21:03:21 +01:00
Kubernetes Prow Robot
352e33e040
Merge pull request #126773 from carlory/fix-gcp
Fix a warning message about the gce in-tree cloud provider state
2024-09-13 21:03:13 +01:00
Richa Banker
6944af22d1 Initialize scheduler metrics after metrics options are applied 2024-09-13 12:52:32 -07:00
Kubernetes Prow Robot
970dc8c2c2
Merge pull request #127321 from macsko/decrease_number_of_pods_in_scheduler_perf_integration_and_disable_a_few_workloads
Decrease number of integration tests in scheduler_perf
2024-09-13 18:11:26 +01:00
Kubernetes Prow Robot
cb81a0f3e1
Merge pull request #127317 from aojea/cloud_provider_package_names
Cloud provider package names
2024-09-13 18:11:19 +01:00
Kubernetes Prow Robot
253013ed61
Merge pull request #126868 from googs1025/dra/resourceslice_cleanup
dra(resourceslice): resourceslice controller enhancements
2024-09-13 18:11:12 +01:00
carlory
684fbd6f20 remove AllowImageVolumeSource 2024-09-13 23:45:42 +08:00
carlory
24a50a3ddf If old pod spec has used image volume source, we must allow it 2024-09-13 23:42:21 +08:00
Kubernetes Prow Robot
e5dd48efd0
Merge pull request #125186 from liyuerich/newserializer
drop deprecated json/yaml newSerializers, use json.NewSerializerWithO…
2024-09-13 15:39:12 +01:00
googs1025
913340aa83 dra(resourceslice): use index lookup instead of using sliceStore.List() 2024-09-13 22:36:04 +08:00
Kubernetes Prow Robot
20dd88872d
Merge pull request #127283 from bzsuni/bz/etcd/image/build/v3.5.16
Build etcd image of v3.5.16
2024-09-13 14:31:12 +01:00
Kubernetes Prow Robot
88df7e307b
Merge pull request #127327 from ryanwinterms/wait_doc
Document the "create" option to the "kubectl wait" command
2024-09-13 13:07:13 +01:00
Oksana Baranova
2474369227 kubelet: migrate pleg to contextual logging
Signed-off-by: Oksana Baranova <oksana.baranova@intel.com>
2024-09-13 12:13:26 +03:00
Kubernetes Prow Robot
19e8e59d06
Merge pull request #127333 from yuyabee/add-activeDeadlineSeconds-to-upgrade-health-check-job
Add activeDeadlineSeconds to kubeadm upgrade-health-check job
2024-09-13 09:59:12 +01:00
Kubernetes Prow Robot
8d402c9941
Merge pull request #127303 from omerap12/issue_127287
Improve message prefer a domain-qualified finalizer
2024-09-13 03:51:12 +01:00
rongfu.leng
d04a54c50b optimize code, filter podUID is empty string
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
2024-09-13 01:48:14 +00:00
Kubernetes Prow Robot
359b9ba9bf
Merge pull request #127325 from iholder101/swap/fix-swap-on-log
Swap: Fix misleading log about swap being on, even if it's actually off
2024-09-13 00:47:14 +01:00
Yuya Yabe
db66416c45 Add activeDeadlineSeconds to kubeadm upgrade-health-check job
With https://github.com/kubernetes/kubernetes/pull/122079,
kubeadm now relies on `ttlSecondsAfterFinished` to clean
up `upgrade-health-check` once its pod reaches a terminal state.
However, there is a case where the pod won't reach a terminal state and
the job will not register a terminal state, hence no garbage collection.

For example, if the pause image is not present, `ErrImagePull` will make
the pod keep retrying to pull the image and the pod will never reach a
terminal state on its own. And the job will continue to wait for the pod
to reach a terminal state which will not happen.

So we need to set `activeDeadlineSeconds` to prevent the job from
waiting forever for the pod to reach a terminal state.

Without this, users invoking `kubeadm upgrade plan` need to cleanup the
job outside of kubeadm even if they ignore the preflight result because
the job still runs when the result is configured to be ignored via
`--ignore-prelight-errors=CreateJob` flag.

Since the timeout for the polling in the `CreateJob` step in kubeadm
is 15 seconds, we should set the `activeDeadlineSeconds` to the same
timeout.
2024-09-12 19:40:25 +00:00
杨朱 · Kiki
b19d996c84 Update staging/src/k8s.io/cloud-provider/sample/README.md
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2024-09-13 02:28:27 +08:00
Kubernetes Prow Robot
a7702cb47b
Merge pull request #127331 from Jefftree/patch-1
Bump sample-apiserver test image to 1.31
2024-09-12 19:21:13 +01:00
Jeffrey Ying
894960177a
Update VERSION to 1.31.1 for sample-apiserver 2024-09-12 13:08:21 -04:00
Jeffrey Ying
4d063b63cb
Bump sample-apiserver test image to 1.31 2024-09-12 13:05:53 -04:00
Ryan Winter
a3615ce5a3 document the "create" option to the "kubeclt wait" command.
Signed-off-by: Ryan Winter <ryanwinter@outlook.com>
2024-09-12 09:21:37 -07:00
Kubernetes Prow Robot
e35bd86edd
Merge pull request #127314 from xuzhenglun/cohabitating-ut
chore:  add unit test to cover cohabitating resources in StorageFactory
2024-09-12 17:09:19 +01:00
Kubernetes Prow Robot
ed92309dfa
Merge pull request #127253 from alculquicondor/mimowo_job
Nominate mimowo to approvers of job controller
2024-09-12 17:09:13 +01:00