Commit Graph

72592 Commits (64213419ff74e5d17c400a4adf3b8b948fd10f99)

Author SHA1 Message Date
Anago GCB 80a06dd166 Kubernetes version v1.13.3-beta.0 openapi-spec file updates 2019-01-10 23:27:25 +00:00
Shingo Omura c67c6c86c0 change sort function of scheduling queue to avoid starvation when unschedulable pods are in the queue
When starvation heppens:
- a lot of unschedulable pods exists in the head of queue
- because condition.LastTransitionTime is updated only when condition.Status changed
- (this means that once a pod is marked unschedulable, the field never updated until the pod successfuly scheduled.)

What was changed:
- condition.LastProbeTime is updated everytime when pod is determined
unschedulable.
- changed sort function so to use LastProbeTime to avoid starvation
described above

Consideration:
- This changes increases k8s API server load because it updates Pod.status whenever scheduler decides it as
unschedulable.

Signed-off-by: Shingo Omura <everpeace@gmail.com>
2019-01-09 14:58:57 -08:00
mlmhl 6b2708830a use json format to get rbd image size 2019-01-09 20:08:41 +08:00
Kubernetes Prow Robot cff46ab41f
Merge pull request #72668 from ixdy/automated-cherry-pick-of-#72173-#72218-release-1.13
Automated cherry pick of #72173: make integration/verify script look for k8s under GOPATH #72218: Clean up artifacts variables in hack scripts
2019-01-08 23:56:01 -08:00
Kubernetes Prow Robot abc71e373f
Merge pull request #72672 from liggitt/automated-cherry-pick-of-#72437-upstream-release-1.13
Automated cherry pick of #72437: Shorten re-read period for token files to work with
2019-01-08 16:26:46 -08:00
Kubernetes Prow Robot 8550c6f7d7
Merge pull request #72496 from liggitt/automated-cherry-pick-of-#72495-upstream-release-1.13
Automated cherry pick of #72495: Bump dashboard to v1.10.1 for CVE-2018-18264
2019-01-08 06:08:18 -08:00
Kubernetes Prow Robot 34d4711f79
Merge pull request #72643 from krzysztof-jastrzebski/automated-cherry-pick-of-#72373-upstream-release-1.13
Automated cherry pick of #72373: Add request processing HPA into the queue after processing is
2019-01-08 01:20:23 -08:00
Kubernetes Prow Robot 536677693a
Merge pull request #72266 from cofyc/automated-cherry-pick-of-#71509-upstream-release-1.13
Automated cherry pick of #71509: Fix device mountable volume names in DSW
2019-01-07 23:39:35 -08:00
Kubernetes Prow Robot ded5d2c0d1
Merge pull request #72625 from andyzhangx/automated-cherry-pick-of-#72229-upstream-release-1.13
Automated cherry pick of #72229
2019-01-07 21:27:55 -08:00
Kubernetes Prow Robot 6e3bd9f542
Merge pull request #72590 from krzyzacy/automated-cherry-pick-of-#72255-upstream-release-1.13
Automated cherry pick of #72255: vendor golint
2019-01-07 21:27:44 -08:00
Jordan Liggitt cf878b9332 Shorten re-read period for token files to work with ProjectedTokenVolumeSource 2019-01-07 23:16:49 -05:00
Christoph Blecker d4ff786eb0 Clean up artifacts variables in hack scripts 2019-01-07 18:13:25 -08:00
Sen Lu 1d4a1ab175 make integration/verify script look for k8s under GOPATH 2019-01-07 18:13:24 -08:00
Kubernetes Prow Robot 3317460266
Merge pull request #72583 from msau42/automated-cherry-pick-of-#71804-upstream-release-1.13
Automated cherry pick of #71804: Move unmount volume util from pkg/volume/util to
2019-01-07 11:08:24 -08:00
Krzysztof Jastrzebski b800651b8b Add request processing HPA into the queue after processing is finished. This fixes a bug with skipping request inserted by resync because previous one hasn't processed yet. 2019-01-07 13:49:08 +01:00
andyzhangx 4eb58734e5 change azure disk host cache to ReadOnly by default
change cachingMode default value for azure disk PV

