Commit Graph

33681 Commits (e5eb6a21b13217d35878003b18bc5c25c8adbda8)

Author SHA1 Message Date
Kubernetes Prow Robot 9f1b2df355
Merge pull request #79571 from SataQiu/automated-cherry-pick-of-#79094-up-release-1.14
Automated cherry pick of #79094: fix kubelet can not delete orphaned pod directory when "/var/lib/kubelet/pods" directory symbolically links to another device's directory
2019-07-03 12:46:13 -07:00
Kubernetes Prow Robot 2d0cf16750
Merge pull request #79664 from odinuge/automated-cherry-pick-of-#79534-upstream-release-1.14
Automated cherry pick of #79534: Fix closing of dirs in doSafeMakeDir
2019-07-03 10:16:40 -07:00
Kubernetes Prow Robot 62a6ddbfd4
Merge pull request #79618 from wongma7/automated-cherry-pick-of-#79446-upstream-release-1.14
Automated cherry pick of #79446: Fix AWS DHCP option set domain names causing garbled
2019-07-03 10:16:32 -07:00
Joseph Burnett d881d48b2c There are various reasons that the HPA will decide not the change the
current scale. Two important ones are when missing metrics might
change the direction of scaling, and when the recommended scale is
within tolerance of the current scale.

The way that ReplicaCalculator signals it's desire to not change the
current scale is by returning the current scale. However the current
scale is from scale.Status.Replicas and can be larger than
scale.Spec.Replicas (e.g. during Deployment rollout with configured
surge). This causes a positive feedback loop because
scale.Status.Replicas is written back into scale.Spec.Replicas,
further increasing the current scale.

