Commit Graph

71148 Commits

Author SHA1 Message Date
k8s-ci-robot
46ec13cf7d
Merge pull request #70027 from bart0sh/PR0031-kubeadm-sort-volumes
kubeadm: sort pod Volumes and VolumeMounts
2018-10-22 22:46:42 -07:00
k8s-ci-robot
2472d67357
Merge pull request #68218 from jcsirot/fix-SkipIfMultizone-message
Fix the skip message since it was the exact opposite of the tested co…
2018-10-22 22:46:32 -07:00
k8s-ci-robot
dbdcb7e053
Merge pull request #70072 from yue9944882/chore/cleanup-serviceaccount-controller-options
Fixes wild serviceaccount controller resync options
2018-10-22 21:18:48 -07:00
k8s-ci-robot
15c15bedb7
Merge pull request #70048 from bart0sh/PR0032-kubeadm-add-NumCPUCheck
kubeadm: check required number of CPUs on master
2018-10-22 21:18:38 -07:00
k8s-ci-robot
77a1199b6c
Merge pull request #70019 from enj/enj/t/shared_etcd_stubs
Refactor dry run test to reuse ETCD storage data
2018-10-22 19:44:29 -07:00
k8s-ci-robot
b3d10d044f
Merge pull request #69988 from bradhoekstra/fix-69445
Set the default for EnableServiceLinks only in Pod
2018-10-22 19:44:20 -07:00
k8s-ci-robot
199cd1b8af
Merge pull request #69369 from mikechernev/improve-verify-golint
Make the golint verify script MacOS compatible
2018-10-22 19:44:11 -07:00
k8s-ci-robot
2f9b65143e
Merge pull request #69946 from mateuszmatejczyk/annotation
Add EndpointsLastTriggerTime annotation.
2018-10-22 18:28:47 -07:00
k8s-ci-robot
91ac9d50fa
Merge pull request #69371 from pivotal-k8s/fix-well-tested-fake
Add tests for `csiDriverClient`
2018-10-22 18:28:37 -07:00
k8s-ci-robot
9fb4a2aa9a
Merge pull request #70060 from pbarker/audit-webhook
updates shared apiserver webhook client
2018-10-22 17:07:46 -07:00
k8s-ci-robot
1af393d58e
Merge pull request #69866 from xichengliudui/fix181016
Remove duplicate words
2018-10-22 15:35:36 -07:00
k8s-ci-robot
8e7e226422
Merge pull request #69636 from p0lyn0mial/sample_controller_factory_start
fixes the way the informers are started in sample controller pkg
2018-10-22 15:35:26 -07:00
k8s-ci-robot
04d3949048
Merge pull request #69895 from jpbetz/webhook-metrics-cardinality-fix
Reduce cardinality of admission webhook metrics
2018-10-22 14:21:29 -07:00
Matt Matejczyk
6ffd88aeda Update the doc to say that we will use RFC 3339 format to store the timestamp. 2018-10-22 15:47:09 -04:00
Matt Matejczyk
8014d73345 Merge branch 'master' of https://github.com/kubernetes/kubernetes into annotation 2018-10-22 14:25:08 -04:00
k8s-ci-robot
db4c86f560
Merge pull request #70055 from bart0sh/PR0034-kubeadm-upgrade-misc-fixes
2 minor fixes for kubeadm upgrade
2018-10-22 11:19:28 -07:00
Matt Matejczyk
f005ea8976 Make it clear that the timestamp is a unix time in millis. 2018-10-22 14:14:58 -04:00
p0lyn0mial
e55ca64dbd fixes the way the informers are started in sample controller pkg 2018-10-22 20:11:23 +02:00
zuoxiu.jm
4624c1319c fixes wild serviceaccount controller options 2018-10-22 13:13:02 +08:00
Patrick Barker
5874a1f8fa updates shared apiserver webhook client 2018-10-21 10:03:28 -05: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
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
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
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