Kubernetes Prow Robot
428ec843a5
Merge pull request #107121 from borgerli/fix-kubelet-config-log
...
1.21 regression: fix regression introduced by PR 100320 - sensitive information would be logged
2022-03-03 00:28:48 -08:00
Haleygo
3bbc2572c5
fix dryrun when ca file exists
2022-03-03 11:53:42 +08:00
Kubernetes Prow Robot
4fcfc58d1b
Merge pull request #108315 from Monokaix/print-getStaticPodSingleHash-err
...
kubeadm: improve getStaticPodSingleHash error messages
2022-03-02 09:17:14 -08:00
Kubernetes Prow Robot
88f9728339
Merge pull request #108309 from zshihang/token
...
no auto-generation of secret-based service account token
2022-03-02 06:19:15 -08:00
XuzhengChang
7824316e89
Print getStaticPodSingleHash err message
2022-03-02 09:34:12 +08:00
Kubernetes Prow Robot
bf7b9119f0
Merge pull request #108278 from kerthcet/feature/graduate-defaultPodTopologySpread-to-ga
...
graduate default pod topology spread to ga
2022-02-28 08:02:57 -08:00
Kubernetes Prow Robot
06e107081e
Merge pull request #104732 from mengjiao-liu/remove-flag-experimental-check-node-capabilities-before-mount
...
kubelet: Remove the deprecated flag `--experimental-check-node-capabilities-before-mount`
2022-02-24 07:56:30 -08:00
Shihang Zhang
fb6c727fde
no auto-generation of secret-based service account token
2022-02-23 14:17:30 -08:00
David Eads
a59b92e8c0
reduce API surface area of whether a resource is enabled
2022-02-23 13:36:33 -05:00
kerthcet
4439fc3590
feat: graduate DefaultPodTopologySpread to GA
...
Co-authored-by: drfish <drfish.me@gmail.com >
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-02-23 19:45:27 +08:00
Kubernetes Prow Robot
0cfb5ccd6a
Merge pull request #107725 from neolit123/1.24-kubeadm-improve-strict-validation
...
kubeadm: improve the strict unmarshaling of component config
2022-02-17 15:01:02 -08:00
Lubomir I. Ivanov
ee5c927f06
kubeadm: improve strict validation for configuration
...
- Modify VerifyUnmarshalStrict to use serializer/json instead
of sigs.k8s.io/yaml. In strict mode, the serializers
in serializer/json use the new sigs.k8s.io/json library
that also catches case sensitive errors for field names -
e.g. foo vs Foo. Include test case for that in strict/testdata.
- Move the hardcoded schemes to check to the side of the
caller - i.e. accept a slice of runtime.Scheme.
- Move the klog warnings outside of VerifyUnmarshalStrict
and make them the responsibility of the caller.
- Call VerifyUnmarshalStrict when downloading the configuration
from kubeadm-config or the kube-proxy or kubelet-config CMs.
This validation is useful if the user has manually patched the CMs.
2022-02-17 19:37:41 +02:00
Kubernetes Prow Robot
f538b0b105
Merge pull request #108017 from denkensk/add-flush-flag
...
Add a deprecated cmd flag for the time interval between flushing pods from unschedualbeQ to activeQ or backoffQ.
2022-02-16 07:56:38 -08:00
Kubernetes Prow Robot
1fa888529e
Merge pull request #107533 from neolit123/1.24-update-master-label-taint
...
kubeadm: apply "master" label/taint migration for 1.24
2022-02-15 21:44:36 -08:00
Alex Wang
87549203e9
add deprecated flag for flush pods to activeq interval
2022-02-16 11:05:52 +08:00
Kubernetes Prow Robot
1ae7da0b68
Merge pull request #108109 from eddiezane/ez/update-sig-cli-owners
...
Update sig-cli OWNERS
2022-02-14 12:06:30 -08:00
Kubernetes Prow Robot
d374c954de
Merge pull request #108027 from neolit123/1.24-update-unversioned-kubelet-cm-fg
...
kubeadm: switch UnversionedKubeletConfigMap to true
2022-02-14 10:59:52 -08:00
Eddie Zaneski
040d575e9f
Update sig-cli OWNERS
...
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com >
2022-02-14 10:55:35 -07:00
Matthias Bertschy
9500ee9d9c
container_manager: use oomScoreAdj instead of default when set
2022-02-12 15:23:13 +01:00
Kubernetes Prow Robot
8580bbf7d7
Merge pull request #107594 from hakman/remove_container-runtime_logic
...
Clean up logic for deprecated flag --container-runtime in kubelet
2022-02-11 12:57:47 -08:00
Kubernetes Prow Robot
a1ac74224e
Merge pull request #108062 from aojea/lease_reconciler
...
apiserver: use endpoint lease reconciler as default
2022-02-11 07:37:45 -08:00
Antonio Ojea
5a20c425f2
apiserver: use endpoint lease reconciler as default
...
The apiserver owns and manages the kubernetes.default service.
It has 3 different options to reconcile the endpoints that belong to
that service:
- None: endpoints are handled by an external party.
- MasterCount: legacy, it reconciles based on the endpoints generated
and a flag specifying the number of master on the cluster.
- Lease: default since 1.11, each apiserver writes a lease in etcd
and renews periodically, the endpoints are generated based on the
existing leases.
It seems that when the default was set for the lease reconciler, the
controlplane code wasn't updated and kept using the master count
reconciler.
This also starts the deprecation of the master count reconciler in
favor of the lease reconciler.
2022-02-11 09:00:54 +01:00
Kubernetes Prow Robot
542a979c03
Merge pull request #108029 from deads2k/just-runtimeconfig
...
update the --runtime-config handling to ensure that user preferences always take priority over hardcoded preferences
2022-02-10 10:15:57 -08:00
Lubomir I. Ivanov
f6fbf6c6e6
kubeadm: remove mentions of the x.yy versioned kubelet config CM
...
The legacy naming "kubelet-config-x.yy" is no longer the
default behavior. Rename instances in documentation and comments
of "kubelet-config-x.yy" to "kubelet-config".
2022-02-10 18:14:50 +02:00
David Eads
41b2662bac
update resourceconfig to have per-resource preferences take priority
2022-02-10 10:53:16 -05:00
Ciprian Hacman
0819451ea6
Clean up logic for deprecated flag --container-runtime in kubelet
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev >
2022-02-10 13:26:59 +02:00
Lubomir I. Ivanov
66a18df14c
kubeadm: switch UnversionedKubeletConfigMap to true
...
- Graduate the feature gate to Beta and enable it by default.
- Pre-set the default value for UnversionedKubeletConfigMap
to "true" in test/e2e_kubeadm.
- Fix a couple of typos in "tolerate" introduced in the PR that
added the FG in 1.23.
2022-02-09 18:33:27 +02:00
SataQiu
2c5aef9036
kubeadm: fix the bug that 'kubeadm init --dry-run --upload-certs' command failed with 'secret not found' error
2022-02-09 12:58:02 +08:00
Kubernetes Prow Robot
8d01b02c60
Merge pull request #107096 from hakman/remove_non-masquerade-cidr
...
Remove deprecated flag --non-masquerade-cidr in kubelet
2022-02-08 12:42:50 -08:00
Kubernetes Prow Robot
eda02deda2
Merge pull request #107785 from chendave/warn
...
kubeadm: warn only when config value is different with default value
2022-02-08 08:18:55 -08:00
SataQiu
dcf959c782
kubeadm: fix the bug that 'kubeadm certs generate-csr' command does not remove duplicated SANs
2022-02-07 17:12:38 +08:00
ravisantoshgudimetla
65ff81757d
Wire contexts to Disruption controllers
2022-02-04 10:32:04 -05:00
Kubernetes Prow Robot
8f80ae88f2
Merge pull request #107532 from marseel/add_bootstrap_to_kubemark
...
Add option to bootstrap kubeconfig for hollow-node
2022-02-02 06:44:21 -08:00
Kubernetes Prow Robot
f11dbaea2f
Merge pull request #106883 from calvin0327/move-well-know-systemConstant
...
kubeadm: move well-known system constants to constants.go
2022-02-01 17:28:21 -08:00
Marcel Zięba
27336259ba
Add option to bootstrap kubeconfig for hollow-node
2022-02-01 11:56:02 +00:00
ahrtr
972dc46a1f
replace deprecated io/ioutil with os and io for cmd
2022-02-01 13:59:41 +08:00
Dave Chen
29a870da2e
kubeadm: warn only when config value is different with default value
...
Compare with two pointers will always show that they are different value,
so it will always print the warning message.
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-01-28 13:04:40 +08:00
calvin
fcfcdef8fd
move well-known system constants to constants.go
2022-01-27 10:39:14 +08:00
Sergey Kanzhelev
7e7bc6d53b
remove DynamicKubeletConfig logic from kubelet
2022-01-19 22:38:04 +00:00
Ciprian Hacman
21809043b5
Remove deprecated flag --non-masquerade-cidr in kubelet
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev >
2022-01-19 09:17:26 +02:00
Kubernetes Prow Robot
feb758027c
Merge pull request #106907 from cyclinder/remove_dockershim_flags
...
Clean up dockershim flags in the kubelet
2022-01-18 09:09:09 -08:00
Kubernetes Prow Robot
8a25964153
Merge pull request #107317 from neolit123/1.24-change-kubeadm-cr-auto-detection
...
kubeadm: adapt CRI detection and defaults after the dockershim removal
2022-01-17 11:00:50 -08:00
Kubernetes Prow Robot
b6c06a95d7
Merge pull request #107584 from SataQiu/clean-kubeadm-20220115
...
kubeadm: make the phase prefix and capitalization consistent
2022-01-17 04:35:30 -08:00
Kubernetes Prow Robot
07c1b4556d
Merge pull request #105586 from jonyhy96/fix-help-misleading
...
kube-proxy: fix misleading in help info
2022-01-15 19:23:26 -08:00
SataQiu
aed6f56257
kubeadm: make the phase prefix and capitalization consistent
2022-01-16 00:01:35 +08:00
cyclinder
07999dac70
Clean up dockershim flags in the kubelet
...
Signed-off-by: cyclinder <qifeng.guo@daocloud.io >
Co-authored-by: Ciprian Hacman <ciprian@hakman.dev >
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev >
2022-01-14 16:02:50 +02:00
Kubernetes Prow Robot
19a37027dc
Merge pull request #107512 from SataQiu/support-reset-dryrun-20220113
...
kubeadm reset: add support for dry-run
2022-01-14 06:01:49 -08:00
SataQiu
e91c829836
kubeadm reset: add support for dry-run
2022-01-14 11:07:09 +08:00
Kubernetes Prow Robot
3bd422dc76
Merge pull request #107293 from dims/jan-1-owners-cleanup
...
Cleanup OWNERS files - Jan 2021 Week 1
2022-01-13 10:30:30 -08:00
Lubomir I. Ivanov
db6061f5a6
kubeadm: apply the new "control-plane" taint during upgrade
...
- During "upgrade apply" call a new function AddNewControlPlaneTaint()
that finds all nodes with the new "control-plane" node-role label
and adds the new "control-plane" taint to them.
- The function is called in "apply" and is separate from
the step to remove the old "master" label for better debugging
if errors occur.
2022-01-13 17:46:11 +02:00