Lubomir I. Ivanov
772e2e4e39
kubeadm-validators: bump the latest validated Docker version to 19.03
2019-10-28 22:24:46 +02:00
Kubernetes Prow Robot
46b33af8ef
Merge pull request #84309 from hypnoglow/remove-test
...
kubeadm: remove commented test
2019-10-25 13:03:51 -07:00
Wenjia Zhang
660b17d0ae
Pin dependencies and update vendors
2019-10-24 14:09:24 -07:00
Wenjia Zhang
9ead9373f3
Resolve uncompatibility from update: etcd CAFile -> TrustedCAFIle
2019-10-24 14:09:24 -07:00
Wenjia Zhang
3b274fad2a
Replace github.com/coreos/etcd by go.etcd.io/etcd
2019-10-24 14:09:24 -07:00
Igor Zibarev
c1381282a3
kubeadm: remove commented test
...
Removes commented test TestInitConfigurationMarshallingFromFile
as requested per https://github.com/kubernetes/kubeadm/issues/1431
2019-10-24 22:58:01 +03:00
Kubernetes Prow Robot
9fa1bc8003
Merge pull request #83422 from yastij/remove-ipallocator
...
remove ipallocator in favor of k/utils net package
2019-10-22 12:52:13 -07:00
Yassine TIJANI
f984b4c7a2
remove ipallocator in favor of k/utils net package
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com >
2019-10-22 18:37:13 +02:00
Lubomir I. Ivanov
30db92004a
Revert "kubeadm: enable kubelet certificate rotation on primary CP nodes"
2019-10-16 20:45:55 +03:00
Ed Bartosh
078f7a3537
kubeadm: remove OutputFlagSpecified from PrintFlags
...
This field is not used in the kubeadm code. It was brought from
cli-runtime where it's used to support complex relationship between
command line parameters, which is not present in kubeadm.
2019-10-10 12:53:05 +03:00
Kubernetes Prow Robot
a7e0b768ee
Merge pull request #78764 from bart0sh/PR0070-kubeadm-structured-output-v2
...
Structured output for 'kubeadm token list'
2019-10-09 14:50:54 -07:00
Kubernetes Prow Robot
33809f24e6
Merge pull request #83556 from zouyee/kubeadminfo
...
Complete output of docker info
2019-10-08 20:00:04 -07:00
Kubernetes Prow Robot
0f02a0fadf
Merge pull request #83605 from hwdef/fix-spelling-mistake
...
cmd: fix spelling mistake
2019-10-08 05:25:24 -07:00
Kubernetes Prow Robot
7a0801e1b8
Merge pull request #83339 from neolit123/1.17-master-cert-rotation
...
kubeadm: enable kubelet certificate rotation on primary CP nodes
2019-10-08 03:45:11 -07:00
Kubernetes Prow Robot
c4108c9b4a
Merge pull request #83090 from Klaven/rm_validator_errors
...
Removal of kubernetes error dependencies
2019-10-07 23:35:25 -07:00
hwdef
fea743b783
cmd: fix spelling mistake
2019-10-08 13:15:34 +08:00
Kubernetes Prow Robot
6564b34f9e
Merge pull request #83276 from Klaven/pr_v1beta1_dep
...
Initial deprecation of kubeadm v1beta1 apis
2019-10-07 22:15:11 -07:00
Lubomir I. Ivanov
2dedfddf81
kubeadm: add means to create Node objects via the API client
2019-10-07 18:41:57 +03:00
zouyee
361f20c874
Complete output of docker info
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com >
2019-10-07 19:24:15 +08:00
Marek Counts
3a050344d0
Initial deprecation of kubeadm v1beta1 apis
2019-10-06 23:26:12 +00:00
Ted Yu
4a26579335
Show the complete docker info command
2019-10-06 11:26:18 -07:00
fabriziopandini
fd2c678b1c
127.0.0.1-as-advertise-address
2019-10-04 08:41:07 +02:00
Ed Bartosh
3765f21012
Add internal kubeadm output API
...
Added internal structures and APIs to handle
kubeadm structured output.
2019-10-03 14:13:00 +03:00
Kubernetes Prow Robot
f3981710db
Merge pull request #82473 from Nordix/kubeadm-dualstack-service-ip
...
Kubeadm DualStack Support for List of Service IPs
2019-10-02 11:26:08 -07:00
Marek Counts
114d7855f3
Removal of kubernetes error dependancies
...
removed kubernetes error deps
2019-09-28 15:09:48 +00:00
Marek Counts
dfbb6fb6bb
replaced logs in validators to be warnings
...
Originally kubeadm used klot in the validators to log
These logs are converted to warnings and klog was removed.
2019-09-19 12:18:40 +00:00
Han Kang
866ea74326
remove pkg/version and some of redundant copies of it
...
Change-Id: Ia58367c1b1274bfb49c8a4784051463abaf795de
2019-09-16 16:24:35 -07:00
Arvinderpal Wander
bacc06d8fc
kubeadm --service-cluster-ip-range supports a comma seperated list
...
of service subnets.
Update DNS, Cert, dry-run logic to support list of Service CIDRs.
Added unit tests for GetKubernetesServiceCIDR and updated
GetDNSIP() unit test to inclue dual-sack cases.
2019-09-16 09:33:43 -07:00
Kubernetes Prow Robot
fa3dfa82b0
Merge pull request #82414 from SataQiu/kubeadm-20190906
...
kubeadm: code clean up about kustomize
2019-09-11 15:27:53 -07:00
Kubernetes Prow Robot
7e060eec79
Merge pull request #81908 from tedyu/etcd-cluster-avail
...
Remove Client#ClusterAvailable from interface
2019-09-10 17:42:46 -07:00
SataQiu
c53f2f306a
kubeadm: code clean up
2019-09-06 18:40:44 +08:00
Rostislav M. Georgiev
31b4c782c7
kubeadm: Fetching kube-proxy's config map is now optional
...
Whenever kubeadm needs to fetch its configuration from the cluster, it gets
the component configuration of all supported components (currently only kubelet
and kube-proxy). However, kube-proxy is deemed an optional component and its
installation may be skipped (by skipping the addon/kube-proxy phase on init).
When kube-proxy's installation is skipped, its config map is not created and
all kubeadm operations, that fetch the config from the cluster, are bound to
fail with "not found" or "forbidden" (because of missing RBAC rules) errors.
To fix this issue, we have to ignore the 403 and 404 errors, returned on an
attempt to fetch kube-proxy's component config from the cluster.
The `GetFromKubeProxyConfigMap` function now supports returning nil for both
error and object to indicate just such a case.
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com >
2019-09-05 18:25:22 +03:00
Gyuho Lee
93b9545f48
vendor: update with "update-vendor.sh" script
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-29 08:46:02 -07:00
Gyuho Lee
eb1509a1d3
kubeadm/app/util/etcd: : block etcd client creation until connection is up
...
The new etcd balancer (>3.3.14, 3.4.0) uses an asynchronous resolver for
endpoints. Without "WithBlock", the client may return before the
connection is up.
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-29 08:38:29 -07:00
Ted Yu
2167321adb
Remove Client#ClusterAvailable from interface
2019-08-29 07:40:34 -07:00
Kubernetes Prow Robot
b98f622852
Merge pull request #81910 from fabriziopandini/kubeadm-Json6902-Patches
...
kubeadm: add support for Json6902 Patches
2019-08-28 03:09:54 -07:00
fabriziopandini
0e447d797f
kubeadm Json6902 Patches
2019-08-27 14:14:35 +02:00
Kubernetes Prow Robot
2c64627871
Merge pull request #81918 from tedyu/pki-comment
...
Correct comment in CertOrKeyExist
2019-08-26 10:20:37 -07:00
Ted Yu
55cc0e2957
Correct comment in CertOrKeyExist
2019-08-25 19:30:20 -07:00
Kubernetes Prow Robot
9a5b87a58b
Merge pull request #81821 from hwdef/fix-typo-cmd/kubeadm/app/util/config/initconfiguration.go
...
fix-typo-cmd/kubeadm/app/util/config/initconfiguration.go
2019-08-23 17:59:30 -07:00
Kubernetes Prow Robot
2d649c347f
Merge pull request #81701 from tedyu/init-cfg-convert
...
Check error return from Scheme.Convert
2019-08-22 23:27:42 -07:00
SataQiu
7a4cf591ea
kubeadm: fix static check failures
2019-08-23 10:51:12 +08:00
hwdef
86dd72f345
fix-typo-cmd/kubeadm/app/util/config/initconfiguration.go
2019-08-23 10:07:07 +08:00
Kubernetes Prow Robot
59f5b3ddc4
Merge pull request #80937 from neolit123/1.16-error-stack-trace
...
kubeadm: print the stack trace of an error for klog level v>=5
2019-08-22 15:09:18 -07:00
Kubernetes Prow Robot
ca3e86e662
Merge pull request #81623 from neolit123/kernel-validator
...
kubeadm: support any Linux kernel version newer than 3.10
2019-08-22 11:12:59 -07:00
Lubomir I. Ivanov
2fc19136c1
kubeadm: print the stack trace of an error for klog level v>=5
...
- replace all stray calls of os.Exit() to util.CheckError() instead
- CheckError() now checks if the klog verbosity level is >=5
and shows a stack trace of the error
- don't call klog.Fatal in version.go
2019-08-22 20:09:54 +03:00
Kubernetes Prow Robot
d54c5163e0
Merge pull request #81458 from fabriziopandini/kubeadm-kustomize-ux
...
kubeadm: kustomize-ux
2019-08-22 05:46:32 -07:00
Ted Yu
185c0a16ee
Check error return from Scheme.Convert
2019-08-20 20:17:14 -07:00
Lubomir I. Ivanov
bec9c3678b
kubeadm: support any kernel version newer than 3.10
...
It seems undesirable that Kubernetes as a system should be
blocking a node if it's Linux kernel is way too new.
If such a problem even occurs we should exclude versions from
the list of supported versions instead of blocking users
from trying e.g. the latest 7.0.0-beta kernel because our
validators are not aware of this new version.
2019-08-21 01:23:53 +03:00
Sadlil Rhythom
3e6d483dd9
Fix Test for kubeadm/app/util/net.GetHostname
2019-08-19 14:38:19 +02:00