Commit Graph

33755 Commits (82d0291991374ba7f199441986f02981afdbd57e)

Author SHA1 Message Date
Pengfei Ni 62b10bfe50 Fix the public IP getting issues for VMSS nodes 2019-08-07 14:49:33 +08:00
Kubernetes Prow Robot 258aa3f6cd
Merge pull request #80344 from gaorong/automated-cherry-pick-of-#80173-upstream-release-1.14
Automated cherry pick of #80173: make node lease renew interval more heuristic
2019-08-06 21:08:51 -07:00
Kubernetes Prow Robot 2b5663c150
Merge pull request #80325 from davidz627/automated-cherry-pick-of-#80191-upstream-release-1.14
Automated cherry pick of #80191: Add passthrough for MountOptions for NodeStageVolume for
2019-08-06 18:57:27 -07:00
Kubernetes Prow Robot 9821e16f1a
Merge pull request #80196 from cwdsuzhou/automated-cherry-pick-of-#79920-upstream-release-1.14
Automated cherry pick of #79920: Bugfix: csi raw block that does not need attach mounted failed
2019-08-06 18:57:19 -07:00
Kubernetes Prow Robot ac21735ad7
Merge pull request #80056 from sbangari/automated-cherry-pick-of-#78874-upstream-release-1.14
Automated cherry pick of #78874: Fix the creation of load balancer policy for the NodeIp when
2019-08-06 18:57:11 -07:00
Kubernetes Prow Robot 8c595af962
Merge pull request #79760 from andyzhangx/automated-cherry-pick-of-#79529-upstream-release-1.14
Automated cherry pick of #79529: fix: change timeout value in csi plugin
2019-08-06 18:57:02 -07:00
Kubernetes Prow Robot ccdea031a6
Merge pull request #79694 from tiffanyfay/automated-cherry-pick-of-#75585-#75587-upstream-release-1.14
Automated cherry pick of #75585: Updated client-go expiration cache to take in expiration #75587: Remove aws cred provider dep on cloud provider
2019-08-06 18:56:54 -07:00
Hantao (Will) Wang bd7d09e818 add unit tests for attacher DisksAreAttached and BulkDisksAreAttached 2019-08-06 12:05:33 -07:00
Hantao (Will) Wang 08ed1c24ce implement functionality to return all found instances 2019-08-06 12:05:33 -07:00
Hantao (Will) Wang 08a0cdb45f move getInstancesByName logic to helper function 2019-08-06 12:05:32 -07:00
Hantao (Will) Wang e99b78de3b add ability for gce to bulk verify attached disks 2019-08-06 12:05:31 -07:00
David Zhu 49e72d6049 Reduce GCE PD Attach Limits by 1 because Node Boot Disk counts as 1 attached disk 2019-08-02 13:53:16 -07:00
Tim Allclair f4f139119b refactors to kubernetes cp command 2019-08-01 10:51:57 -07:00
M00nF1sh 84d99afa5b refactors to kubernetes CP command 2019-08-01 10:51:02 -07:00
Rong Gao 77a13eda99 make node lease renew interval more heuristic 2019-07-19 11:33:36 +08:00
David Zhu 68ece40f65 Add passthrough for MountOptions for NodeStageVolume for CSI 2019-07-18 14:57:00 -07:00
caiweidong df04523a8d Bugfix: csi raw block that does not need attach mounted failed
Add unit test