revert back to ReadWrite in azure disk PV setting
2019-01-07 07:26:33 +00:00
Kubernetes Prow Robot 0fdaf55edd
Merge pull request #72539 from bsalamat/automated-cherry-pick-of-#72259-upstream-release-1.13
Automated cherry pick of #72259 upstream release 1.13
2019-01-05 22:23:02 -08:00
Kubernetes Prow Robot 7178b2d9c0
Merge pull request #72345 from liggitt/automated-cherry-pick-of-#72344-upstream-release-1.13
Automated cherry pick of #72344: Fix create secret docker-registry compatibility
2019-01-05 19:46:30 -08:00
Kubernetes Prow Robot 78d168e117
Merge pull request #72428 from rkojedzinszky/release-1.13
storage_scheduling: retry operation as intended
2019-01-05 13:47:56 -08:00
Kubernetes Prow Robot d2285a6b6f
Merge pull request #72426 from DataDog/automated-cherry-pick-of-#72361-upstream-release-1.13
Automated cherry pick of #72361 upstream release 1.13
2019-01-05 13:47:50 -08:00
Kubernetes Prow Robot 0948f96ed2
Merge pull request #72409 from DataDog/automated-cherry-pick-of-#71895-#72106-upstream-release-1.13
Automated cherry pick of #71895 #72106 upstream release 1.13
2019-01-05 13:47:40 -08:00
Kubernetes Prow Robot 31c32d75a9
Merge pull request #72379 from msau42/automated-cherry-pick-of-#72291-upstream-release-1.13
Automated cherry pick of #72291: Check for volume-subpaths directory in orpahaned pod
2019-01-05 13:47:29 -08:00
Kubernetes Prow Robot 5f71661352
Merge pull request #72099 from DataDog/automated-cherry-pick-of-#71834-upstream-release-1.13
Automated cherry pick of #71834 upstream release 1.13
2019-01-05 10:54:45 -08:00
Kubernetes Prow Robot 48d45a52f2
Merge pull request #72305 from denkensk/automated-cherry-pick-of-#72081-upstream-release-1.13
Automated cherry pick of #72081: Make scheduleinternalcache.PodFilter as public
2019-01-05 09:44:15 -08:00
Kubernetes Prow Robot 2a934c4f9e
Merge pull request #72263 from andyzhangx/automated-cherry-pick-of-#71992-upstream-release-1.13
Automated cherry pick of #71992: fix race condition when attach azure disk in vmss
2019-01-05 09:44:09 -08:00
Kubernetes Prow Robot 793fde6d10
Merge pull request #72209 from tallclair/automated-cherry-pick-of-#72135-upstream-release-1.13
cherry pick #72135 to 1.13: Surface selected pod RuntimeHandler in Kubelet logs
2019-01-05 09:44:03 -08:00
Kubernetes Prow Robot 288a1e55b8
Merge pull request #72161 from saad-ali/automated-cherry-pick-of-#71581-upstream-release-1.13
Automated Cherry Pick of #71581 to release-1.13
2019-01-05 09:43:53 -08:00
Kubernetes Prow Robot 042f324c70
Merge pull request #72003 from dashpole/automated-cherry-pick-of-#59525-upstream-release-1.13
Automated cherry pick of #59525: fix node and kubelet start times
2019-01-04 21:39:14 -08:00
Kubernetes Prow Robot f2806ab3a3
Merge pull request #72009 from andyzhangx/automated-cherry-pick-of-#71990-upstream-release-1.13
Automated cherry pick of #71990: fix kubelet log flushing issue in azure disk
2019-01-04 16:48:50 -08:00
Sen Lu afc22337e6 always use golint from vendor 2019-01-04 14:19:00 -08:00
Sen Lu 63f0ef5aee install golint from vendor 2019-01-04 14:19:00 -08:00
Sen Lu f73bc5dea8 vendor golint 2019-01-04 14:19:00 -08:00
Michelle Au a576d2d319 Rename UnmountMountPoint to CleanupMountPoint 2019-01-04 13:45:07 -08:00
Michelle Au 61e359cab1 Move linux test utils to os-independent test file 2019-01-04 13:45:07 -08:00
Michelle Au f6c5817b8b Add e2e test for removing the subpath directory 2019-01-04 13:45:07 -08:00
Michelle Au a2306e8ca5 Add comments around use of PathExists 2019-01-04 13:45:07 -08:00
Michelle Au 2cba4e37c1 Add unit test for UnmountMountPoint 2019-01-04 13:45:07 -08:00
Michelle Au 99a3b4da55 Update doCleanSubpaths to use UnmountMountPoint 2019-01-04 13:45:07 -08:00
Michelle Au a2742e7688 Move unmount volume util from pkg/volume/util to pkg/util/mount 2019-01-04 13:45:07 -08:00
Kubernetes Prow Robot 4f7307a168
Merge pull request #72530 from tpepper/1.13_cloud-provider_headerfixup
update cloud provider boilerplate
2019-01-04 09:25:17 -08:00
Bobby (Babak) Salamat fc52960d2e autogenerated files 2019-01-03 14:25:17 -08:00
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