Commit Graph

7848 Commits (f4f139119bbc77a888a0bb63bab366ce08627d4d)

Author SHA1 Message Date
Kubernetes Prow Robot 2cc5100933
Merge pull request #79182 from tallclair/automated-cherry-pick-of-#78313-upstream-release-1.14
Automated cherry pick of #78313: Avoid the default server mux
2019-07-02 14:33:12 -07:00
Tim Allclair 0f9623d937 Avoid the default server mux 2019-06-19 12:32:05 -07:00
Xing Yang 4e65976da4 Move CSIDriver Lister to the controller 2019-06-10 17:41:54 -07:00
Rong Gao bbeb6f9df0 fix: failed to close kubelet->API connections on heartbeat failure 2019-05-24 14:45:28 +08:00
Kubernetes Prow Robot b083bd4c7a
Merge pull request #77276 from vllry/automated-cherry-pick-of-#76732-upstream-release-1.14
Automated cherry pick of #76732: os exit when option is true
2019-05-02 14:00:57 -07:00
Kubernetes Prow Robot f350b2cfed
Merge pull request #77011 from SataQiu/automated-cherry-pick-of-#76923-up-release-1.14
Automated cherry pick of #76923: fix validation message: apiServerEndpoints ->apiServerEndpoint
2019-05-02 14:00:41 -07:00
Kubernetes Prow Robot 4207ddebdd
Merge pull request #76510 from neolit123/automated-cherry-pick-of-#76505-origin-release-1.14
Automated cherry pick of #76505: kubeadm: Don't error out on join with --cri-socket override
2019-04-30 18:42:56 -07:00
JieJhih Jhang 932060ca1d os exit when option is true 2019-04-30 11:46:28 -07:00
Kubernetes Prow Robot c72a5b2c10
Merge pull request #75719 from DataDog/automated-cherry-pick-of-#75295-upstream-release-1.14
Automated cherry pick of #75295 upstream release 1.14
2019-04-30 00:05:36 -07:00
SataQiu 69134cd50d fix validation message: apiServerEndpoints -> apiServerEndpoint 2019-04-24 21:22:46 +08:00
Rostislav M. Georgiev 8921f03347 kubeadm: Don't error out on join with --cri-socket override
In the case where newControlPlane is true we don't go through
getNodeRegistration() and initcfg.NodeRegistration.CRISocket is empty.
This forces DetectCRISocket() to be called later on, and if there is more than
one CRI installed on the system, it will error out, while asking for the user
to provide an override for the CRI socket. Even if the user provides an
override, the call to DetectCRISocket() can happen too early and thus ignore it
(while still erroring out).
However, if newControlPlane == true, initcfg.NodeRegistration is not used at
all and it's overwritten later on.
Thus it's necessary to supply some default value, that will avoid the call to
DetectCRISocket() and as initcfg.NodeRegistration is discarded, setting
whatever value here is harmless.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-04-12 19:46:19 +03:00
Vallery Lancey 18e4a87b6c Fixed --cleanup-ipvs help text 2019-04-04 22:59:53 -07:00
Vallery Lancey 8b10712192 Revert "Deprecated --cleanup-ipvs flag in kube-proxy"
This reverts commit 4f1bb2bd2f.
2019-04-04 22:59:53 -07:00
Vallery Lancey 4034cad269 Depricated --cleanup-ipvs flag in kube-proxy 2019-04-04 22:59:53 -07:00
Vallery Lancey 21340c50d0 Removed cleanup for non-current kube-proxy modes in newProxyServer() 2019-04-04 22:59:53 -07:00
Kubernetes Prow Robot e169638264
Merge pull request #75956 from fabriziopandini/fix-kubeadm-upgrade-12-13-14
kubeadm : fix-kubeadm-upgrade-12-13-14
2019-04-04 16:07:19 -07:00
Kubernetes Prow Robot 7151a59cbf
Merge pull request #75901 from neolit123/automated-cherry-pick-of-#75900-origin-release-1.14
Automated cherry pick of #75900: kubeadm: fix "upgrade plan" not working without k8s version
2019-04-03 23:47:15 -07:00
fabriziopandini 211bc613a0 fix-kubeadm-upgrade-12-13-14 2019-04-02 21:27:21 +02:00
Lubomir I. Ivanov 275a748133 kubeadm: fix "upgrade plan" not working without k8s version
If the k8s version argument passed to "upgrade plan" is missing
the logic should perform the following actions:
- fetch a "stable" version from the internet.
- if that fails, fallback to the local client version.

Currentely the logic fails because the cfg.KubernetesVersion is
defaulted to the version of the existing cluster, which
then causes an early exit without any ugprade suggestions.

See app/cmd/upgrade/common.go::enforceRequirements():
  configutil.FetchInitConfigurationFromCluster(..)

Fix that by passing the explicit user value that can also be "".
This will then make the "offline getter" treat it as an explicit
desired upgrade target.

In the future it might be best to invert this logic:
- if no user k8s version argument is passed - default to the kubeadm
version.
- if labels are passed (e.g. "stable"), fetch a version from the
internet.
2019-03-29 21:54:25 +02:00
fabriziopandini 90cf8be11f fix-external-etcd 2019-03-29 02:18:42 +02:00
Laurent Bernaille a20735141c
Add flag to enable strict ARP 2019-03-26 10:13:17 +01:00
Marques Johansson 6af50b9519 Restore machine readability to the print-join-command output
The output of `kubeadm token create --print-join-command` should be
usable by batch scripts. This issue was pointed out in:

https://github.com/kubernetes/kubeadm/issues/1454
2019-03-20 00:23:43 +02:00
Kubernetes Prow Robot b61baea135
Merge pull request #75420 from fabriziopandini/fix-kubeadm-init-output
fix kubeadm init output
2019-03-18 06:07:11 -07:00
fabriziopandini fcadf143a5 fix-kubeadm-init-output 2019-03-18 12:52:41 +01:00
Kubernetes Prow Robot ebea037729
Merge pull request #75431 from fabriziopandini/fix-external-ca
fix kubeadm external CA Mode
2019-03-17 06:28:56 -07:00
fabriziopandini ff072aa639 fix-external-ca 2019-03-17 13:03:40 +01:00
Kubernetes Prow Robot fe8b1e24ee
Merge pull request #75425 from liggitt/kubeadm-insecure-port
Kubeadm insecure port
2019-03-16 17:24:55 -07:00
Jordan Liggitt d4591ea324 Revert "Stop using API server's `--insecure-port`"
This reverts commit 5b64a98689.
2019-03-16 16:24:49 -04:00
Kubernetes Prow Robot 1a24040447
Merge pull request #74781 from liggitt/http2-watch
kubelet watch-manager test, restore watch-based manager default
2019-03-16 12:52:56 -07:00
Rafael Fernández López bc26c69b61
kubeadm: Allow certain certs/keys to be missing on the secret.
Under certain circumstances, specially when using an insecure external
etcd cluster (no certificates), or when using external certificates (
no CA key), some keys inside the kubeadm-certs secret data can contain
the key with an empty value on the map.

When downloading certs just ignore those that are blank and inform the
user about it.
2019-03-15 23:34:17 +01:00
Jordan Liggitt f2a0c0342c Revert "Revert kubelet to default to ttl cache secret/configmap behavior"
This reverts commit cd1c9f9018.
2019-03-13 15:12:26 -07:00
Kubernetes Prow Robot eb6a1b651c
Merge pull request #72942 from caesarxuchao/expose-storage-version-hash
Populate the storage version hash
2019-03-11 21:36:36 -07:00
Kubernetes Prow Robot bb8ccb6ce7
Merge pull request #74975 from dims/deprecate-make-symlink-parameter-in-hyperkube
Deprecate make-symlink parameter in hyperkube
2019-03-11 19:10:36 -07:00
Kubernetes Prow Robot 50bf223a05
Merge pull request #75224 from neolit123/certs-print-key-on-phase
kubeadm: print key inside the upload-certs phase of init
2019-03-11 12:00:15 -07:00
Chao Xu 887cb93d8d generated BUILD
generated proto
2019-03-11 10:26:56 -07:00
Chao Xu 3b618af0d4 Expose storage version hash 2019-03-11 10:26:56 -07:00
Kubernetes Prow Robot f4d125320e
Merge pull request #75218 from ereslibre/fix-join-message
kubeadm: fix join message if kubeadm-certs secret is not present
2019-03-11 01:25:25 -07:00
Lubomir I. Ivanov c5c4cd2580 kubeadm: print key inside the upload-certs phase of init
The standalone execution of upload-certs phase does not print
the key that that user should use for the newly uploaded encrypted
secret. Print this key in the upload-certs phase in both
standalone mode or if executed in the standard init workflow.

Make it possible to omit the printing if the user passes
--skip-certificate-key-print.

Also:
- Uppercase string in Printf call in copycerts.go
- Don't use V(1) for the "Skipping phase" message in uploadcerts.go
instead always print a message that the user case use
--experimental-upload-certs. This solves a problem if the user tried
the standalone phase but didn't pass --experimental-upload-certs.
2019-03-10 19:13:06 +02:00
Rafael Fernández López b57c8e2c45
kubeadm: fix join message if kubeadm-certs secret is not present
`kubeadm init phase upload-certs` requires --experimental-upload-certs
argument. Make this explicit in the error if the secret is missing.
2019-03-08 22:34:11 +01:00
Vladimir Vivien 4ec7d2305d CSI Inline Volume - API changes 2019-03-08 12:35:07 -05:00
Kubernetes Prow Robot 183e6cc190
Merge pull request #74433 from tallclair/runtimeclass-internal
Migrate RuntimeClass from a CRD to an internal API
2019-03-07 21:19:30 -08:00
David Zhu 7d2f4e97b8 Add ADC Fallback if Node doesn't have driver installed 2019-03-07 14:47:38 -08:00
Tim Allclair 222988bdda Migrate to internal node.k8s.io client 2019-03-07 11:57:12 -08:00
Tim Allclair 820a1dc96b Add node.k8s.io/v1beta1 API 2019-03-07 11:57:12 -08:00
Tim Allclair 63f61a6714 Migrate RuntimeClass to internal API 2019-03-07 11:07:54 -08:00
Kubernetes Prow Robot f0418ac3c2
Merge pull request #75082 from neolit123/reset-clean-status
kubeadm-reset: add means to clear the ClusterStatus
2019-03-07 05:15:02 -08:00
Marek Counts a9eea0a353 kubeadm-reset: add means to clear the ClusterStatus
Add ResetClusterStatusForNode() that clears a certain
control-plane node's APIEndpoint from the ClusterStatus
key in the kubeadm ConfigMap on "kubeadm reset".
2019-03-07 04:03:19 +02:00
Timothy St. Clair ef31616e45 Revert "Merge pull request #74628 from hpandeycodeit/alpha_kubeconf"
This reverts commit 7053e43b2e, reversing
changes made to d58ff3bfc0.
2019-03-06 14:07:15 -06:00
Kubernetes Prow Robot c360bac6e2
Merge pull request #75032 from rosti/win-test
kubeadm: Don't hardcode temp path in a test
2019-03-06 09:51:15 -08:00
Kubernetes Prow Robot 0e2c26829c
Merge pull request #75013 from neolit123/fix-join-flags
kubeadm: amend flags for join phases
2019-03-06 09:51:04 -08:00