Jordan Liggitt
9fb2dcad5e
Limit kubelets from updating their own labels
2018-11-13 23:48:47 -05:00
Timothy St. Clair
ef3380b42d
Fixup language on help message to denote phases
...
Signed-off-by: Timothy St. Clair <timothysc@gmail.com >
2018-11-13 20:16:15 -06:00
k8s-ci-robot
90295640ef
Merge pull request #71010 from neolit123/revert-68890-dnspolicy
...
Revert "kubeadm: Create control plane with ClusterFirstWithHostNet dns policy"
2018-11-13 18:07:33 -08:00
Mike Danese
20bad760fc
cleanup error handling in apiserver opts validation
2018-11-13 17:27:13 -08:00
Mike Danese
06935e1c90
split TokenRequest initialization out of run and into complete and validate
2018-11-13 17:27:13 -08:00
k8s-ci-robot
8d27e5683c
Merge pull request #70874 from rdodev/reset-iptables
...
iptables reset text message
2018-11-13 16:14:04 -08:00
k8s-ci-robot
48d788de6f
Merge pull request #71001 from Deepomatic/recognize_docker_1809_version
...
Recognize newer docker versions without -ce/-ee suffix: 18.09.0
2018-11-13 14:59:36 -08:00
Yann Hodique
4d9c01d747
replace golang.org/x/exp/inotify with standalone library
...
The inotify code was removed from golang.org/x/exp several years ago. Therefore
importing it from that path prevents downstream consumers from using any module
that makes use of more recent features of golang.org/x/exp.
This change is a followup to google/cadvisor#2060 which was merged with #70889
This fixes #68478
2018-11-13 14:51:40 -08:00
Lubomir I. Ivanov
24b4280e3f
Revert "kubeadm: Create control plane with ClusterFirstWithHostNet dns policy"
2018-11-14 00:18:32 +02:00
Lubomir I. Ivanov
865904d0e1
kubeadm: update notes and example config in v1beta1 godocs
2018-11-13 23:52:42 +02:00
k8s-ci-robot
bea07c0dc6
Merge pull request #70935 from neolit123/kubeadm-update-cmd-go
...
kubeadm: update the state in app/cmd.go
2018-11-13 13:45:41 -08:00
k8s-ci-robot
8b562218b7
Merge pull request #70876 from chuckha/idempotency
...
kubeadm: Adds tests to node patching
2018-11-13 13:45:31 -08:00
k8s-ci-robot
3cba75ea60
Merge pull request #70603 from chuckha/pod-infra-container-image
...
kubeadm: set pod-infra-container-image for the kubelet
2018-11-13 13:45:02 -08:00
Mike Danese
bf02f55147
rootcacertpublisher: trigger resync on namespace add and update
...
Last cleanup was a bit overzealous.
2018-11-13 11:38:45 -08:00
Mike Danese
766aab509a
dedup APIAudiences config in kube-apiserver, use GenericConfig field
2018-11-13 11:07:31 -08:00
Yago Nobre
7a9a8f5f35
kubeadm graduate addons phase
2018-11-13 16:33:59 -02:00
k8s-ci-robot
bfb95290b9
Merge pull request #70795 from yuexiao-wang/print-join-command
...
kubeadm: print the join command
2018-11-13 10:11:21 -08:00
Lubomir I. Ivanov
9a37f2d878
kubeadm: set pod-infra-container-image for the kubelet
...
The kubelet allows you to set `--pod-infra-container-image`
(also called `PodSandboxImage` in the kubelet config),
which can be a custom location to the "pause" image in the case
of Docker. Other CRIs are not supported.
Set the CLI flag for the Docker case in flags.go using
WriteKubeletDynamicEnvFile().
2018-11-13 13:10:22 -05:00
Thomas Riccardi
068cdaa56c
Recognize newer docker versions without -ce/-ee suffix
...
Since docker 18.09, the ServerVersion field format changed: the `-ce`
or `-ee` suffix disappeared:
- docker 18.06: `18.06.1-ce`
- docker 18.09: `18.09.0`
This was not expected by the docker_validator version regexp, which
assumed newer docker versions ended with `-[a-z]{2}`.
This made the validator return an error, whereas we expect it to
return only a warning (by recognizing it as a newer but not yet
supported docker version).
This commit relax the version regexp to also recognize `18.09.0`.
The docker validator now returns a warning, as tested.
2018-11-13 18:55:29 +01:00
Chuck Ha
db3d636f91
updates license year
...
Signed-off-by: Chuck Ha <ha.chuck@gmail.com >
2018-11-13 12:49:42 -05:00
Chuck Ha
5792eeb137
kubeadm: Adds tests to node patching
...
Signed-off-by: Chuck Ha <ha.chuck@gmail.com >
2018-11-13 12:48:54 -05:00
k8s-ci-robot
9199025b24
Merge pull request #70849 from yagonobre/rm-dynamic-kubelet
...
Remove DynamicKubeletConfig from init and join workflow
2018-11-13 08:54:34 -08:00
k8s-ci-robot
bd2cb5a72d
Merge pull request #70831 from mikedanese/securesvcacct
...
add BoundServiceAccountTokenVolume feature
2018-11-13 08:54:25 -08:00
Ruben Orduz
89a5d5cadd
iptables reset text message
...
Signed-off-by: Ruben Orduz <rubenoz@gmail.com >
2018-11-13 10:36:43 -05:00
Yago Nobre
62c9303ecf
Remove DynamicKubeletConfig from init and join workflow, also remove DynamicKubeletConfig feature gate
2018-11-13 11:56:24 -02:00
stewart-yu
43574d1be3
remove kube-controller-manager dependency on the legacyscheme, using client-go scheme
2018-11-13 19:45:59 +08:00
yuexiao-wang
5851fd556b
kubeadm: print the join command should happen after all the phases in init have finished
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn >
2018-11-13 19:05:10 +08:00
fabriziopandini
7f1b2a62a7
fix kubeadm upgrade
2018-11-13 09:14:16 +01:00
k8s-ci-robot
bcef72bf06
Merge pull request #70877 from yagonobre/reset
...
Handler error when kubeconfig file not exist on kubeadm reset
2018-11-12 23:56:57 -08:00
k8s-ci-robot
3c5c6025bf
Merge pull request #70807 from Klaven/kubeadm_1221
...
kubeadm: Remove AuditPolicyConfiguration
2018-11-12 15:43:23 -08:00
Mike Danese
f4ff26679f
add BoundServiceAccountTokenVolume feature
...
* require TokenRequest to be enabled and configured
* bind ca.crt publisher to this feature rather than to TokenRequest
2018-11-12 13:11:47 -08:00
k8s-ci-robot
08784ad9af
Merge pull request #70842 from mikedanese/simplify
...
combine syncs in rootcacertpublisher
2018-11-12 12:01:45 -08:00
Marek
064f74b2e8
fixes kubeadm 1221 to remove AuditPolicyConfiguration
...
Added conversion test and failure.
2018-11-12 14:33:26 -05:00
Yago Nobre
5e31a6bb74
Handler error when kubeconfig file not exist on kubeadm reset
2018-11-12 10:36:35 -02:00
zhangmingld
fb73574d77
use glog.info instead glog.infof when no var
2018-11-12 17:30:37 +08:00
k8s-ci-robot
99811e2540
Merge pull request #70870 from fabriziopandini/kubeadm-config-JoinControlPlane
...
Kubeadm config refactor JoinControlPlane
2018-11-12 00:53:09 -08:00
k8s-ci-robot
5fb8229218
Merge pull request #70024 from fabriziopandini/kubeadm-addons-config
...
kubeadm - addon configuration in the kubeadm config API.
2018-11-12 00:52:59 -08:00
k8s-ci-robot
04bb2171a7
Merge pull request #70885 from neolit123/phase-mark-control-plane
...
kubeadm: graduate the mark-control-plane-phase
2018-11-11 19:07:10 -08:00
k8s-ci-robot
b99c8b994f
Merge pull request #70743 from bart0sh/PR0039-kubeadm-dont-prepull-etcd-if-not-required
...
kubeadm: prepull Etcd image only if required
2018-11-11 19:07:00 -08:00
Lubomir I. Ivanov
c46e949799
kubeadm: update the state in app/cmd.go
...
- BETA->GA
- master->control-plane
- exclude @ mentions as only members can use them
2018-11-12 04:04:56 +02:00
Mike Danese
206f5892a7
combine syncs in rootcacertpublisher
...
and some misc simplifications.
2018-11-11 11:29:32 -08:00
stewart-yu
529dbd27ac
auto-generated file
2018-11-11 17:19:38 +08:00
stewart-yu
a77652e9ab
kube-scheduler: output flags in logical sections
2018-11-11 17:19:38 +08:00
Davanum Srinivas
cf142a2d21
add log_file option to kubelet flags
...
Change-Id: I5e75902739e2f869244d1b8b229be2580aca8149
2018-11-10 22:22:01 -05:00
RA489
daae2a86ea
kubeadm: graduate mark-control-plane phase
...
Co-authored-by: Lubomir I. Ivanov <lubomirivanov@vmware.com >
2018-11-11 04:56:55 +02:00
fabriziopandini
fa161370f0
autogenerated
2018-11-10 17:37:00 +01:00
fabriziopandini
d484c8c087
kubeadm refactor joinControlPlane config
2018-11-10 17:36:49 +01:00
fabriziopandini
446d80693c
autogenerated
2018-11-10 17:27:51 +01:00
fabriziopandini
6759334f6e
add DNS struct to kubeadm config
2018-11-10 17:27:39 +01:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00