Commit Graph

32370 Commits (c47c6432f582c790d2f6eefc647d21b8c9642c5f)

Author SHA1 Message Date
Darren Shepherd 20baab69dc Remove coordination/v1beta1 2019-02-22 08:57:02 -07:00
Darren Shepherd 7da69496e7 Delete bootstrap controller 2019-02-22 08:57:02 -07:00
Darren Shepherd b406236862 Delete route controller 2019-02-22 08:57:02 -07:00
Darren Shepherd 7b6a5abe41 Remove settings 2019-02-22 08:57:02 -07:00
Darren Shepherd 4f0677b25b Remove storage v1alpha1 2019-02-22 08:57:02 -07:00
Darren Shepherd 2267a1379e Remove rbac v1alpha1 2019-02-22 08:57:02 -07:00
Darren Shepherd 00dc5e75f5 Remove imagepolicy 2019-02-22 08:57:02 -07:00
Darren Shepherd 6c99e6b456 Remove events 2019-02-22 08:57:02 -07:00
Darren Shepherd ed63ae8f37 Remove authorization/v1beta1 2019-02-22 08:57:02 -07:00
Darren Shepherd 86bf15b811 Remove authentication/v1beta1 2019-02-22 08:57:02 -07:00
Darren Shepherd bf26b0f838 Remove admissionregistration/v1alpha1 2019-02-22 08:57:02 -07:00
Kubernetes Prow Robot 323d17cb21
Merge pull request #72958 from mvladev/automated-cherry-pick-of-#71911-upstream-release-1.13
Automated cherry pick of #71911: Only handle addresses of the own ip family
2019-01-29 20:57:00 -08:00
Kubernetes Prow Robot 0aa225f9b6
Merge pull request #73454 from denkensk/automated-cherry-pick-of-#72558-upstream-release-1.13
Automated cherry pick of #72558: add goroutine to move unschedulablepods to activeq regularly 1.13
2019-01-29 17:50:28 -08:00
wangqingcan 06d31c3bd4 add goroutine to move unschedulablepods to activeq regularly 2019-01-30 04:58:52 +08:00
Bobby (Babak) Salamat 2239816e2f Autogenerated files 2019-01-24 18:07:48 -08:00
Bobby (Babak) Salamat a0932c3334 Add a default admission controller to taint new nodes on creation. 2019-01-24 18:07:48 -08:00
Kubernetes Prow Robot 328d3367d1
Merge pull request #72995 from bsalamat/automated-cherry-pick-of-#72895-upstream-release-1.13
Automated cherry pick of #72895 upstream release 1.13
2019-01-18 18:21:19 -08:00
Bobby (Babak) Salamat 49ab1ee6bd Fix and improve preemption test to work with the new logic 2019-01-16 14:56:45 -08:00
Bobby (Babak) Salamat af0097192f Do not snapshot scheduler cache before starting preemption 2019-01-16 14:56:45 -08:00
Fulton Byrne ac50f7b37e Unit test for aws_lb security group filtering
kubernetes/kubernetes#60825
2019-01-16 11:17:21 -08:00
Kelly Campbell 8d15f6de83 Fix AWS NLB security group updates
This corrects a problem where valid security group ports were removed
unintentionally when updating a service or when node changes occur.

Fixes #60825, #64148
2019-01-16 11:17:21 -08:00
Lars Ekman deafffba7d
Updated and new tests for ipv4/ipv6 address mix 2019-01-16 11:04:31 +02:00
Lars Ekman 15631938e4
Only handle addresses of the own ip family 2019-01-16 11:04:26 +02:00
Kubernetes Prow Robot f5d6de398b
Merge pull request #72837 from liggitt/automated-cherry-pick-of-#72825-upstream-release-1.13
Automated cherry pick of #72825: Find current resourceVersion for waiting for
2019-01-15 09:52:54 -08:00
Kubernetes Prow Robot 2f7c607ea0
Merge pull request #72754 from bsalamat/automated-cherry-pick-of-#72619-upstream-release-1.13
Automated cherry-pick of #72619 into upstream release 1.13
2019-01-14 16:27:10 -08:00
Jordan Liggitt a0fa584f3e Find current resourceVersion for waiting for deletion/conditions 2019-01-11 16:36:35 -05: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 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 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
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 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
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
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
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
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
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
Laurent Bernaille caec159cb0 New sysctls to improve pod termination 2018-12-17 01:54:15 -08: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
Micah Hausler f377d6e441 Disable proxy to loopback and linklocal 2018-12-11 21:01:51 -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
andyzhangx d5826fbe0a add VMSize info in attach/detach azure disk 2018-12-11 08:56:17 +00:00
mlmhl 27fcc2fc34 activate unschedulable pods only if the node became more schedulable 2018-12-11 11:09:14 +08:00
Kubernetes Prow Robot 5bcfca321f
Merge pull request #71881 from DataDog/automated-cherry-pick-of-#71515-upstream-release-1.13
Automated cherry pick of #71515 upstream release 1.13
2018-12-10 11:45:09 -08:00
Antoine Pelisse c7ba05ea47 apply: fix detection of non-dry-run enabled servers
Apply only checks that the server supports dry-run in the create path,
not the update path, which is pretty bad.
2018-12-10 10:28:10 -08:00
Kubernetes Prow Robot f61a8dd952
Merge pull request #71586 from harsh-px/automated-cherry-pick-of-#70392-upstream-release-1.13
Automated cherry pick of #70392: Lookup PX api port from k8s service
2018-12-10 07:44:33 -08:00
Kubernetes Prow Robot 190aab48c3
Merge pull request #71776 from feiskyer/automated-cherry-pick-of-#71736-upstream-release-1.13
Automated cherry pick of #71736: Fix Azure node's internal IP address
2018-12-10 05:03:58 -08:00
Laurent Bernaille de95511d4e Generalize handling of InactiveConn to TCP 2018-12-08 17:29:13 +01:00
Laurent Bernaille 437edead27 Handle UDP graceful termination
The current logic is to delete a RS if the number of active connections
is 0. This makes sense for TCP but for UDP the number of active
connections is always 0. This is an issue for DNS queries because the RS
will be deleted but the IPVS connection will remain until it expires
(5mn by default) and if there are a lot of DNS queries, the port will be
reused and queries blackholed. Of course for this to work properly the
service needs to continue to serve queries until the connections expire
(this works fine with the lameduck option of coredns).
2018-12-08 17:29:13 +01:00
Laurent Bernaille 0523ad6239 Fix logic of delete function 2018-12-08 17:29:13 +01:00
Laurent Bernaille 67fee7318d Display RS complete name in logs
Help distinguish UDP and TCP RS (useful for DNS which uses both)
2018-12-08 17:29:13 +01:00
Kubernetes Prow Robot 4abb4523e7
Merge pull request #71820 from liggitt/automated-cherry-pick-of-#71805-upstream-release-1.13
Automated cherry pick of #71805: Fix sort-by regression
2018-12-07 13:36:18 -08:00
Bobby (Babak) Salamat 612b3c9b95 Run old-style priority functions in parallel to the map-reduce style ones 2018-12-06 18:41:24 -08:00
Bobby (Babak) Salamat a2e74f2839 Avoid copying Extender struct while running priority functions 2018-12-06 18:41:24 -08:00
Bobby (Babak) Salamat 9ba01c45df Avoid copying PriorityConfig struct while running priority functions 2018-12-06 18:41:24 -08:00
Jordan Liggitt 2b13dd87af Fix sort-by regression 2018-12-06 16:58:19 -05:00