Commit Graph

72651 Commits (c47c6432f582c790d2f6eefc647d21b8c9642c5f)

Author SHA1 Message Date
Bobby (Babak) Salamat 67f9528eba Fix race in setting nominated node 2019-01-03 14:15:32 -08:00
Bobby (Babak) Salamat c75356fdfe Add a test that reproduces the race condition between setting nominated node name of a pod and scheduling cycle of other pods 2019-01-03 14:03:30 -08:00
Tim Pepper f93284e200 update cloud provider boilerplate
The pull-kubernetes-verify presubmit is failing on
verify-cloudprovider-gce.sh because it is a new year and thus current
test generated code doesn't match the prior committed generated code in
the copyright header.  The verifier is removed in master now, so for
simplicity and rather than fixing the verifier to ignore the header
differences for prior supported branched, this commit is the result of
rerunning hack/update-cloudprovider-gce.sh.

Signed-off-by: Tim Pepper <tpepper@vmware.com>
2019-01-03 09:53:50 -08:00
Jordan Liggitt fd15a526a8 Bump dashboard to v1.10.1 for CVE-2018-18264 2019-01-02 15:27:40 -05:00
Richard Kojedzinszky 8916bfabab storage_scheduling: retry operation as intended
Fixes #72163
2018-12-29 12:38:22 +01:00
Laurent Bernaille 228c460e22 Protect Netlink calls with a mutex 2018-12-29 12:37:22 +01:00
Kubernetes Prow Robot 4980e10802
Merge pull request #72071 from ixdy/automated-cherry-pick-of-#72035-upstream-release-1.13
Automated cherry pick of #72035 and #72084: bump golang to 1.11.4 (CVE-2018-16875)
2018-12-29 00:19:39 -08:00
Christoph Blecker 429d8cb62d Fix tag on github.com/go-openapi 2018-12-28 12:04:16 -08:00
Laurent Bernaille 3b3763cb15 Do not try to delete RS already in termination list 2018-12-28 17:16:19 +01:00
Laurent Bernaille 0864fd2f74 Add info message showing the reason for skipping deletion 2018-12-28 17:16:19 +01:00
Laurent Bernaille 9e8b5e9d63 Gofmt 2018-12-28 17:16:18 +01:00
Laurent Bernaille 089c277b6c Avoid unbinding multiple times for multiport svc 2018-12-28 17:16:18 +01:00
Laurent Bernaille d77f3a6795 Update test for new CleanupLegacyServices function 2018-12-28 17:16:18 +01:00
Laurent Bernaille 10beb23c84 Apply graceful termination logic when unbinding addresses 2018-12-28 17:16:18 +01:00
Laurent Bernaille cf42e01b04 Apply graceful termination when deleting a service 2018-12-28 17:16:18 +01:00
Kubernetes Prow Robot 5ffe054998
Merge pull request #72153 from ereslibre/automated-cherry-pick-of-#72030-upstream-release-1.13
Automated cherry pick of #72030: Fix race condition when joining nodes
2018-12-28 04:02:19 -08:00
Kubernetes Prow Robot faa246de1e
Merge pull request #72126 from neolit123/automated-cherry-pick-of-#72123-origin-release-1.13
Automated cherry pick of #72123: kubeadm: fix nil check in join config creation
2018-12-28 04:02:13 -08:00
Kubernetes Prow Robot dc5b1c5112
Merge pull request #72042 from pytimer/automated-cherry-pick-of-#71945-upstream-release-1.13
Automated cherry pick of #71945: kubeadm: fixed etcd sync endpoints
2018-12-28 04:02:02 -08:00
Michelle Au c5d9702fa8 Leave refactoring TODO 2018-12-27 13:06:27 -08:00
Michelle Au 97071e08a4 Check for volume-subpaths directory in orpahaned pod cleanup 2018-12-27 13:06:27 -08:00
Jordan Liggitt f248a6e7f4 Fix create secret docker-registry compatibility 2018-12-26 11:16:51 -05:00
wangqingcan b044594e66 Make scheduleinternalcache.PodFilter as public 2018-12-24 15:33:46 +08:00
Yecheng Fu 455b8d5f62 Add unit test to verify generated volume names. 2018-12-21 11:55:30 +08:00
Yecheng Fu 3b64f902c7 Rename GetUniqueVolumeNameForNonAttachableVolume to GetUniqueVolumeNameFromSpecWithPod 2018-12-21 11:55:30 +08:00
Yecheng Fu 1e44e07c80 Fix device mountable volume names in DSW 2018-12-21 11:55:30 +08:00
andyzhangx 11527d6910 fix race condition when attach azure disk in vmss
fix gofmt issue
2018-12-21 02:58:29 +00:00
Tim Allclair 95e5a13184 Surface selected pod RuntimeHandler in Kubelet logs 2018-12-19 11:01:07 -08:00
saad-ali 6804ad6cba Ensure volume mount err checking done inside op
Ensure volume mount error checking is done inside the operation so that
failures get handled with exponential backoff, etc.
2018-12-18 10:46:14 -08:00
Rafael Fernández López becb2b753c
Fix race condition when joining nodes
Despite we were checking for the kubelet kubeconfig file to be present, the
kubelet first writes this file and then the certificates the kubeconfig file
refers to. This represents a race condition in kubeadm in which when we confirm
that the kubelet's kubeconfig file is present we continue creating a clientset
out of it. However, the clientset creation will ensure that the certificates the
kubeconfig file refers to exist on the filesystem.

