Kubernetes Prow Robot
23698d3e9f
Merge pull request #118335 from pacoxu/revert-118316-fix-kubeadm-20230529
...
Revert "kubeadm: add --feature-gates flag for kubeadm upgrade node"
2023-05-31 02:01:57 -07:00
Paco Xu
f2a5e247eb
add pacoxu to kubeadm approvers list
2023-05-31 10:34:42 +08:00
Daman Arora
2d8c820741
move pkg/util/ipset inside pkg/proxy/ipvs
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2023-05-31 00:30:20 +05:30
Kubernetes Prow Robot
9a40920c06
Merge pull request #118296 from uablrek/remove-moby-ipvs
...
Move pkg/util/ipvs inside pkg/proxy/ipvs
2023-05-30 10:14:02 -07:00
Paco Xu
85e0d8c8b1
Revert "kubeadm: add --feature-gates flag for kubeadm upgrade node"
2023-05-31 00:30:08 +08:00
Kubernetes Prow Robot
320d915897
Merge pull request #118316 from SataQiu/fix-kubeadm-20230529
...
kubeadm: add --feature-gates flag for kubeadm upgrade node
2023-05-29 13:01:43 -07:00
Kubernetes Prow Robot
a6f641b656
Merge pull request #118236 from andyzhangx/remove-azurefile
...
removed the deprecated `azureFile` in-tree storage plugin
2023-05-29 09:25:54 -07:00
Kubernetes Prow Robot
76bad75c1e
Merge pull request #118270 from pacoxu/warningonly-for-deprecatedFG
...
kubeadm: warning only for deprecated FG
2023-05-29 08:23:55 -07:00
SataQiu
4523a301c8
kubeadm: enable --feature-gates flag for kubeadm upgrade node
2023-05-29 21:32:42 +08:00
Paco Xu
0951204298
kubeadm: Supports() return true for all alpha/beta/ga/deprecated
2023-05-29 13:05:20 +08:00
SataQiu
c6aaa1eab0
kubeadm: lower the log level of EtcdSupportedVersion warning message as it is a kubeadm internal warning
2023-05-29 10:39:20 +08:00
Lars Ekman
4aa5441de2
Move pkg/util/ipvs inside pkg/proxy/ipvs
...
Ipvs will never be used by any other component within K8s than
the proxy/ipvs
Signed-off-by: Lars Ekman <uablrek@gmail.com >
2023-05-27 18:37:50 +02:00
Kubernetes Prow Robot
c35a2775b2
Merge pull request #115554 from yt2985/cleanSA
...
LegacyServiceAccountTokenCleanUp alpha
2023-05-26 08:54:53 -07:00
Paco Xu
6a867eacd8
kubeadm: warning only for deprecated FG
2023-05-26 09:47:40 +08:00
Kubernetes Prow Robot
d8e9a7b33a
Merge pull request #118017 from danwinship/kube-proxy-platform
...
merge duplicated linux/windows kube-proxy setup code
2023-05-25 16:39:02 -07:00
Kubernetes Prow Robot
cfeb83d56b
Merge pull request #116525 from ffromani/kubelet-podresources-endpoint-ga
...
node: podresources: graduate to GA
2023-05-25 16:38:50 -07:00
Kubernetes Prow Robot
3d27dee047
Merge pull request #118065 from BenTheElder/prune-junit-cleanup
...
prune-junit-xml cleanup
2023-05-25 11:34:54 -07:00
Kubernetes Prow Robot
03ebd4b7ef
Merge pull request #116656 from HirazawaUi/fik-fd-leaks
...
Cleanup fd leaks and file removal cleanup
2023-05-24 22:50:50 -07:00
Kubernetes Prow Robot
90ed8ba687
Merge pull request #118013 from neolit123/1.28-add-config-validate
...
kubeadm: add the "config validate" subcommand
2023-05-24 20:36:49 -07:00
tinatingyu
133eff3df4
implement LegacyServiceAccountTokenCleanUp alpha
2023-05-24 23:20:17 +00:00
Kubernetes Prow Robot
3efd083b6c
Merge pull request #118012 from mengjiao-liu/runtime-framework-pass-context
...
kube-scheduler: NewFramework function to pass the context parameter
2023-05-24 11:50:49 -07:00
Lubomir I. Ivanov
72e4c9a82a
kubeadm: add the "config validate" subcommand
...
The command can be used to validate an input --config and throw
warnings and errors.
Add a new argument strctErrors to the functions
documentMapTo{Init|Join}Configuration(). This allows
to return errors from the calls to VerifyUnmarshalStrict().
Add a new function verifyKnownGVKs() in config/common.go
that is used to verify if a list of GVKs in a config file is
known. This function is used by the "validate" and "migrate"
commands.
Both commands now throw errors for unknown APIs or fields.
2023-05-24 21:22:02 +03:00
Kubernetes Prow Robot
7024beeeeb
Merge pull request #117984 from champtar/kubeadm-init-speedup
...
kubeadm: speedup init by 0s or 20s
2023-05-24 09:09:01 -07:00
andyzhangx
485d1631cd
Remove Azure file in-tree storage plugin
2023-05-24 14:10:34 +00:00
Dan Winship
6232ac734a
Merge duplicated Linux/Windows kube-proxy setup code
2023-05-23 16:17:07 -04:00
Dan Winship
08ce580576
Add ProxyServer.platformSetup
...
Move the Linux-specific conntrack setup code into a new
"platformSetup" rather than trying to fit it into the generic setup
code.
Also move metrics registration there.
2023-05-23 16:17:04 -04:00
Mengjiao Liu
1c05cf1d51
kube-scheduler: NewFramework function to pass the context parameter
...
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com >
2023-05-23 10:17:34 +08:00
Benjamin Elder
96d48de9b9
add OWNERS for cmd/prune-junit-xml
2023-05-22 11:01:38 -07:00
Lubomir I. Ivanov
d8db9640fa
kubeadm: remove function pointer comparison in phase test
...
TestBindToCommandArgRequirements has a .Pointer()
comparison that is not guaranteed to pass given
the reflected functions are closures.
This test is consistently failing on Go 1.21 rc1.
Remove said comparison from the test.
2023-05-20 23:03:45 +03:00
Kubernetes Prow Robot
589d6f3886
Merge pull request #117630 from skitt/intstr-fromint32-cluster-lifecycle
...
Cluster lifecycle: use new intstr functions
2023-05-19 08:50:30 -07:00
Kubernetes Prow Robot
15a1f9a39d
Merge pull request #117921 from kkkkun/clean-up-etcd-version
...
clean up unsupport etcd version
2023-05-18 20:30:28 -07:00
Etienne Champetier
19ae2de19c
kubeadm: speedup init by 0s or 20s
...
Before this commit, kubeadm starts kubelet before it creates
/etc/kubernetes/manifests. On boot, kubelet tries to load the
static pod manifests from this dir by calling `listConfig()`
7ad8303b96/pkg/kubelet/config/file.go (L97)
and it'll then try to start a file watcher every second for 20s
7ad8303b96/pkg/kubelet/config/file.go (L114)
7ad8303b96/pkg/kubelet/config/file_linux.go (L51-L67)
If kubelet starts and calls `listConfig()` before kubeadm creates
`/etc/kubernetes/manifests` (while writing the static pods manifests),
the file watcher will be created less than a second after, but there
will be no changes to report, so the manifests will only be detected
on the next tick of `listTicker`, a bit less than 20s later
7ad8303b96/pkg/kubelet/config/file.go (L102-L103)
Even if we fixed the watch code to `listConfig()` just after starting the
inotify watch, watching source file is only supported on linux,
so moving the manifests generation before kubelet start fixes all
cases and make more sense IMO.
Signed-off-by: Etienne Champetier <e.champetier@ateme.com >
2023-05-18 15:09:15 -04:00
Kubernetes Prow Robot
7ad8303b96
Merge pull request #118104 from liggitt/crd-sync
...
Fix waiting for CRD sync at server start
2023-05-18 11:26:45 -07:00
Jordan Liggitt
e4102d5e30
Test APIService safe handling at startup
2023-05-18 12:17:37 -04:00
Jordan Liggitt
3be3997193
Fix waiting for CRD sync at server start
2023-05-18 11:07:53 -04:00
carlory
bea71a3e4e
remove unused pv informer from expand_controller
2023-05-18 15:58:38 +08:00
Kubernetes Prow Robot
f9d97e0880
Merge pull request #118069 from SataQiu/fix-kubeadm-20230517
...
kubeadm: fix a bug where the static pod changes detection logic is inconsistent with kubelet
2023-05-17 21:26:40 -07:00
Kubernetes Prow Robot
9d613da22b
Merge pull request #118066 from BenTheElder/yamlfmt-cleanup
...
yamlfmt cleanup
2023-05-17 15:42:33 -07:00
Benjamin Elder
fc4fb004cf
add reviewers and labels to yamlfmt
2023-05-17 09:59:26 -07:00
SataQiu
261de704c2
kubeadm: fix a bug where the static pod changes detection logic is inconsistent with kubelet
2023-05-17 17:05:24 +08:00
kkkkun
8b4840aa37
clean up unsupport etcd version
...
Signed-off-by: kkkkun <scuzk373x@gmail.com >
2023-05-17 16:35:50 +08:00
Benjamin Elder
e0ebac6c9c
drop redundant NArg check when looping Args
2023-05-16 23:23:22 -07:00
Benjamin Elder
82c40e3697
drop redundant NArg check when looping Args
2023-05-16 23:12:37 -07:00
Humble Chirammal
e3eb4bd0c5
updating dependencies.yaml for etcd v3.5.9 version
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
2023-05-16 20:27:17 +05:30
Kubernetes Prow Robot
ffb4172ff1
Merge pull request #115754 from linxiulei/sched
...
Start informers after leader election
2023-05-15 15:41:36 -07:00
Eric Lin
a52dcd0d9f
Add DelayCacheUntilActive option to start informers after leader election
...
If scheduler fails to be active (elected if leader election is enabled),
setting this option will not start informers so that to avoid memory
overhead.
Signed-off-by: Eric Lin <exlin@google.com >
2023-05-15 19:52:04 +00:00
Kubernetes Prow Robot
1487fc762f
Merge pull request #117982 from jpbetz/sig-roles-jpbetz
...
Add api-machinery TL owners permissions for jpbetz
2023-05-15 09:07:29 -07:00
Joe Betz
f0f92853ad
Add api-machinery TL owners permissions for jpbetz
2023-05-15 11:09:54 -04:00
Kubernetes Prow Robot
f70c26d495
Merge pull request #117919 from dlipovetsky/kubeadm-etcd-log-message-format
...
kubeadm: Remove leading zeros from etcd member ID in log messages
2023-05-14 20:09:38 -07:00
Daniel Lipovetsky
ef9f8d7c0c
kubeadm: Remove leading zeros from etcd member ID in log messages
2023-05-12 17:38:44 -07:00