Commit Graph

71307 Commits

Author SHA1 Message Date
zuoxiu.jm
4624c1319c fixes wild serviceaccount controller options 2018-10-22 13:13:02 +08:00
andyzhangx
f69068753a improve azure disk attachment perf on Linux
use new getDiskLUN func in linux
2018-10-22 02:24:15 +00:00
Patrick Barker
5874a1f8fa updates shared apiserver webhook client 2018-10-21 10:03:28 -05:00
xichengliudui
7946697e82 Fix grammatical errors and repeat words 2018-10-21 09:50:54 -04:00
Ed Bartosh
daa111156f kubeadm: fix missing error handling
Handled error returned from CertificateSigningRequests().Get()
2018-10-21 11:26:42 +03:00
Ed Bartosh
149fbe3874 kubeadm: don't prepull etcd image on upgrade
Skipped prepulling etcd image if external etcd is used.

Fixes: kubernetes/kubeadm#1136
2018-10-21 10:07:02 +03:00
Ed Bartosh
1ada4b23b7 kubeadm: fix typo: missing round bracket 2018-10-21 00:42:08 +03:00
gman
571ad40fa1 CSI client: added missing lock when reading from csiDrivers 2018-10-20 22:43:17 +02:00
k8s-ci-robot
7cbb999518
Merge pull request #70023 from SataQiu/fix-20181019
clean up redundant code for kubeadm join
2018-10-20 11:17:53 -07:00
k8s-ci-robot
a6e273214b
Merge pull request #69617 from rosti/config-defaults-split
kubeadm: Introduce config print init/join-defaults
2018-10-20 08:04:53 -07:00
Ed Bartosh
d230b24612 kubeadm: check required number of CPUs on master
Implemented preflight check to ensure that number of CPUs
on the master node is not less than required.
2018-10-20 17:54:54 +03:00
k8s-ci-robot
0bf8a51f4b
Merge pull request #69666 from fabriziopandini/kubeadm-graduate-preflight
Kubeadm graduate preflight phase
2018-10-20 05:58:53 -07:00
k8s-ci-robot
2b8af57488
Merge pull request #70040 from liggitt/remove-deprecated-scheduler-config
Remove temporary workaround for scheduler alpha config-loading
2018-10-20 03:11:55 -07:00
k8s-ci-robot
2dc9acc23b
Merge pull request #69922 from xichengliudui/fix181017
Delete repeated words and fix misspellings
2018-10-20 01:47:53 -07:00
k8s-ci-robot
570f9195d0
Merge pull request #69829 from jpbetz/watch-e2e-test1
Add api-machinery 'watch-consistency' e2e test
2018-10-19 22:17:54 -07:00
Jordan Liggitt
33a866c470 Remove temporary workaround for scheduler alpha config-loading 2018-10-20 01:07:28 -04:00
k8s-ci-robot
cbb422c214
Merge pull request #70038 from andrewsykim/cloud-initialize-stopch
pass in stopCh to cloud provider Initialize method for custom controllers
2018-10-19 20:23:54 -07:00
k8s-ci-robot
6382f1b544
Merge pull request #70042 from BenTheElder/we-unburied-a-skeleton
register skeleton provider
2018-10-19 18:37:54 -07:00
Benjamin Elder
3787a4b5be register skeleton provider 2018-10-19 17:05:06 -07:00
Daniel Smith
5dc3b8e63b fix container port to key by both port and protocol 2018-10-19 16:10:31 -07:00
k8s-ci-robot
82cba09870
Merge pull request #69995 from ixdy/purge-libsystemd-from-debian-base
debian-base: purge libsystemd0 to eliminate CVE false-positives
2018-10-19 16:04:23 -07:00
Monis Khan
c16edb2738
Refactor dry run test to reuse ETCD storage data
This change updates the ETCD storage test so that its data is
exported.  Thus it can be used by other tests.  The dry run test was
updated to consume this data instead of having a duplicate copy.

The code to start a master that can be used for "one of every
resource" style tests was also factored out.  It is reused in the
dry run test as well.

This prevents these tests from drifting in the future and reduces
the long term maintenance burden.