This PR fixes the feedback loop by plumbing the replica count from
spec through horizontal.go and replica_calculator.go so the calculator
can punt with the right value.
2019-07-03 10:35:42 +02:00
Odin Ugedal 5f7e540651
Fix closing of dirs in doSafeMakeDir
This fixes the issue where "childFD" from syscall.Openat is assigned to
a local variable inside the for loop, instead of the correct one in the
function scope. This results in that when trying to close the "childFD"
in the function scope, it will be equal to "-1", instead of the correct
value.
2019-07-02 18:25:15 +02:00
Matthew Wong 34170a18ae Fix AWS DHCP option set domain names causing garbled InternalDNS or Hostname addresses on Node 2019-07-01 12:49:20 -07:00
Rong Gao ea0007dd6d fix kubelet can not delete orphaned pod directory when the kubelet's root directory symbolically links to another device's directory 2019-06-30 13:22:05 +08:00
Kubernetes Prow Robot d5f2096f1a
Merge pull request #79519 from feiskyer/automated-cherry-pick-of-#79514-upstream-release-1.14
Automated cherry pick of #79514: Default resourceGroup should be used when value of annotation
2019-06-29 05:41:23 -07:00
Kubernetes Prow Robot 2fcb57ff05
Merge pull request #79338 from rafatio/automated-cherry-pick-of-#79073-upstream-release-1.14
Automated cherry pick of #79073: Ignore cgroup pid support if related feature gates are
2019-06-29 04:29:25 -07:00
Pengfei Ni 23a7bd5c99 Default resourceGroup should be used when value of annotation azure-load-balancer-resource-group is empty string 2019-06-28 17:18:10 +08:00
Yu-Ju Hong 7782a900f4 kubelet: retry pod sandbox creation when containers were never created
If kubelet never gets past sandbox creation (i.e., never attempted to
create containers for a pod), it should retry the sandbox creation on
failure, regardless of the restart policy of the pod.
2019-06-27 10:22:39 -07:00
rafatio ed402e3629 Ignore cgroup pid support if related feature gates are disabled 2019-06-24 10:53:32 -03:00
Kubernetes Prow Robot 6b360e905b
Merge pull request #79131 from andyzhangx/automated-cherry-pick-of-#75234-upstream-release-1.14
Automated cherry pick of #75234: fix flexvol stuck issue due to corrupted mnt point
2019-06-20 16:14:43 -07:00
Kubernetes Prow Robot 8daa63bd22
Merge pull request #78961 from subramanian-neelakantan/automated-cherry-pick-of-#75187-upstream-release-1.14
Automated cherry pick of #75187: Use any host that mounts the datastore to create Volume
2019-06-20 16:14:36 -07:00
Kubernetes Prow Robot 87de10ed40
Merge pull request #78905 from dougm/automated-cherry-pick-of-#78876-upstream-release-1.14
Automated cherry pick of #78876: vSphere: allow SAML token delegation
2019-06-20 14:31:11 -07:00
Kubernetes Prow Robot 2ff91b0885
Merge pull request #78878 from msau42/automated-cherry-pick-of-#75129-upstream-release-1.14
Automated cherry pick of #75129: Move CSIDriver Lister to the controller
2019-06-20 14:31:03 -07:00
Kubernetes Prow Robot 3df2c60c4d
Merge pull request #78790 from andyzhangx/automated-cherry-pick-of-#78700-upstream-release-1.14
Automated cherry pick of #78700: fix: update vm if detach a non-existing disk
2019-06-20 14:30:54 -07:00
Kubernetes Prow Robot 65de86e72f
Merge pull request #78602 from paulgmiller/release-1.14
cherry pick of #74027: proxy: add some useful metrics
2019-06-20 14:30:38 -07:00
Kubernetes Prow Robot cb7218fac5
Merge pull request #79101 from andrewsykim/automated-cherry-pick-of-#78999-origin-release-1.14
Automated cherry pick of #78999: ipvs: fix string check for IPVS protocol during graceful
2019-06-20 12:46:14 -07:00
Kubernetes Prow Robot 5098719581
Merge pull request #78883 from liggitt/procmount-1.14
1.14: Fix incorrect procMount defaulting
2019-06-20 12:46:02 -07:00
Kubernetes Prow Robot 40238163d1
Merge pull request #78665 from benmoss/automated-cherry-pick-of-#78594-upstream-release-1.14
Automated cherry pick of #78594: Fix memory leak from not closing hcs container handles
2019-06-19 03:34:33 -07:00
andyzhangx e7c82c0250 fix flexvol stuck issue due to corrupted mnt point
fix comments about PathExists

fix comments

