Commit Graph

2911 Commits

Author SHA1 Message Date
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
k8s-ci-robot
514a5b8f16 Merge pull request #70878 from jingxu97/Nov/repd
Remove useBetaAPI option from getReplicaZoneURI
2018-11-20 11:40:51 -08:00
Leah Hanson
255f056614 Support retrieving the VM UUID on Windows
Signed-off-by: Ben Moss <bmoss@pivotal.io>
2018-11-17 13:41:48 -05:00
saravanan30erd
14a9fa47c6 fix golint issues in ovirt 2018-11-12 16:04:26 +04:00
Fulton Byrne
996c37c72b Unit test for aws_lb security group filtering
kubernetes/kubernetes#60825
2018-11-11 06:42:13 -05:00
Kelly Campbell
f052146a96 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
2018-11-11 06:42:13 -05:00
Davanum Srinivas
954996e231 Move from glog to klog
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
  * github.com/kubernetes/repo-infra
  * k8s.io/gengo/
  * k8s.io/kube-openapi/
  * github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods

Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
Jing Xu
c5b5f64f3b Remove useBetaAPI option from getReplicaZoneURI
This is a follow up PR for #70716. Remove useBetaAPI option since
Regional PD is already GA.
2018-11-09 09:45:43 -08:00
k8s-ci-robot
8c2509de5b Merge pull request #70716 from jingxu97/Nov/versionupdate
Move Regional PD to GA
2018-11-08 23:45:45 -08:00
Jing Xu
af9921f583 Move Regional PD to GA
This PR fixes #59988.
2018-11-07 10:33:38 -08:00
Davanum Srinivas
43f523d405 Switch to sigs.k8s.io/yaml from ghodss/yaml
Change-Id: Ic72b5131bf441d159012d67a6a3d87088d0e6d31
2018-11-07 13:17:32 -05:00
k8s-ci-robot
0f3dff251e Merge pull request #70568 from andyzhangx/remove-retry-azuredisk
remove retry operation on attach/detach  azure disk
2018-11-02 21:28:31 -07:00
andyzhangx
8abadbe3a0 remove retry operation on attach/detach disk
fix logging

fix build failure
2018-11-02 08:47:49 +00:00
andyzhangx
1ee93b7de3 change UltraSSD default perf 2018-11-02 07:55:32 +00:00
k8s-ci-robot
45550cadbe Merge pull request #70477 from andyzhangx/azure-ultrassd-sdk
add azure UltraSSD disk support
2018-11-01 22:16:55 -07:00
k8s-ci-robot
4351cea80c Merge pull request #70046 from cheftako/lintCleanGce
Fixed lint errors for pkg/cloudprovider/providers/gce.
2018-11-01 13:44:06 -07:00
andyzhangx
f1bd292c76 add ultrassd support
update stagin Godeps.json

update godeps license

fix test failure

fix comments
2018-11-01 06:30:15 +00:00