To fix this problem, not only wait for the kubelet's kubeconfig file to be
present, but also ensure that we can create a clientset ouf of it on our polling
process, while we wait for the kubelet to have performed the TLS bootstrap.
2018-12-18 12:11:29 +01:00
Anit Gandhi 2f6bf9d3a2 kubeadm: fix nil check in join config creation 2018-12-17 22:22:11 +02:00
Laurent Bernaille caec159cb0 New sysctls to improve pod termination 2018-12-17 01:54:15 -08:00
Jeff Grafton 0faae7d75f Update to go1.11.4 2018-12-15 12:33:16 -08:00
Eli Uriegas e17978067b bump golang to 1.11.3 (CVE-2018-16875)
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2018-12-14 16:25:35 -08:00
pytimer 83bc69b865 kubeadm: fixed etcd sync endpoints 2018-12-14 13:57:00 +08:00
Anago GCB 598a01989d Add/Update CHANGELOG-1.13.md for v1.13.1. 2018-12-13 11:37:20 +00:00
Anago GCB efe48f3cd6 Kubernetes version v1.13.2-beta.0 openapi-spec file updates 2018-12-13 10:30:46 +00:00
andyzhangx 67d27ade0c fix kubelet log flushing issue in azure disk 2018-12-13 02:51:44 +00:00
David Ashpole 207f9308ea fix node and kubelet start times 2018-12-12 13:36:49 -08:00
Kubernetes Prow Robot eec55b9ba9
Merge pull request #71955 from apelisse/automated-cherry-pick-of-#71923-upstream-release-1.13
Automated cherry pick of #71923: diff: Fix overlapping filenames
2018-12-12 05:09:31 -08:00
Kubernetes Prow Robot 1c51137454
Merge pull request #71981 from micahhausler/automated-cherry-pick-of-#71980-upstream-release-1.13
Automated cherry pick of #71980: Disable proxy to loopback and linklocal
2018-12-12 03:53:55 -08:00
Micah Hausler f377d6e441 Disable proxy to loopback and linklocal 2018-12-11 21:01:51 -08:00
Kubernetes Prow Robot e06c990971
Merge pull request #71806 from liggitt/automated-cherry-pick-of-#71755-upstream-release-1.13
Automated cherry pick of #71755: Allow kube-scheduler to tolerate cluster auth config lookup
2018-12-11 20:37:25 -08:00
Kubernetes Prow Robot 5bdc2077e8
Merge pull request #71723 from liggitt/automated-cherry-pick-of-#71713-upstream-release-1.13
Automated cherry pick of #71713, #71857: Plumb token and token file through rest.Config
2018-12-11 16:16:03 -08:00
Antoine Pelisse 4980403d4e diff: Make filename cross-platform compatible 2018-12-11 15:51:12 -08:00
Antoine Pelisse 934a62b8cb diff: Fix overlapping filenames
The filename can overlap when multiple resources have the same name (but
obviously are of a different type). Include the name of the type in the
file name to prevent the overlap.
2018-12-11 15:51:12 -08:00
Kubernetes Prow Robot aa27780442
Merge pull request #71916 from apelisse/automated-cherry-pick-of-#71854-upstream-release-1.13
Automated cherry pick of #71854: apply: fix detection of non-dry-run enabled servers
2018-12-11 13:46:48 -08:00
Kubernetes Prow Robot 83f920791c
Merge pull request #71931 from mlmhl/automated-cherry-pick-of-#71551-upstream-release-1.13
Automated cherry pick of #71551: activate unschedulable pods only if the node became more
2018-12-11 11:07:41 -08:00
Kubernetes Prow Robot 4be3fe4600
Merge pull request #71802 from soltysh/issue71772_1.13
Set delete propagation policy to background when removing jobs and its dependents
2018-12-11 11:07:30 -08:00
Kubernetes Prow Robot e19143de57
Merge pull request #71944 from andyzhangx/automated-cherry-pick-of-#71941-upstream-release-1.13
Automated cherry pick of #71941: add VMSize info in attach/detach azure disk
2018-12-11 04:16:39 -08:00
andyzhangx d5826fbe0a add VMSize info in attach/detach azure disk 2018-12-11 08:56:17 +00:00