fix verify-test-featurefates failed
2019-07-16 11:33:32 +08:00
Sravanth Bangari c5829cd5a4 Fix the creation of load balancer policy for the NodeIp when NodePort specified is same as service Port 2019-07-11 19:45:58 +00:00
andyzhangx 54eccec000 fix: change timeout value in csi plugin 2019-07-04 03:42:01 +00:00
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
tiffany jernigan 88989d25e2 Update aws provider build files 2019-07-02 21:18:14 -07:00
tiffany jernigan f9bd50bd81 Refactors and fixes bugs in AWS credentialprovider
Adds caching per registry. Fixes caching of invalid ECR tokens.
2019-07-02 21:18:14 -07:00
tiffany jernigan d03853e2b9 Credential provider Provide takes image (clouds) 2019-07-02 21:18:14 -07:00
tiffany jernigan 5224b94282 Credential provider Provide takes image (general) 2019-07-02 21:18:13 -07:00
tiffany jernigan 3211bdad3d Remove aws cred provider dep on cloud provider 2019-07-02 21:18:13 -07: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
Kubernetes Prow Robot ebf834b434
Merge pull request #77042 from andyzhangx/automated-cherry-pick-of-#76988-upstream-release-1.14
Automated cherry pick of #76988: add shareName param in azure file storage class
2019-05-02 15:54:18 -07:00
Kubernetes Prow Robot 318c9d47e7
Merge pull request #76992 from feiskyer/cherry-pick-76656-to-1.14
Automated cherry pick of #76656: Switch to instance-level update APIs for Azure VMSS loadbalancer operations
2019-05-02 14:00:29 -07:00
Kubernetes Prow Robot 151efe1ca5
Merge pull request #77260 from soltysh/automated-cherry-pick-of-#76788-upstream-release-1.14
Automated cherry pick of #76788: Test kubectl cp escape
2019-05-02 11:58:29 -07:00
Kubernetes Prow Robot 8ffc4b2b97
Merge pull request #76222 from msau42/automated-cherry-pick-of-#75750-upstream-release-1.14
Automated cherry pick of #75750: Improve volume operation metrics
2019-05-02 11:58:20 -07:00
Pengfei Ni f856655b32 Fix issues because of rebase 2019-05-02 08:30:30 +08:00
Pengfei Ni d32c2d5829 Add unit tests 2019-05-02 08:17:25 +08:00
Pengfei Ni 250745452e Cleanup codes that not required any more 2019-05-02 08:17:25 +08:00
Pengfei Ni cd515c85a3 Replace vmss update API with instance-level update API
commit
2019-05-02 08:17:25 +08:00
Pengfei Ni 64accfc925 Upgrade compute API to version 2019-03-01 2019-05-02 08:17:25 +08:00
Tim Allclair 5769863fa0 Use consistent imageRef during container startup 2019-05-01 13:47:12 -07:00
Jing Xu b01e2a387d Update the dynamic volume limit in GCE PD
Currently GCE PD support 128 maximum disks attached to a node for all
machines types except shared-core. This PR updates the limit number to
date.

Change-Id: Id9dfdbd24763b6b4138935842c246b1803838b78
2019-05-01 10:38:14 -07:00
Kubernetes Prow Robot ba432573fc
Merge pull request #76886 from andyzhangx/automated-cherry-pick-of-#76573-upstream-release-1.14
Automated cherry pick of #76573: refactor detach azure disk retry operation
2019-04-30 17:27:09 -07:00
Kubernetes Prow Robot f747e39e51
Merge pull request #76753 from feiskyer/automated-cherry-pick-of-#76691-upstream-release-1.14
Automated cherry pick of #76691: Fix Azure SLB support for multiple backend pools
2019-04-30 17:26:56 -07:00
Kubernetes Prow Robot d88be4d966
Merge pull request #77199 from andyzhangx/automated-cherry-pick-of-#77187-upstream-release-1.14
Automated cherry pick of #77187: fix disk list corruption issue
2019-04-30 15:39:09 -07:00
Kubernetes Prow Robot 8c00490d9b
Merge pull request #76223 from frankgreco/automated-cherry-pick-of-#76216-upstream-release-1.14
Automated cherry pick of #76216: ensuring that logic is checking for differences in listener
2019-04-30 15:38:56 -07:00
Maciej Szulik 8db8423eea Properly handle links in tar 2019-04-30 13:58:27 +02:00
Tim Allclair fe44df8bd4 Test kubectl cp escape 2019-04-30 13:58:27 +02:00
Kubernetes Prow Robot c72a5b2c10
Merge pull request #75719 from DataDog/automated-cherry-pick-of-#75295-upstream-release-1.14
Automated cherry pick of #75295 upstream release 1.14
2019-04-30 00:05:36 -07:00
andyzhangx c01eca5802 fix disk list corruption issue 2019-04-29 06:55:25 +00:00
andyzhangx 3e1553ee6c add shareName param in azure file storage class
skip create azure file if it exists
2019-04-25 02:50:10 +00:00
Jing Xu 31a70b8598 Fix race condition between actual and desired state in kublet volume manager
This PR fixes the issue #75345. This fix modified the checking volume in
actual state when validating whether volume can be removed from desired state or not. Only if volume status is already mounted in actual state, it can be removed from desired state.
For the case of mounting fails always, it can still work because the
check also validate whether pod still exist in pod manager. In case of
mount fails, pod should be able to removed from pod manager so that
volume can also be removed from desired state.
2019-04-23 19:22:59 -07:00
Harsh Desai 9141812ee6 Fix concurrent map access in Portworx create volume call
Fixes #76340

Signed-off-by: Harsh Desai <harsh@portworx.com>
2019-04-23 12:15:48 -07:00
andyzhangx 77d1d3f3bb move disk lock process to azure cloud provider
fix comments

fix import keymux check error

add unit test for attach/detach disk funcs
2019-04-22 05:28:27 +00:00
andyzhangx 5376b645e3 refactor detach azure disk retry operation 2019-04-22 05:28:27 +00:00
Pengfei Ni 9f8ceb05ed Fix Azure SLB support for multiple backend pools
Azure VM and vmssVM support multiple backend pools for the same SLB, but
not for different LBs.
2019-04-18 16:12:50 +08:00
Igor German dc734edb3c proxy: Take into account exclude CIDRs while deleting legacy real servers 2019-04-11 18:13:13 +03:00