Kubernetes Prow Robot
c864f2357d
Merge pull request #102901 from wangyysde/add-support-imagePullPolicy-fix524
...
kubeadm: add support of imagePullPolicy to kubeadm
2021-06-22 07:43:59 -07:00
caodonghui
25f479c2ac
fix'--log-file only works if --logtostderr=false'
2021-06-22 09:32:26 +08:00
wangyysde
459fe7d08a
add support of imagePullPolicy to kubeadm
...
Signed-off-by: wangyysde <net_use@bzhy.com >
2021-06-22 07:13:25 +08:00
Mike Spreitzer
a3e464490a
Fix some typos and omissions in kubeadm APIs
2021-06-14 20:38:43 -04:00
Kubernetes Prow Robot
4aae71695a
Merge pull request #102366 from cndoit18/fix-time-format
...
fix(timezone): Change the time zone in the api data to UTC
2021-06-11 06:54:59 -07:00
Kubernetes Prow Robot
e52b7be7d7
Merge pull request #101600 from KofClubs/fix-cri-socket-kubeadm
...
kubeadm: disallow the mixture of --cri-socket and --config
2021-06-11 00:04:58 -07:00
Kubernetes Prow Robot
faa36554c5
Merge pull request #102770 from pacoxu/kubeadm-example
...
kubeadm: use a suggested example in v1beta2/3 docs
2021-06-10 08:23:47 -07:00
pacoxu
654ec0866a
kubeadm: use a suggested example in v1beta2/3 docs
...
Co-authored-by: SataQiu <shidaqiu2018@gmail.com >
2021-06-10 18:24:59 +08:00
Michaël Lévesque-Dion
a94aa0ea9a
Update version of go-flow-levee for verify-govet-levee check.
2021-06-08 12:02:46 -04:00
cndoit18
51717256f9
fix(timezone): the timezone is standardized to UTC
...
Signed-off-by: cndoit18 <cndoit18@outlook.com >
2021-06-03 23:55:39 +08:00
Kubernetes Prow Robot
e7d8fb2e16
Merge pull request #101925 from neolit123/1.22-kubeadm-add-optional-fields
...
kubeadm: add "+optional" to fields with "omitempty" in v1beta3
2021-05-28 10:16:24 -07:00
Lubomir I. Ivanov
ac161866aa
kubeadm: add SkipPhases in {Init|Join}Configuration for v1beta3
...
- Add the field SkipPhases in the public v1beta3 as a []string (omitempty)
- Add the field in the internal type
- Run generators
- Adapt v1beta2 converter for JoinConfiguration
2021-05-28 18:12:06 +03:00
Zhang Zhanpeng
5c2841c8cd
Forbid the use of --config and --cri-socket at the same time
...
Signed-off-by: Zhang Zhanpeng <zhanpeng.zhang@daocloud.io >
2021-05-27 12:54:13 +08:00
Lubomir I. Ivanov
93f79103e5
kubeadm: add "+optional" to fields with "omitempty" in v1beta3
...
Add the "+optional" generator tag to all fields in v1beta3 structs
that have "omitempty" in JSON tags.
2021-05-25 20:05:43 +03:00
SataQiu
7a3827e8e3
kubeadm: add datapolicy tags for v1beta3 token fields
2021-05-21 11:47:17 +08:00
Lubomir I. Ivanov
8b9d0dceb1
kubeadm: remove the ClusterStatus object from v1beta3
...
- Remove the object form v1beta3 and internal type
- Deprecate a couple of phases that were specifically designed / named to
modify the ClusterStatus object
- Adapt logic around annotation vs ClusterStatus retrieval
- Update unit tests
- Run generators
2021-05-17 19:27:36 +03:00
Lubomir I. Ivanov
0bdfe05cf2
kubeadm: remove ClusterConfiguration.DNS.Type from v1beta3
...
Kubeadm no longer supports kube-dns and CoreDNS is the only
supported DNS server. Remove ClusterConfiguration.DNS.Type
from v1beta3 that is used to set the DNS server type.
2021-05-11 01:31:01 +03:00
Kubernetes Prow Robot
347730b6b4
Merge pull request #101537 from neolit123/1.22-remove-hyperkube
...
kubeadm: remove deprecated hyperkube image support in v1beta3
2021-05-10 10:49:48 -07:00
Kubernetes Prow Robot
3dd0597843
Merge pull request #101598 from neolit123/1.22-kubeadm-remove-clusterconfiguration-defaulting
...
kubeadm: simplify fuzzing of ClusterConfiguration
2021-05-08 01:23:17 -07:00
Lubomir I. Ivanov
8eca7298b1
kubeadm: simplify fuzzing of ClusterConfiguration
...
- Pin the ClusterConfiguration when fuzzing
the internal InitConfiguration that embeds it. Kubeadm includes
separate constructs for this embedding in the internal type
and this round trip is not viable.
- Remove the artificial calls to SetDefaults_ClusterConfiguration()
in v1beta{2|3}'s converters from public to internal InitConfiguration.
- Make sure the internal InitConfiguration.ClusterConfiguration is
defaulted in initconfiguration.go instead.
2021-04-29 03:34:03 +03:00
Lubomir I. Ivanov
81d5b18dfb
kubeadm: remove deprecated hyperkube image support in v1beta3
...
The hyperkube image support was deprecated. Remove the field
ClusterConfiguration.UseHyperKubeImage from the new v1beta3 API.
2021-04-29 02:10:45 +03:00
maruiyan
8a2a304246
change marsheller to marchaler
2021-04-28 17:00:01 +08:00
Lubomir I. Ivanov
4cba7dcc43
kubeadm: enable v1beta3 accross the code base
...
- scheme: switch to:
utilruntime.Must(scheme.SetVersionPriority(v1beta3.SchemeGroupVersion))
- change all imports in the code base from v1beta2 to v1beta3
- rename all import aliases for kubeadmapiv1beta2 to "kubeadmapiv".
this allows smaller diffs when changing the default public API.
2021-04-20 03:47:27 +03:00
Lubomir I. Ivanov
02b455b565
kubeadm: add v1beta3 copied from v1beta2
...
Add a new versioned API v1beta3.
2021-04-20 03:47:27 +03:00
Lubomir I. Ivanov
66f0ce244c
kubeadm: remove the deprecated v1beta1 API
2021-04-15 00:12:41 +03:00
Kubernetes Prow Robot
be7d3aeb97
Merge pull request #100935 from lojies/kubeadmcodecleanup
...
code cleanup for cmd/kubeadm
2021-04-12 13:18:15 -07:00
卢振兴10069964
a1452b9115
code cleanup for cmd/kubeadm
2021-04-09 09:44:06 +08:00
Lubomir I. Ivanov
80bca50feb
kubeadm: remove mentions of cgroup-driver from godocs
...
The v1beta1/2 API doc.go files include an example
flag for the kubelet binary "cgroup-driver" under
"kubeletExtraArgs".
This flag is deprecated and should not be in the examples.
Add "v" instead which is one of the flags we know will
not be deprecated soon.
2021-03-24 18:14:35 +02:00
Kubernetes Prow Robot
a6bfc7d7a9
Merge pull request #99646 from rajansandeep/remove-kube-dns
...
[kubeadm]: Remove the deprecated kube-dns as an option in kubeadm
2021-03-04 14:41:12 -08:00
Sandeep Rajan
62542bb1ec
add validation to indicate kube-dns is no longer supported
2021-03-04 14:57:52 -05:00
Kubernetes Prow Robot
504b86ced7
Merge pull request #99471 from neolit123/1.21-default-systemd-cgroup-driver
...
kubeadm: set the kubelet cgroup driver to "systemd" during "init"
2021-03-04 11:00:38 -08:00
Sandeep Rajan
b8a1bd6a6c
remove the deprecated kube-dns as an option in kubeadm
2021-03-04 12:12:54 -05:00
Kubernetes Prow Robot
b0ba6c0b76
Merge pull request #98984 from SataQiu/fix-kubeadm-20210211
...
kubeadm: skip validating pod subnet against node-cidr-mask when allocate-node-cidrs is set to be false
2021-03-03 01:53:20 -08:00
Lubomir I. Ivanov
b6ff320507
kubeadm: set the kubelet cgroup driver to "systemd" during "init"
...
The kubeadm documentation instructs users to set the container
runtime driver to "systemd", since kubeadm manages a kubelet via
the systemd init system. The kubelet default however is "cgroupfs".
For new clusters set the driver to "systemd" unless the user
is explicit about it. The same defaulting would not happen
during "upgrade".
2021-03-02 18:39:39 +02:00
pacoxu
3c33ceab04
log a warning if ipv6 site-local addresses is using as it shouldn't be deprecated
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com >
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com >
2021-03-02 21:51:28 +08:00
SataQiu
2ba178c92c
kubeadm: skip validating pod subnet against node-cidr-mask when allocate-node-cidrs is set to be false
2021-03-01 11:19:47 +08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
pacoxu
829b0cde81
kubeadm: promote DualStack feature gate to Beta
2021-02-22 16:03:49 +08:00
pacoxu
f681edf58e
kubeadm: improve error message about node subnet size validation
...
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com >
Co-authored-by: SataQiu <1527062125@qq.com >
Co-authored-by: driazati <david.riazati@gatech.edu >
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com >
2021-02-05 23:29:26 +08:00
chymy
081d78f635
kubeadm: APIEndpointFromString verifies ip
...
Signed-off-by: chymy <chang.min1@zte.com.cn >
2021-01-19 18:36:55 +08:00
Kubernetes Prow Robot
d067c2e95d
Merge pull request #97087 from SataQiu/change-ci-image-repo
...
kubeadm: change the default image repository for CI images from gcr.io/kubernetes-ci-images to gcr.io/k8s-staging-ci-images
2021-01-14 08:55:04 -08:00
he.qingguo
6f1c8de85c
Fix typo of BoostrapToken in kubeadmin-type.go]
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn >
2021-01-09 16:16:29 +08:00
SataQiu
fa04c55ee6
kubeadm: change the default image repository for CI images from gcr.io/kubernetes-ci-images to gcr.io/k8s-staging-ci-images
...
Signed-off-by: SataQiu <1527062125@qq.com >
2020-12-06 14:59:12 +08:00
Antonio Ojea
4e14d1b9a3
kubeadm: validate node-cidr-mask are correct
2020-10-22 17:31:10 +02:00
Antonio Ojea
7fc6b4157b
kubeadm validate maximum service subnet size
...
Validate that the maximum service subnet size doesn't exceed the
limits.
Co-authored-by: Arvinderpal Wander <awander@gmail.com >
2020-10-22 17:30:59 +02:00
Antonio Ojea
8b52995d32
kubeadm: validate podSubnet against node-cidr-mask
...
the controller manager should validate the podSubnet against the node-mask
because if they are incorrect can cause the controller-manager to fail.
We don't need to calculate the node-cidr-masks, because those should
be provided by the user, if they are wrong we fail in validation.
2020-10-22 16:24:13 +02:00
Lubomir I. Ivanov
8ece27bf4b
kubeadm: remove the --experimental-kustomize feature
...
The feature was replaced by --experimental-patches and deprecated in
1.19.
2020-09-18 03:49:53 +03:00
Kubernetes Prow Robot
a2aaae2dd5
Merge pull request #88124 from rosti/kubeadm-cc-upgrade-plan
...
kubeadm upgrade plan: print a component config state table
2020-07-03 05:02:47 -07:00
Lubomir I. Ivanov
144778db83
kubeadm: plumb the patches option trough init/join/upgrade
...
This changes adds the "patches" option in all places where
the "kustomize" option is already present.
2020-06-26 02:14:47 +03:00
Rostislav M. Georgiev
709e3c3a83
kubeadm upgrade plan: component config state table
...
This change enables kubeadm upgrade plan to print a state table with
information regarding known component config API groups. Most importantly this
information includes current and preferred version for each group and an
indication if a manual user upgrade is required.
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com >
2020-06-24 16:47:15 +03:00