Commit Graph

121912 Commits

Author SHA1 Message Date
Antonio Ojea
099f26296b integration test for cloud provider
very simple tests to check that the node controllers removes the taint.

Test will be used later for add more coverage without having to depend
on e2e tests for validating complex scenarios and combinations of flags
and controllers.

Change-Id: I55ce01488352cce9d673585e7959678c2bfb5924
2024-02-26 09:01:21 +00:00
Antonio Ojea
ef83ec2753 don't use leader elect on ccm integration tests
Change-Id: Ic1d0ff73d7913f23ed577a121b0045a1c33b9e78
2024-02-26 09:01:21 +00:00
Antonio Ojea
08f8be9903 fix goroutine leak on legacy-cloud-provider gce
Change-Id: Ice7f66683785d60ce9d09201d557a0438743ec72
2024-02-26 09:01:21 +00:00
Antonio Ojea
3636971c39 add aojea as reviewer
Change-Id: Ie69e01542f9c8420aa0d0275378acd838e77eca9
2024-02-26 08:56:23 +00:00
Antonio Ojea
b4b4784c6c enable ip aliases on clusters by default
Change-Id: I2f98af61b5a8d98742510dd0a2b66d1bb6df02eb
2024-02-26 08:56:23 +00:00
Antonio Ojea
3908a46b22 bump cloud controller manager to v29.0.0
Change-Id: I1287c7e7cdca67daa7dc7f7dfdc0b8ed10b1f6ae
2024-02-26 08:56:23 +00:00
Mengjiao Liu
b584b87a94 kube-controller-manager: readjust log verbosity
- Increase the global level for broadcaster's logging to 3 so that users can ignore event messages by lowering the logging level. It reduces information noise.
- Making sure the context is properly injected into the broadcaster, this will allow the -v flag value to be used also in that broadcaster, rather than the above global value.
- test: use cancellation from ktesting
- golangci-hints: checked error return value
2024-02-26 14:51:56 +08:00
Paco Xu
dc7114fa91 fix default IPMode set in UT 2024-02-26 12:32:01 +08:00
fusida
9f6b48f1e7 fix node lifecycle controller panic when conditionType ready is nil 2024-02-26 11:26:45 +08:00
Kubernetes Prow Robot
689dca08e1
Merge pull request #123479 from Jefftree/sample-apiserver-129
Fix sample-apiserver rbac and bump to 1.29
2024-02-25 16:41:38 -08:00
Kubernetes Prow Robot
4b3da38651
Merge pull request #123417 from soltysh/kube_codegen-applyexternal
kube_codegen: expose external-applyconfigurations flag for client generation
2024-02-25 16:41:31 -08:00
Kubernetes Prow Robot
a58221c104
Merge pull request #123492 from carlory/fix-kubeadm-494-1
Replace fmt.Print with printer in upgrade plan code and fix configVersions are not printed when output is json or yaml
2024-02-25 13:47:31 -08:00
reinka
0f083966a7 set actual podToMake values 2024-02-25 19:28:22 +01:00
Kubernetes Prow Robot
60e11e2c6a
Merge pull request #123490 from dims/run-auto-scaler-as-non-root-in-kube-up
Run auto scaler as non root in kube up
2024-02-25 10:03:30 -08:00
Kubernetes Prow Robot
aed1f50965
Merge pull request #122629 from sanposhiho/ignore-non-
fix(scheduling queue): ignore events that interest no registered plugin
2024-02-25 10:03:21 -08:00
Patrick Ohly
840ef14907 ktesting: doc updates and fixes
First-in-first-out is wrong for cleanup, it's LIFO.

Updated some comments to make them more informative and fixed indention.
2024-02-25 18:13:58 +01:00
Kubernetes Prow Robot
821c0ef61e
Merge pull request #123489 from yxxhero/print_etcd_ready_status
feat: print etcd ready status
2024-02-25 07:42:03 -08:00
Kubernetes Prow Robot
be4b7de022
Merge pull request #123488 from dims/skip-autoscaling-tests-when-we-hit-rate-limits
Skip autoscaling tests when we hit rate limits
2024-02-25 06:40:24 -08:00
carlory
fb3ab53822 Replace fmt.Print with printer in upgrade plan code and fix configVersions are not printed when output is json or yaml 2024-02-25 21:58:18 +08:00
yxxhero
e6d6d8e14c feat: print etcd ready status
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-02-25 20:56:47 +08:00
Kensei Nakada
07e0a80216 graduate HPAContainerMetrics to stable 2024-02-25 00:58:00 +00:00
Davanum Srinivas
df92ad9bcb
Run autoscaler as non root in kube-up
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-02-24 19:04:35 -05:00
Kubernetes Prow Robot
237d3dfda7
Merge pull request #123486 from pohly/test-context-unit-test-flake
ktesting: unit test flake because of timing check
2024-02-24 15:55:01 -08:00
Davanum Srinivas
d7735f32d0
Skip autoscaling tests when we hit rate limits
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-02-24 18:07:49 -05:00
Kubernetes Prow Robot
38638adaee
Merge pull request #123418 from rikatz/kep-1860-to-beta
Promote LoadBalancerIPMode to Beta
2024-02-24 12:48:07 -08:00
Patrick Ohly
1ecd4053de ktesting: skip timing check in unit test
Extending the duration and the allowed delta in f6682370b1 was still not enough
to make the unit test run reliably in pull-kubernetes-unit.