revert change in PathExists func
2019-06-18 08:36:50 +00:00
Andrew Sy Kim a252fb9366 ipvs: fix string check for IPVS protocol during graceful termination
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-06-17 10:15:51 -04:00
Subramanian Neelakantan 11f8744560 Use any host that mounts the datastore to create Volume
Also, This change makes zone to work per datacenter and cleans up dummy vms.
There can be multiple datastores found for a given name. The datastore name is
unique only within a datacenter. So this commit returns a list of datastores
for a given datastore name in FindDatastoreByName() method. The calles are
responsible to handle or find the right datastore to use among those returned.
2019-06-13 14:47:31 +05:30
Doug MacEachern d3e7abab07 vSphere: allow SAML token delegation
Issue #77360
2019-06-11 08:40:34 -07:00
Jordan Liggitt 702f00c2af Fix incorrect procMount defaulting 2019-06-10 22:03:10 -04:00
Xing Yang 4e65976da4 Move CSIDriver Lister to the controller 2019-06-10 17:41:54 -07:00
Paul Miller 85bdd81662
picked up extra unnecessary dep in merge
at least verify build thinks its unnecessary
2019-06-10 08:36:18 -07:00
andyzhangx 04a3e29d7c fix: update vm if detach a non-existing disk
fix gofmt issue
2019-06-07 14:04:43 +00:00
Kubernetes Prow Robot 5e53fd6bc1
Merge pull request #78066 from feiskyer/az-network-2018-07-01-1.14
Automated cherry pick of #78012: Upgrade Azure network API version to 2018-07-01
2019-06-04 11:15:53 -07:00
Ben Moss b9ab369234 Fix memory leak from not closing hcs container handles 2019-06-03 15:00:16 -07:00
Kubernetes Prow Robot 051c16a005
Merge pull request #78567 from DataDog/automated-cherry-pick-of-#77802-upstream-release-1.14
Automated cherry pick of #77802 upstream release 1.14
2019-05-31 21:52:21 -07:00
Casey Callendrello c3da106f31 cherry pick of 017f57a, had to do a very simple merge of BUILD 2019-05-31 14:12:36 -07:00
Kubernetes Prow Robot 02026415cd
Merge pull request #78316 from tallclair/automated-cherry-pick-of-#78261-upstream-release-1.14
Revert "Use consistent imageRef during container startup"
2019-05-31 01:42:29 -07:00
Laurent Bernaille a7a3c7d912
Disable graceful termination for udp 2019-05-31 10:18:49 +02:00
andyzhangx 74a785b925 fix azure retry issue when return 2XX with error
fix comments
2019-05-28 08:08:47 +00:00
Tim Allclair 6c1b3b4f62 Revert "Use consistent imageRef during container startup"
This reverts commit 26e3c8674e.
2019-05-24 13:24:57 -07:00
Kubernetes Prow Robot 4efb32be02
Merge pull request #77947 from tallclair/automated-cherry-pick-of-#77888-upstream-release-1.14
Automated cherrypick of #77888 upstream release 1.14
2019-05-21 11:32:33 -07:00
Kubernetes Prow Robot 098854ae8f
Merge pull request #77236 from apelisse/automated-cherry-pick-of-#76969-upstream-release-1.14
Automated cherry pick of #76969: Fix eviction dry-run
2019-05-21 11:32:15 -07:00
Pengfei Ni 95b2f6a501 Upgrade Azure network API version to 2018-07-01 2019-05-17 13:17:58 +00:00
Tim Allclair 1503be4569 Don't create a RuntimeClassManager without a KubeClient 2019-05-15 11:17:16 -07:00
andyzhangx 59a898670f fix incorrect prometheus metrics
fix left incorrect metrics
2019-05-14 07:54:16 +00:00
Antoine Pelisse c192ba4c1a Fix eviction dry-run 2019-05-10 13:06:48 -07:00
Kubernetes Prow Robot 46d8155f3d
Merge pull request #77729 from yastij/automated-cherry-pick-of-#77656-upstream-release-1.14
Automated cherry pick of #77656: check if Memory is not nil for container stats
2019-05-10 12:44:31 -07:00
Yassine TIJANI 433c2f5f01 check if Memory is not nil for container stats 2019-05-10 10:31:31 +02:00
Lantao Liu 4ecab5ea4a Remove terminated pod from summary api.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-05-08 23:24:53 -07:00
Kubernetes Prow Robot 3a208b6893
Merge pull request #76960 from harsh-px/automated-cherry-pick-of-#76341-upstream-release-1.14
Automated cherry pick of #76341: Fix concurrent map access in Portworx create volume call
2019-05-08 04:34:36 -07:00
Kubernetes Prow Robot 97ef497a85
Merge pull request #77320 from tallclair/automated-cherry-pick-of-#76665-upstream-release-1.14
Automated cherry pick of #76665 upstream release 1.14
2019-05-06 14:27:39 -07:00
Kubernetes Prow Robot 049611bcf3
Merge pull request #77311 from jingxu97/automated-cherry-pick-of-#76977-upstream-release-1.14
Update the dynamic volume limit in GCE PD
2019-05-06 12:55:52 -07:00
Kubernetes Prow Robot 31c8497d61
Merge pull request #76980 from jingxu97/automated-cherry-pick-of-#75458-upstream-release-1.14
Fix race condition between actual and desired state in kublet volume manager
2019-05-06 12:55:39 -07:00