carlory
db8e106e3f
Code Refactor: using struct option rather than a long list of parameters
...
Co-authored-by: Shida Qiu <shidaqiu2018@gmail.com >
2023-10-13 17:17:03 +08:00
Kubernetes Prow Robot
801932c012
Merge pull request #120825 from pacoxu/kubeadm-skew-match
...
kubeadm: adjust kubeadm skew policy for upgrades
2023-10-12 16:00:02 +02:00
SataQiu
adae1e33ea
kubeadm: remove AlphaDisclaimer for certs phases
2023-10-12 15:11:12 +08:00
Paco Xu
7b1d87383e
add kubelet policy skew test for kubeadm
2023-10-12 11:17:05 +08:00
Kubernetes Prow Robot
b47aa1c20e
Merge pull request #120808 from aroradaman/proxy-conntrack-udp-timeouts
...
Adding option to configure UDP timeouts for conntrack
2023-10-12 01:59:55 +02:00
Daman Arora
15ae6cc160
pkg/proxy: add flag to configure udp conntrack timeouts
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2023-10-12 03:08:21 +05:30
Kubernetes Prow Robot
12458285b9
Merge pull request #120788 from chendave/componentCfg
...
kubeadm: Remove the support of configurable component configs
2023-10-11 04:42:53 +02:00
Dr. Stefan Schimanski
0f989046d0
kube-apiserver: move cloud provider validation into options
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com >
2023-10-10 22:43:23 +02:00
Kubernetes Prow Robot
87611b10db
Merge pull request #121072 from danwinship/kube-proxy-unit-tests
...
Fix regression in cmd/kube-proxy/app unit test speed
2023-10-10 19:07:16 +02:00
Dan Winship
f3c786cbda
Fix regression in cmd/kube-proxy/app unit test speed
2023-10-09 07:08:22 -04:00
SataQiu
c3bf541ede
kubeadm: clean up unnecessary references to UnknownCRISocket
2023-10-08 16:57:45 +08:00
Kubernetes Prow Robot
10827a193a
Merge pull request #121045 from my-git9/fixetcdutk
...
kubeadm: fix wrong ut for util/etcd
2023-10-08 07:03:01 +02:00
xin.li
20db4ef3d6
kubeadm: fix wrong ut for util/etcd
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-10-07 21:57:20 +08:00
Kubernetes Prow Robot
0554675d78
Merge pull request #121020 from chendave/set_opt
...
kubeadm: Optimize the logic to override the arguments
2023-10-07 11:58:31 +02:00
Kubernetes Prow Robot
bb06804e52
Merge pull request #120828 from SataQiu/fix-kubeadm-cri-20230922
...
kubeadm: fix the bug that kubeadm always do CRI detection when --config is passed even if it is not required by the subcommand
2023-10-07 11:58:22 +02:00
Kubernetes Prow Robot
854d0e7fc8
Merge pull request #120956 from my-git9/clusterinfout
...
kubeadm: increase ut converage for bootstraptoken/clusterinfo
2023-10-06 13:43:22 +02:00
Dave Chen
e8e22f645d
kubeadm: Optimize the logic to override the arguments
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-10-06 19:01:00 +08:00
xin.li
8510057e2d
kubeadm: increase ut converage for bootstraptoken/clusterinfo
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-10-06 18:36:02 +08:00
Dan Winship
b2f0052d27
Make a certain ipv4-vs-ipv6 config error non-fatal, for backward compat
2023-10-05 12:57:29 -04:00
Dan Winship
9242cb1934
Rearrange kube-proxy config fields / CLI flags to make more sense.
2023-09-30 10:19:07 -04:00
Dan Winship
44cb330aa0
Improve kube-proxy config / CLI documentation
2023-09-30 10:18:16 -04:00
Kubernetes Prow Robot
c54c6b2383
Merge pull request #120938 from ptsgr/fix-linter
...
Refactoring variable declaration and value setting
2023-09-29 10:56:43 -07:00
Kubernetes Prow Robot
afe4c041f3
Merge pull request #120530 from my-git9/node-ut
...
kubeadm: add unit test for phases/bootstraptoken/node/token.go
2023-09-29 07:08:43 -07:00
Egor Pats
5ebde41efb
Refactoring variable declaration and value setting
2023-09-29 16:17:28 +03:00
Kubernetes Prow Robot
dc28eeaa3a
Merge pull request #120565 from skitt/drop-deprecated-pointer-kube-proxy
...
kube-proxy: drop deprecated pointer package
2023-09-29 02:24:42 -07:00
Kubernetes Prow Robot
29ff98ff37
Merge pull request #120417 from neolit123/1.29-v1beta4-ecdsa
...
kubeadm: add v1beta4.ClusterConfiguration.EncryptionAlgorithm
2023-09-28 02:38:33 -07:00
xin.li
e320fadebe
kubeadm: add unit test for phases/bootstraptoken/node/token.go
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-09-28 16:42:29 +08:00
Gunju Kim
a0610a97b3
pkg/kubelet/cm: Remove deprecated sets.String and sets.Int
...
This removes deprecated sets.String and sets.Int
- replace sets.String with sets.Set[string]
- replace sets.Int with sets.Set[int]
- replace sets.NewString with sets.New[string]
- replace sets.NewInt with sets.New[int]
- replace sets.(OLD).List with sets.List(NEW)
2023-09-27 22:02:15 +09:00
caoyingjunz
2172ea6083
Fix typos: update Enpoint to Endpoint
2023-09-26 21:23:44 +08:00
SataQiu
1a68195626
kubeadm: fix the bug that kubeadm always do CRI detection when --config is passed even if it is not required by subcommand
2023-09-25 16:35:47 +08:00
Paco Xu
534a0941e8
kubeadm: change kubelet skew to apiserver to n-3
2023-09-22 20:46:29 +08:00
Lubomir I. Ivanov
b5bffb6d97
kubeadm: add v1beta4.ClusterConfiguration.EncryptionAlgorithm
...
Add v1beta4.ClusterConfiguration.EncryptionAlgorithm field (string)
and allow the user to configure the cluster asymetric encryption
algorithm to be either "RSA" (default, 2048 pkey size) or "ECDSA" (P-256).
Add validation and fuzzing. Conversion from v1beta3 is not required
because an empty field value is accepted and defaulted to RSA if needed.
Leverage the existing configuration option (feature gate) PublicKeysECDSA
but rename the backend fields, arguments, function names to be more
generic - EncryptionAlgorithm instead of PublicKeyAlgorithm.
That is because once the feature gate is enabled the algorithm
configuration also applies to private keys. It also uses the kubeadm API
type (string) instead of the x509.PublicKeyAlgorithm enum (int).
Deprecate the PublicKeysECDSA feature gate with a message.
It should be removed with the release of v1beta4 or maximum one release
later (it is an alpha FG).
2023-09-21 11:48:48 +03:00
Dave Chen
d8cf68e75f
kubeadm: Nominate myself (chendave) as kubeadm approver
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-09-21 15:00:53 +08:00
Dave Chen
0786fcc941
kubeadm: Remove the support of configurable component configs
...
`kubeadm upgrade plan` uses to support the configure of component
configs(kubeproxy and kubelet) in a config file and then check if
the version is supported or not, if it's not supported it will be
marked as a unsupported version and require to manually upgrade
the component.
This feature will make the upgrade config API much harder as this
violates the no-mutation principle for upgrade, and we have seen it's
quite problematic to do like this.
This change removes the support of configurable component configs for
`kubeadm upgrade plan`, along with the removal, the logic to parse
the config file to decide whether a manual upgrade for the component
configs is needed is removed as well.
NOTE that API is not changed, i.e. `ManualUpgradeRequired` is not removed
from `ComponentConfigVersionState` but it's no-op now.
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-09-21 13:26:13 +08:00
Kubernetes Prow Robot
89b4153d4d
Merge pull request #116884 from mengjiao-liu/contextual-logging-scheduler-plugin-nodevolumelimits
...
Change the scheduler plugins FactoryAdapter function to use context parameter to pass logger
2023-09-20 11:26:00 -07:00
Mengjiao Liu
a7466f44e0
Change the scheduler plugins PluginFactory function to use context parameter to pass logger
...
- Migrated pkg/scheduler/framework/plugins/nodevolumelimits to use contextual logging
- Fix golangci-lint validation failed
- Check for plugins creation err
2023-09-20 17:49:54 +08:00
Kubernetes Prow Robot
144baff189
Merge pull request #120598 from neolit123/1.29-kubeadm-ownders-cleanup
...
/cmd/kubeadm,/test/e2e*: update OWNERS for fabriziopandini & RA489
2023-09-19 21:39:59 -07:00
Etienne Champetier
272b23cc7a
kubelet: fix log when using --reserved-cpus
...
Fixes ae381fcf09
2023-09-18 16:52:19 -04:00
Kubernetes Prow Robot
0241da314e
Merge pull request #120514 from fengxsong/patch-1
...
fix: check if initsystem service exists
2023-09-15 14:08:23 -07:00
Kubernetes Prow Robot
4fd8bd9975
Merge pull request #118568 from qiutongs/node-startup-latency
...
Create a node startup latency tracker
2023-09-15 13:00:12 -07:00
Kubernetes Prow Robot
d393d4e151
Merge pull request #120574 from logicalhan/cslis
...
promote component SLIs to GA; remove feature gates for component slis
2023-09-14 22:52:12 -07:00
Kubernetes Prow Robot
c9114abd92
Merge pull request #120607 from gccio/variable-name-conflit-with-import-package
...
variable name should not conflit with import package
2023-09-14 20:36:12 -07:00
gccio
79d0dde4a8
replace hardcode string with exists variable
2023-09-15 08:37:15 +08:00
Stephen Kitt
9990307146
kube-scheduler: drop deprecated pointer package
...
This replaces deprecated k8s.io/utils/pointer functions with their ptr
equivalent.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2023-09-13 09:42:19 +02:00
Kubernetes Prow Robot
9eb53ec78a
Merge pull request #120602 from SataQiu/fix-kubeadm-20230912
...
kubeadm: fix flaky test TestManifestFilesAreEqual
2023-09-12 10:02:12 -07:00
SataQiu
15ce5dd990
kubeadm: fix flaky-test TestManifestFilesAreEqual
2023-09-12 23:44:44 +08:00
gccio
4f20a72ea0
variable name should not conflit with import package, replace the variable name
2023-09-12 23:23:43 +08:00
Kubernetes Prow Robot
24bc34b1bf
Merge pull request #120516 from togettoyou/cleanup-client-go
...
cleanup: Replace the deprecated NewMemCacheClient with memory.NewMemCacheClient
2023-09-12 07:48:24 -07:00
Kubernetes Prow Robot
e2b03d41c5
Merge pull request #120561 from chendave/dependency
...
kubeadm: remove reference of k8s.io/kubernetes/pkg/apis/core/v1
2023-09-12 03:44:12 -07:00
Lubomir I. Ivanov
3d91ffc6f9
/cmd/kubeadm,/test/e2e*: update OWNERS for fabriziopandini & RA489
...
- move fabriziopandini to emeritus_approvers for /test/e2e*
and /cmd/kubeadm. fabriziopandini remains in /OWNERS_ALIASES
under sig-cluster-lifecycle-leads.
- remove RA489 as reviewer for /test/e2e* and /cmd/kubeadm
2023-09-12 12:35:40 +03:00