Signed-off-by: Monis Khan <mkhan@redhat.com>
2018-10-19 18:35:56 -04:00
k8s-ci-robot
b47510c1bb
Merge pull request #69886 from bart0sh/PR0030-kubeadm-fix-1054-upgrade-same-version
kubeadm: skip upgrade if manifest is not changed
2018-10-19 14:52:46 -07:00
andrewsykim
3521ebd1e7 pass in stopCh for GCE cluster ID controller 2018-10-19 17:51:58 -04:00
andrewsykim
2908174517 pass in stopCh to cloud provider Initialize method for custom controllers 2018-10-19 17:51:58 -04:00
Joe Betz
f87d2c61f3 Add api-machinery 'watch-consistency' e2e test 2018-10-19 14:05:43 -07:00
Matt Matejczyk
d99b68a6e2 Update annotation name and documentation. 2018-10-19 16:57:49 -04:00
k8s-ci-robot
aae438e823
Merge pull request #70015 from yuexiao-wang/fix-reference
fix reference to controlManagerExtraAargs
2018-10-19 13:42:01 -07:00
k8s-ci-robot
8b36038b41
Merge pull request #68483 from pohly/e2e-refactor-pr
e2e refactor
2018-10-19 12:32:01 -07:00
Mark Wolters
c9d34073f2 Changed prepare-log-file to take args for setting uid/gid for log files. 2018-10-19 11:57:26 -07:00
Jeff Grafton
7a8696c331 Update to debian-base 0.4.0
Additionally, update the addon-manager to use kubectl v1.11.3.
2018-10-19 11:13:28 -07:00
k8s-ci-robot
8e31d05df6
Merge pull request #69984 from neolit123/docs-admin-owners
docs/admin: add OWNERS file with cmd/kubeadm approvers
2018-10-19 11:01:13 -07:00
Matt Matejczyk
536cee71b4 Merge branch 'master' into annotation 2018-10-19 13:54:06 -04:00
Matt Matejczyk
4cdab7c985 Rename and update the doc. 2018-10-19 13:11:56 -04:00
Matt Matejczyk
7f7a4590b9 Specify in the documentation that the timestamp will be expressed in milliseconds. 2018-10-19 12:19:02 -04:00
Jeff Grafton
8906d1d8be debian-base: purge libsystemd0 to eliminate CVE false-positives 2018-10-19 08:31:31 -07:00
Ed Bartosh
ebb0af9e8f kubeadm: sort pod Volumes and VolumeMounts
Order of Volumes and VolumeMounts in the pod objects created by
kubeadm is undefined as they're represended as maps in the
controlPlaneHostPathMounts struct.

This influences 'kubeadm upgrade' logic in a way that even when
manifest of the component is not changed kubeadm tries to upgrade
it because most of the time current and new pods are not equal
due to the different order of Volumes and VolumeMounts.

For example 'kubeadm apply diff' almost always shows difference
in Volumes and VolumeMounts because of this:
     volumeMounts:
+    - mountPath: /etc/kubernetes/pki
+      name: k8s-certs
+      readOnly: true
     - mountPath: /etc/ssl/certs
       name: ca-certs
+      readOnly: true
+    - mountPath: /etc/pki
+      name: etc-pki
+      readOnly: true
+    - mountPath: /usr/share/ca-certificates
+      name: usr-share-ca-certificates
       readOnly: true
     - mountPath: /etc/ca-certificates
       name: etc-ca-certificates
       readOnly: true
-    - mountPath: /etc/pki
-      name: etc-pki
-      readOnly: true
-    - mountPath: /etc/kubernetes/pki
-      name: k8s-certs
-      readOnly: true
-    - mountPath: /usr/share/ca-certificates
-      name: usr-share-ca-certificates
-      readOnly: true

Sorting Volumes and VolumeMounts should fix this issue and help
to avoid unnecessary upgrades.
2018-10-19 18:22:47 +03:00
SataQiu
41937c21c0 clean up redundant code 2018-10-19 22:20:25 +08:00
k8s-ci-robot
37cb88efd2
Merge pull request #70012 from andyzhangx/azuredisk-logging
add more logging for azure disk diagnostics
2018-10-19 07:18:19 -07:00
k8s-ci-robot
34196ac946
Merge pull request #69692 from seans3/deployment-util-fix
kubectl: copy deployment util dependency into kubectl
2018-10-19 06:07:40 -07:00
yuexiao-wang
8af042af6d fix reference to controlManagerExtraAargs
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-10-19 20:22:34 +08:00
k8s-ci-robot
c0d9a0728c
Merge pull request #69897 from code-sleuth/develop
Remove error output from stdout to stderr
2018-10-19 04:57:33 -07:00
k8s-ci-robot
b7c2d923ef
Merge pull request #69927 from SataQiu/fix-20181017
remove duplicate root check for kubeadm
2018-10-19 01:26:30 -07:00
andyzhangx
79a5bb6216 add more logging for azure disk diagnostics 2018-10-19 08:11:49 +00:00
k8s-ci-robot
3d4cc707a2
Merge pull request #69454 from zetaab/fix_aws_node_delete
delete node from aws if it is terminated
2018-10-19 00:10:22 -07:00
k8s-ci-robot
12f726c33a
Merge pull request #68012 from wiremind/fluentd-concat
Fluentd: concatenate long logs
2018-10-18 22:57:06 -07:00
k8s-ci-robot
d8f9b5b668
Merge pull request #69958 from Pingan2017/cleanup-kubectl-delete
remove unneed if block for kubectl delete command
2018-10-18 19:50:53 -07:00
k8s-ci-robot
85e460e362
Merge pull request #69809 from sc14aec/create-context-error-messages
Fix error messages suggesting invalid flag
2018-10-18 19:50:43 -07:00
k8s-ci-robot
52de5c55e3
Merge pull request #69883 from chrisohaver/coredns-default
Make CoreDNS default in kubeup and update CoreDNS version/manifest in kubeup and kubeadm
2018-10-18 18:39:12 -07:00
k8s-ci-robot
34db40fbf5
Merge pull request #67930 from AdamDang/patch-15
Fix the returned messaged: statefullset->statefulset
2018-10-18 18:39:03 -07:00