Now it uses the original, stricter timing again, but only when run locally. In
Prow (detected by checking the "CI" env variable), the duration check is
skipped.
2024-02-24 19:26:29 +01:00
Patrick Ohly
8980b4b846 Revert "fix flaky ut in TestCause contexthelper_test"
This reverts commit f6682370b1.
2024-02-24 19:21:01 +01:00
Kubernetes Prow Robot
2a44cb0ab3
Merge pull request #122569 from IvoGoman/wrap-nomatcherror
feat(cli-runtime): wrap meta.NoKindMatchErrors
2024-02-24 10:01:33 -08:00
Kubernetes Prow Robot
4c15f5f7b0
Merge pull request #123473 from dims/fix-for-persistent-horizontal-pod-autoscaling-failures
Fix for persistent Horizontal pod autoscaling failures
2024-02-24 05:51:16 -08:00
Kensei Nakada
18ba3b388e fix(scheduling queue): ignore events that interest no registered plugin 2024-02-24 06:42:19 +00:00
Jefftree
bbef156ef5 update 129 2024-02-23 23:53:54 -05:00
Jefftree
b3216214f9 Fix sample-apiserver rbac for v1.27 and bump e2e 2024-02-23 23:53:54 -05:00
Kubernetes Prow Robot
781da75951
Merge pull request #123476 from Jefftree/1292-sample-apiserver
release v1.29.2 for sampleapiserver
2024-02-23 17:41:54 -08:00
Davanum Srinivas
e2ff63103d
fix for persistent Horizontal pod autoscaling failures
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-02-23 20:07:31 -05:00
Jefftree
148757903a release v1.29.2 for sampleapiserver 2024-02-23 19:40:27 -05:00
Alexander Zielenski
247233f7b4 bugfix: modifying argument causes wrong fieldpath 2024-02-23 15:49:31 -08:00
Kubernetes Prow Robot
fc7325fbec
Merge pull request #123469 from harshanarayana/hfx/fix/kubelet-log-rotate-race
kubelet: fix flaky unit test with TestRotateLogs due to improper handling of goroutine in the tests
2024-02-23 04:04:26 -08:00
Harsha Narayana
e2506906d6
kubelet: fix flaky unit test with TestRotateLogs due to improper handling of goroutine in the tests 2024-02-23 16:28:35 +05:30
Kubernetes Prow Robot
a54d84d17f
Merge pull request #123138 from carlory/remove-ExpectNotEqual
remove deprecated framework.ExpectNotEqual
2024-02-23 02:57:09 -08:00
Kubernetes Prow Robot
1b07df8845
Merge pull request #123464 from SataQiu/remove-bridge-nf-call-iptables-check
kubeadm: remove bridge-nf-call-iptables and bridge-nf-call-ip6tables preflight checks since not all the network implementations require this setting
2024-02-23 00:49:17 -08:00
SataQiu
75238e592d kubeadm: remove bridge-nf-call-iptables and bridge-nf-call-ip6tables preflight checks since not all the network implementations require this setting 2024-02-23 15:37:42 +08:00
Kubernetes Prow Robot
003f4c5de4
Merge pull request #123460 from liggitt/drain-proxy-output
Fix kubectl proxy e2e test
2024-02-22 21:49:53 -08:00
Jordan Liggitt
e1ac3e1de7
Fix kubectl proxy e2e test 2024-02-22 23:50:23 -05:00
Kubernetes Prow Robot
a823a842ec
Merge pull request #123438 from yankay/golangci-lint-update
hack/tools:  update to  golangci-lint v1.56.2 and Go v1.21
2024-02-22 17:57:23 -08:00
Kubernetes Prow Robot
5d39bc5680
Merge pull request #122977 from Jefftree/add-e2e-agg-discovery
e2e for aggregated discovery
2024-02-22 16:09:59 -08:00
Jefftree
52dd603055 initial e2e for aggregated discovery 2024-02-22 22:33:19 +00:00
Kubernetes Prow Robot
9fa043e769
Merge pull request #123181 from tenzen-y/job-avoid-casts-due-to-old-sets
Job: Use generic sets to avoid unnecessary string casts in valiations
2024-02-22 13:03:10 -08:00
Kubernetes Prow Robot
88c581833b
Merge pull request #123081 from tenzen-y/job-stop-no-need-type-casting
Job: Stop unnecessary string casts in validations
2024-02-22 13:03:01 -08:00
Kubernetes Prow Robot
31a482a149
Merge pull request #120344 from rohitssingh/disable_force_detach
Add a flag to disable force detach behavior in kube-controller-manager
2024-02-22 13:02:38 -08:00
Kubernetes Prow Robot
446afd90b2
Merge pull request #123427 from alexzielenski/apiserver/policy/matching-refactor
ValidatingAdmissionPolicy: Factor out matching and params logic for reuse with MutatingAdmissionPolicy
2024-02-22 10:51:18 -08:00