Commit Graph

2811 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
2f930306a4
Merge pull request #74936 from rjaini/rj_1.14
Adding a check to make sure Metadata is read only if flag value is true.
2019-03-07 01:07:13 -08:00
Kubernetes Prow Robot
752d18d2b0
Merge pull request #74510 from SataQiu/fix-golint-2019022502
Fix some golint failures for pkg/kubelet/apis/...
2019-03-06 17:59:25 -08:00
Rohit Jaini
e0f51bcc2e Adding a check to make sure UseInstanceMetadata flag is true to get data from metadata. 2019-03-06 09:31:33 -08:00
Cheng Pan
001d9c694e Add CSI migration logic for EBS Volume ID format 2019-03-05 23:11:43 +00:00
Pengfei Ni
1d61d8d4a4 Convert resource group name in Azure provider ID to lower cases 2019-03-05 11:22:17 +08:00
andyzhangx
38f0908597 make funcs in azure cloud provider as public 2019-03-03 01:58:59 +00:00
andyzhangx
199ef0fba9 add more logging in azure disk attach/detach 2019-02-26 13:37:20 +00:00
Kubernetes Prow Robot
d5007409f7
Merge pull request #74398 from andyzhangx/detach-azuredisk-retry
add retry for detach azure disk
2019-02-26 00:35:32 -08:00
Kubernetes Prow Robot
6c5810c495
Merge pull request #74542 from gnufied/make-cinder-limits-via-openshift-conf
Allow cinder volume limits to be configurable
2019-02-25 21:48:52 -08:00
Hemant Kumar
7a46b30a7a Allow cinder volume limits to be configurable 2019-02-25 16:09:24 -05:00
SataQiu
7181c44230 fix some golint failures for pkg/cloudprovider/providers/vsphere/vclib and pkg/kubelet/apis/... 2019-02-25 18:01:41 +08:00
Pengfei Ni
8d0c5d9727 Fix subnet annotation checking for Azure internal loadbalancer 2019-02-25 14:48:53 +08:00
Mike Danese
47043bcac1 enforce that cloud providers are only linked in main or app packages 2019-02-22 11:56:39 -08:00
Kubernetes Prow Robot
8d6f20ea43
Merge pull request #74191 from andyzhangx/get-account-timeout
fix get azure accounts timeout issue when there is no out-bound IP
2019-02-22 05:22:45 -08:00
Kubernetes Prow Robot
eae5b730c8
Merge pull request #74200 from andyzhangx/lb-mixed-proto
fix mixed protocol issue for azure load balancer
2019-02-22 04:06:15 -08:00
andyzhangx
8c53db0941 add retry for detach azure disk
add more logging info in detach disk
2019-02-22 07:44:59 +00:00
andyzhangx
8cd09bb143 add timeout in GetVolumeLimits operation
add timeout for getAllStorageAccounts
2019-02-22 07:22:05 +00:00
andyzhangx
156602408a remove get azure accounts in the init process
set timeout for get azure account operation

use const for timeout value

remove get azure accounts in the init process

