Commit Graph

2776 Commits

Author SHA1 Message Date
ampsingram
d6ea2296e8 Fix comment in CloudConfig s/Name/Service 2019-01-23 10:30:19 -05:00
ampsingram
0dea245978 Change to CloudConfig methods for validation and Resolver fn get
Move to a separate section for service overrides in INI, populate a struct for each override
update-bazel, update-gofmt and verify-spelling run
2019-01-23 10:04:37 -05:00
Micah Hausler
d8c797f4b2 Added micahhausler as approver for AWS cloud provider 2019-01-22 15:01:11 -08:00
ampsingram
6f60d57dab Fail early, helps readability
responding to a comment in the PR
2019-01-16 18:47:09 -05:00
ampsingram
2a6ed9a698 Improvement suggested by PR comment
Fail early makes the code more readable
2019-01-16 18:18:16 -05:00
ampsingram
207a5a1267 Updates for PR comments 2019-01-16 18:12:49 -05:00
Humble Devassy Chirammal
6b8c2e07fa Use better variable names and remove unwanted code blocks. (#72847)
* Use better variable names and remove unwanted code blocks.

Signed-off-by: hchiramm <hchiramm@redhat.com>

* Simplify return from InstanceID func()

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-14 13:05:03 -08:00
Kubernetes Prow Robot
5d743157b6 Merge pull request #72562 from andrewsykim/68234
link to out-of-tree cloud provider enhancement issues in cloud provider README
2019-01-08 13:41:52 -08:00
Pengfei Ni
654ab75bec Increase default maximumLoadBalancerRuleCount to 250 2019-01-07 13:08:18 +08:00
Roman Krasavtsev
18938acdff fix typo 2019-01-04 21:32:21 +01:00
andrewsykim
843a2ba1fd link to out-of-tree cloud provider enhancement issues in cloud provider README 2019-01-04 02:02:32 -05:00
Andrew Garrett
72895a84a9 PR feedback - do not change protocol for externalTrafficPolicy = Local 2019-01-03 17:55:36 +00:00
Kubernetes Prow Robot
bfa5876311 Merge pull request #72383 from cheftako/owners
Adding cheftako to reviewers
2019-01-03 09:18:32 -08:00
Johannes Würbach
5e6d865794 AWS NLB: Support cross-zone load balancing annotation
AWS Network Load Balancer recently got support for cross-zone load balancing.

Use the existing `service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled`
annotation to configure it.
2019-01-02 20:38:59 +01:00
Walter Fender
97426ce7a5 Adding cheftako to reviewers
Also adding as an owners to pkg/cloudprovider.
2018-12-27 15:25:20 -08:00
Kubernetes Prow Robot
870c050727 Merge pull request #72219 from micahhausler/aws-user-agent
Added kubernetes version to user-agent for AWS SDK calls
2018-12-21 03:50:38 -08:00
Micah Hausler
949d5f97c4 Added kubernetes version to user-agent for AWS SDK calls 2018-12-20 21:04:44 -08:00
Kubernetes Prow Robot
e1552d8ef9 Merge pull request #70866 from feiskyer/backoff
Reduce Azure API calls by replacing the current backoff retry with SDK's backoff
2018-12-20 19:24:14 -08:00
ampsingram
86a8ede789 Add AWS Custom Endpoint capability #70588
Solves "Allow to override default AWS endpoint #70588"

Add several new properties to AWS CloudConfig to support custom endpoints.
Initialize/Parse on aws.go init() method which gets called when aws is loaded.
Allows overridden endpoints per servce and region. This allows functionality on air gapped networks.
This change is benign if services are not overridden in CloudConfig
2018-12-20 09:42:01 -05:00
Kubernetes Prow Robot
00ca6939cb Merge pull request #72038 from bowei/change-gce-cloud-provider
Change gce cloud provider
2018-12-19 14:13:55 -08:00
Kubernetes Prow Robot
fccb19da9f Merge pull request #71616 from Huang-Wei/aks-param-typo
fix an param typo of AKS loadbalancer method
2018-12-19 00:52:03 -08:00
Bowei Du
6ef9105978 Update Bazel 2018-12-18 10:28:02 -08:00
Bowei Du
83ba05a002 Change to use vendored k8s-cloud-provider base 2018-12-18 10:26:46 -08:00
Bowei Du
7f8dae1abc Removing cloud directory 2018-12-18 10:26:46 -08:00
andyzhangx
c12e82feb3 fix race condition when attach azure disk in vmss
fix gofmt issue
2018-12-17 03:16:33 +00:00
andyzhangx
7f3a66efb6 add VMSize info in attach/detach azure disk 2018-12-11 08:33:38 +00:00
Pengfei Ni
e5f767d66b Revert "Collapse not shared NSG rules with multiple source ranges" 2018-12-10 14:10:03 +08:00
Pengfei Ni
8e9af79030 Fix Azure node's internal IP address
Only use the first IP address got from instance metadata. This is
because Azure CNI would setup a list of IP addresses in instance metata,
while only the first one is the Node's IP.
2018-12-05 15:02:12 +08:00
Kubernetes Prow Robot
7b16fa9c26 Merge pull request #71333 from cheftako/fakecp
Fixing address locking in CP fake.
2018-12-04 18:24:59 -08:00
Kubernetes Prow Robot
a605988d5d Merge pull request #71597 from marc-sensenich/gh-71595/fix-cloud-controller-manager-azure-delete-nodes
Add check for cloudProvider.InstanceNotFound in Azure VMSS Instance gets
2018-12-04 05:25:59 -08:00
Kubernetes Prow Robot
85b0f58378 Merge pull request #71691 from andyzhangx/make-func-public
make GetStorageAccesskey func public
2018-12-04 04:12:30 -08:00
Kubernetes Prow Robot
d193fbe45c Merge pull request #71484 from ritazh/nsg-srcrange-collapse
Collapse not shared NSG rules with multiple source ranges
2018-12-04 02:54:24 -08:00
andyzhangx
14ad73eaa8 make GetStorageAccesskey public as a lib 2018-12-04 07:02:50 +00:00
Pengfei Ni
3ef7ef8c6e Use refactored backoffs in other places 2018-12-04 11:23:01 +08:00
Pengfei Ni
994a2cc4cd Refactor Azure backoff to support backoff modes 2018-12-04 11:23:01 +08:00
Pengfei Ni
d5c3a959f4 Add new Azure cloud provider option CloudProviderBackoffMode 2018-12-04 11:22:58 +08:00
Rita Zhang
61fbba74e5 Collapse source range in nsg 2018-12-03 08:39:46 +00:00
Kubernetes Prow Robot
e056703ea7 Merge pull request #71547 from andrewsykim/check-provider-implements-interface
compile check to ensure cloud providers implement cloud interfaces
2018-11-30 23:40:18 -08:00
Wei Huang
f3dc0bc307 fix an param typo of AKS loadbalancer method 2018-11-30 12:18:45 -08:00
andrewsykim
4b0f2ab442 compile check to ensure cloud providers implement cloud interfaces 2018-11-30 10:33:34 -05:00
Marc Sensenich
884b21f352 Add additional err check for cloudProvider.InstanceNotFound error 2018-11-30 13:00:59 +00:00
k8s-ci-robot
2fd1949b7f Merge pull request #71294 from Chenditang/verify-golint
Fix golint verify errors.
2018-11-29 21:45:02 -08:00
k8s-ci-robot
d2ca5194ae Merge pull request #70432 from mvladev/fix-cloud-provider-aws
fix aws provider to handle only EBS volumes
2018-11-29 00:47:55 -08:00
k8s-ci-robot
69bab0de51 Merge pull request #68422 from kellycampbell/fix-nlb-secgroups
Fix AWS NLB security group updates
2018-11-28 21:44:48 -08:00
k8s-ci-robot
7a958cf9e9 Merge pull request #68402 from saravanan30erd/cloudprovider-ovirt
Fix golint failures - pkg/cloudprovider/providers/ovirt
2018-11-28 21:44:38 -08:00
andyzhangx
cd2930258c fix detch azure disk issue by clean vm cache 2018-11-28 06:25:09 +00:00
andyzhangx
7b14a5a2a0 should return error when attach/detach failed 2018-11-23 12:42:13 +00:00
Walter Fender
a49a4b9523 Fixing address locking in CP fake.
Follow on to https://github.com/kubernetes/kubernetes/pull/65226.
2018-11-21 17:17:59 -08:00
Andrew Garrett
7a8357554e Merge branch 'master' into ssl-healthchecks 2018-11-21 16:33:33 -08:00
chendt.fnst
80de428f49 Fix golint verify errors.
**What type of PR is this?**
/kind cleanup

**What this PR does / why we need it**:
$ hack/verify-golint.sh
Errors from golint:
pkg/cloudprovider/providers/aws/aws_fakes.go:357:9: if block ends with a return statement, so drop this else and outdent its block
pkg/volume/util/util.go:204:9: if block ends with a return statement, so drop this else and outdent its block

**Which issue(s) this PR fixes** *(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged)*:

**Special notes for your reviewer**:

**Release note**:
```
NONE
```
2018-11-21 09:11:20 +08:00