Commit Graph

12377 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e9c9a27c97 Merge pull request #126914 from carlory/fix-kubeadm-3045
kubeadm remove the deprecated flag '--experimental-output'
2024-08-27 19:17:03 +01:00
Kubernetes Prow Robot
7436ca32bc Merge pull request #126913 from pacoxu/remove-experimental-cert-rotation
kubeadm: remove the deprecated sub-phase of 'init kubelet-finilize' called `experimental-cert-rotation`
2024-08-27 11:33:03 +01:00
Kubernetes Prow Robot
08dd9951f5 Merge pull request #126886 from pohly/scheduler-perf-output
scheduler_perf: output
2024-08-26 22:23:40 +01:00
carlory
84f6301204 kubeadm: removed the deprecated flag '--experimental-output', please use the flag '--output' instead that serves the same purpose. Affected commands are - "kubeadm config images list", "kubeadm token list", "kubeadm upgade plan", "kubeadm certs check-expiration". 2024-08-26 16:48:30 +08:00
Paco Xu
df00f2fd96 remove deprecated experimental-cert-rotation, use enable-client-cert-rotation instead 2024-08-26 16:39:59 +08:00
Kubernetes Prow Robot
385fd21d92 Merge pull request #126743 from neolit123/1.32-add-get-proxy-env-vars-test
kubeadm: sort the merged env vars and improve related tests
2024-08-26 05:40:50 +01:00
Kubernetes Prow Robot
2f3e7f515f Merge pull request #126740 from neolit123/1.32-allow-config-and-print-manifest
kubeadm: allow mix of --print-manifest and --config flags
2024-08-26 05:40:41 +01:00
Patrick Ohly
6ee2c63135 testserver: allow caller to set up ktesting
In scheduler_perf, the caller configures ktesting without per-test output. When
StartTestServer initialized it again, it did so with per-test output. In other
cases it might have been simply redundant.
2024-08-23 14:31:17 +02:00
Cici Huang
0f19faf9be Remove feature gate ValiatingAdmissionPolicy after stable. 2024-08-22 17:39:18 +00:00
Lubomir I. Ivanov
a9f681d40a kubeadm: sort the results of MergeKubeadmEnvVars
MergeKubeadmEnvVars use a map which results in non
deterministic output in the end slice EnvVar objects.
Before returning the slice, sort it by the Name field.

Update the unit test to capture the sorting aspect.
2024-08-20 09:11:53 +03:00
Lubomir I. Ivanov
ffbc494a4a kubeadm: add unit test for GetProxyEnvVars 2024-08-20 09:11:53 +03:00
Sakuralbj
9064bfbe87 don't watch headless services on kube-proxy 2024-08-19 22:57:47 +08:00
xin.li
6b9e106c2f kubeadm: remove unused function in util/pkiutil
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-08-17 22:57:33 +08:00
Kubernetes Prow Robot
1c4f540669 Merge pull request #122739 from HirazawaUi/remove-deprecated-args
kubelet: mark the deprecated pod-infra-container-image flag for removal in 1.35
2024-08-16 11:32:38 -07:00
HirazawaUi
b1d88fd80a move deprecated version to 1.35 2024-08-17 01:26:35 +08:00
Lubomir I. Ivanov
d441d9140d kubeadm: allow mix of --print-manifest and --config flags
The flag --print-manifest is only present for the subphases of
'kubeadm init phase addon'. It needs to be allowed to be mixed
with the flag --config so that the user can pass their custom
config that will affect the output of the printed manifests.
2024-08-16 17:01:39 +03:00
SataQiu
d8b3ada1c1 kubeadm: update supported etcd version list for 1.32
Signed-off-by: SataQiu <shidaqiu2018@gmail.com>
2024-08-15 18:23:59 +08:00
Kubernetes Prow Robot
fc64d2abb0 Merge pull request #126374 from pacoxu/ga-etcd-learner-mode
[1.32]kubeadm: promote etcd learner mode to GA
2024-08-14 01:59:22 -07:00
Kubernetes Prow Robot
c8259fb116 Merge pull request #126628 from pacoxu/v1beta4-typo
fix a typo in kubeadm v1beta4 doc
2024-08-13 22:11:55 -07:00
Kubernetes Prow Robot
e1b1d4ac7b Merge pull request #126596 from saschagrunert/checks
kubeadm: don't warn if `crictl` binary does not exist
2024-08-13 22:11:48 -07:00
Kubernetes Prow Robot
82cfcbf86d Merge pull request #126579 from my-git9/ut-version
kubeadm: increase ut coverage for util/version
2024-08-13 22:11:41 -07:00
Kubernetes Prow Robot
62cd87e839 Merge pull request #126538 from SataQiu/validate-20240805
kubeadm: add a validation warning when the certificateValidityPeriod is more than the caCertificateValidityPeriod
2024-08-13 22:11:03 -07:00
Kubernetes Prow Robot
046c098a45 Merge pull request #126449 from BenTheElder/coredns-1113
update coreDNS to v1.11.3
2024-08-13 21:04:06 -07:00
Kubernetes Prow Robot
bb7411120a Merge pull request #126287 from devppratik/121793-update-node-monitor-grace-period
node: Update Node Monitor Grace Period default duration to 50s
2024-08-13 21:03:16 -07:00
Paco Xu
85c3c67094 fix a typo in kubeadm v1beta4 doc 2024-08-12 15:12:20 +08:00
xin.li
42e8446d7e kubeadm: increase ut coverage for util/version
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-08-09 09:23:10 +08:00
Sascha Grunert
d850fb6756 kubeadm: don't warn if crictl binary does not exist
kubeadm does not rely on `crictl` any more, so we can now drop the
warning in 1.32 as outlined in:

https://github.com/kubernetes/kubeadm/issues/3064

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-08-08 15:28:31 +02:00
SataQiu
506d5c8966 kubeadm: add a validation warning when the certificateValidityPeriod is more than the caCertificateValidityPeriod 2024-08-05 16:15:24 +08:00
Benjamin Elder
8b69990643 kubeadm: bump coredns to 1.11.3 2024-07-29 13:43:04 -07:00
Kubernetes Prow Robot
3a8a60eba2 Merge pull request #126240 from bzsuni/bz/etcd/update/v3.5.15
Update etcd to v3.5.15
2024-07-26 04:58:05 -07:00
Paco Xu
bec4c0408c kubeadm: promote etcd learner mode to GA 2024-07-26 14:02:46 +08:00
Kubernetes Prow Robot
9a16c96d7b Merge pull request #126324 from pacoxu/v1beta4-typo
fix a typo in kubeadm v1beta4 doc
2024-07-25 13:06:02 -07:00
Paco Xu
bdb51f28df fix a typo in kubeadm v1beta4 doc 2024-07-25 22:01:04 +08:00
bzsuni
4ad2cd9299 Update etcd from v3.5.14 to v3.5.15
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-07-25 10:48:34 +08:00
devppratik
f8bf6b97b8 Update Node Monitor Grace Period default duration to 50s
Update description

Improve flag comment

Update Test case value to be 50s by default

Update Description

Run make update

Minor description fix
2024-07-24 22:54:44 +05:30
Jefftree
fac7581640 feedback: leasecandidate clients 2024-07-24 14:38:12 +00:00
Dr. Stefan Schimanski
68226b0501 Review feedback
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-07-24 14:38:12 +00:00
Jefftree
c47ff1e1a9 CLE controller and client changes 2024-07-24 14:38:11 +00:00
Kubernetes Prow Robot
6834a1ef3d Merge pull request #126293 from aroradaman/kube-proxy-refactor-internal-config
Kube proxy refactor internal config
2024-07-23 11:02:46 -07:00
Kubernetes Prow Robot
fbdfb9d8d9 Merge pull request #126031 from harche/kubelet_cgroupv1_arg
KEP-4569: Kubelet option to disable cgroup v1 support
2024-07-23 09:21:11 -07:00
Daman Arora
3d589bd18a kube-proxy: internal config: remove PortRange
Remove PortRange for internal configuration of kube-proxy
adhering to the v1alpha2 version specifications as detailed in
https://kep.k8s.io/784.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-07-23 19:56:23 +05:30
Daman Arora
c57e1156f5 kube-proxy: internal config: refactor ClusterCIDR
Refactor ClusterCIDR for internal configuration of kube-proxy
adhering to the v1alpha2 version specifications as detailed in
https://kep.k8s.io/784.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-07-23 19:45:29 +05:30
Daman Arora
380adb93cc kube-proxy: internal config: consolidate SyncPeriod and MinSyncPeriod
Consolidate SyncPeriod and MinSyncPeriod for internal configuration
of kube-proxy adhering to the v1alpha2 version specifications as
detailed in https://kep.k8s.io/784.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-07-23 19:34:40 +05:30
Kubernetes Prow Robot
0344f29e83 Merge pull request #125778 from haitch/haitao/controllermgr-emulatever
add emulated-version flag to kube-controller-manager to control the feature gate.
2024-07-22 20:50:21 -07:00
Haitao Chen
1d92758ef0 implement emulated-version for kube-controller-manager 2024-07-22 16:07:18 -07:00
Kubernetes Prow Robot
581a073dc4 Merge pull request #125663 from saschagrunert/oci-volumesource-kubelet
[KEP-4639] Add `ImageVolumeSource` implementation
2024-07-22 15:48:33 -07:00
Sascha Grunert
979863d15c Add ImageVolumeSource implementation
This patch adds the kubelet implementation of the image volume source
feature.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-07-22 18:46:46 +02:00
Patrick Ohly
b51d68bb87 DRA: bump API v1alpha2 -> v1alpha3
This is in preparation for revamping the resource.k8s.io completely. Because
there will be no support for transitioning from v1alpha2 to v1alpha3, the
roundtrip test data for that API in 1.29 and 1.30 gets removed.

Repeating the version in the import name of the API packages is not really
required. It was done for a while to support simpler grepping for usage of
alpha APIs, but there are better ways for that now. So during this transition,
"resourceapi" gets used instead of "resourcev1alpha3" and the version gets
dropped from informer and lister imports. The advantage is that the next bump
to v1beta1 will affect fewer source code lines.

Only source code where the version really matters (like API registration)
retains the versioned import.
2024-07-21 17:28:13 +02:00
Kubernetes Prow Robot
815efa2baa Merge pull request #126250 from my-git9/pkiutil-consot
kubeadm: remove unused constants in util/pkiutil
2024-07-21 03:02:57 -07:00
Kubernetes Prow Robot
b14769f2af Merge pull request #126224 from neolit123/1.31-fix-bug-in-join-patches-healthz
kubeadm: fix join bug where kubeletconfig was not patched in memory
2024-07-20 14:27:24 -07:00