add lock for account init
2019-02-20 13:18:34 +00:00
Fabio Rapposelli
eb8f3240b0
do not return error on invalid mac address in vsphere cloud provider 2019-02-20 14:12:05 +01:00
skarthiksrinivas
1e5dc21c38 Fix error handling logic in vsphere volume provisioning 2019-02-19 02:54:20 -08:00
Kubernetes Prow Robot
de2ceac50d
Merge pull request #74124 from truongnh1992/fix-typo
Correcting error on source codes
2019-02-18 20:16:46 -08:00
Kubernetes Prow Robot
fcaa726e60
Merge pull request #74080 from dims/ensure-prometheus-metrics-are-not-registered-twice
Ensure prometheus metrics are not registered twice
2019-02-18 11:59:30 -08:00
andyzhangx
4e4684662d add mixed protocol support for azure load balancer 2019-02-18 08:29:37 +00:00
skarthiksrinivas
a309d8a6c1 Provision vsphere volume honoring zones 2019-02-17 21:37:00 -08:00
andyzhangx
3b37dc566e add azure disk snapshot client in cloud provider 2019-02-16 13:35:39 +00:00
Kubernetes Prow Robot
e4db1471f1
Merge pull request #71147 from pivotal-k8s/vsphere-windows-uuid
Support retrieving the VM UUID on Windows
2019-02-15 21:49:50 -08:00
Kubernetes Prow Robot
e691e5f2d9
Merge pull request #74082 from pivotal-k8s/loopback_check
Fix testing if an interface is the loopback
2019-02-15 20:35:41 -08:00
Kubernetes Prow Robot
72b0971f3b
Merge pull request #72687 from subramanian-neelakantan/vsphere_volume_zone
Applies zone labels to newly created vsphere volumes
2019-02-15 15:20:35 -08:00
Ben Moss
70923dd9db Fix testing if an interface is the loopback
It's not guaranteed that the loopback interface only has the loopback
IP, in our environments our loopback interface is also assigned a 169
address as well.
2019-02-15 16:40:34 -05:00
Ben Moss
34ac4d9ee9 Update deprecated links 2019-02-15 09:13:07 -05:00
Nguyen Hai Truong
34961dc16c trivial fix typo: resouce -> resource
Although it is spelling mistakes, it might make an affects while reading.

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-15 02:05:28 -08:00
Subramanian Neelakantan
ba9a9cf7c3 Applies zone labels to newly created vsphere volumes 2019-02-15 15:06:01 +05:30
Davanum Srinivas
8fa332cce3
Ensure prometheus metrics are not registered twice
Change-Id: I0f05fae65689b1e22c18d2c46dc5125780e81024
2019-02-14 09:01:14 -05:00
Andrew Kim
a82481ff21 update import restrictions for pkg/cloudprovider/providers 2019-02-13 21:46:44 -05:00
Kubernetes Prow Robot
2aedcbc7ca
Merge pull request #73761 from andrewsykim/remove-cloud-provider-volume-deps
remove cloud provider dependencies to pkg/volume
2019-02-12 18:45:24 -08:00
Davanum Srinivas
9870b74f90
cleanup .import-restrictions for cloud provider
Change-Id: I8f9b8a28474d12d6eb74ecef85a988dd3f1f851e
2019-02-10 22:56:53 -05:00
Andrew Kim
a62ee8b0a9 clean up volume rounding functions and move to k8s.io/cloud-provider/volume 2019-02-09 01:16:55 -05:00
Andrew Kim
ca6a051b00 remove cloud provider dependencies to pkg/volume
Co-authored-by: Weibin Lin <linweibin1@huawei.com>
2019-02-09 01:16:55 -05:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Kubernetes Prow Robot
eac19a3ab9
Merge pull request #73616 from dims/move-part-of-kubelet-apis-well-known-lables
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
2019-02-07 19:44:34 -08:00
Kubernetes Prow Robot
af17925f68
Merge pull request #73594 from masterzen/bugfix/73479-nlb-target-groups-tags
Fix #73479 AWS NLB target groups missing tags
2019-02-07 17:12:10 -08:00
Brice Figureau
bbee2da7f3 Fix #73479 AWS NLB target groups missing tags
`elbv2.AddTags` doesn't seem to support assigning the same set of
tags to multiple resources at once leading to the following error:
  Error adding tags after modifying load balancer targets:
  "ValidationError: Only one resource can be tagged at a time"

This can happen when using AWS NLB with multiple listeners pointing
to different node ports.

When k8s creates a NLB it creates a target group per listener along
with installing security group ingress rules allowing the traffic to
reach the k8s nodes.

Unfortunately if those target groups are not tagged, k8s will not
manage them, thinking it is not the owner.

This small changes assigns tags one resource at a time instead of
batching them as before.

Signed-off-by: Brice Figureau <brice@daysofwonder.com>
2019-02-07 19:43:46 +01:00
Kubernetes Prow Robot
98de0729cf
Merge pull request #73770 from M00nF1sh/master
support multiple cidr vpc for nlb health check
2019-02-06 12:06:32 -08:00
Kubernetes Prow Robot
7788606ec6
Merge pull request #73721 from frapposelli/fix-vsphere-ip-patch
Fix MAC filtering in vSphere cloud provider
2019-02-05 20:16:16 -08:00
M00nF1sh
416a98e030 support multiple cidr vpc for nlb health check 2019-02-05 17:31:16 -08:00
Fabio Rapposelli
dbeb5f02b5
fix mac filtering in vsphere cloud provider 2019-02-05 23:44:17 +01:00
Davanum Srinivas
6e954322b3
Fix BUILD files
Change-Id: Ie36cde9511a3123ae8f68449bcdee08a9b78cfd2
2019-02-05 13:40:29 -05:00
Davanum Srinivas
b975573385
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
Co-Authored-By: Weibin Lin <linweibin1@huawei.com>

Change-Id: I163b2f2833e6b8767f72e2c815dcacd0f4e504ea
2019-02-05 13:39:07 -05:00
Andrew Kim
da22fcaac0 remove cloud provider dependencies to pkg/api/v1/service 2019-02-04 18:25:56 -05:00
Roy Lenferink
b43c04452f Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00