Commit Graph

215 Commits

Author SHA1 Message Date
yaron2
ebdb9257a0 spaces fix 2018-08-01 15:17:00 -07:00
yaron2
36db5d9583 added Service Fabric Mesh provider 2018-07-31 16:00:56 -07:00
Robbie Zhang
3f83588e59 Reduce ACI API calls (#282)
* Reduce ACI API calls

Reduce reconcile calls and API calls in reconcile

* Fix the pod status update issue

* Revert a few unnecessary change
2018-07-31 13:31:00 -07:00
Liang Mingqiang
f9c7af5ec9 read a section of config (#255) 2018-07-31 13:28:42 -07:00
Jeremy Rickard
3e1beb3d92 Merge pull request #281 from jeremyrickard/aks-chart-rbac
Update VK AKS chart to have RBAC resources
2018-07-31 07:30:38 -06:00
Jeremy Rickard
0c51f2cffe Merge branch 'master' into aks-chart-rbac 2018-07-30 15:26:20 -06:00
Jeremy Rickard
c3cb96d4d1 Update VK AKS chart to have RBAC. RBAC default = true 2018-07-30 15:25:40 -06:00
Jeremy Rickard
a4d8f74c7d Enabling Liveness and Readiness Probes in ACI Provider (#280)
* Enabling Liveness and Readiness Probes in ACI Provider

* Adding a check to ensure both exec and httpGet are not provided
2018-07-30 13:38:36 -07:00
Rohan Chakravarthy
13fbd5c38e use secure value in ACI for secrets (#276)
* use secure value in ACI for secrets

* add tests for env variable conversion
2018-07-30 11:44:41 -07:00
Rohan Chakravarthy
ef6ae9ecf4 Plumb through log analytics values (#274)
* plumb through log analytics values

* add option to specify a log analytics file as well

* use secret for log analytics
2018-07-25 12:37:26 -07:00
Jake Bjorke
28daffa96f fix type-o in azure provider documentation (#246)
* fix type-o

* corrected type-o where "the" should have been "then"
2018-07-25 12:04:10 -07:00
Daniel Mueller
31a415c83a Fix bug in exec command retrieval (#265)
The exec command as extracted from the query comprises only the first
part of the command and does not include potentially supplied
parameters. E.g.,
  $ kubectl exec pod -- ls -t /usr
  > command: ls

This change fixes the problem by moving away from the Query.Get API.
  $ kubectl exec pod -- ls -t /usr
  > command: [ls -t /usr]
2018-07-25 11:54:22 -07:00
Rohan Chakravarthy
b28bb7a070 Merge pull request #272 from rchakra3/log-analytics-aci
add support for log analytics in the ACI SDK
2018-07-25 10:07:20 -07:00
Rohan Chakravarthy
e41a352d63 add support for log analytics in the ACI SDK 2018-07-24 17:56:38 -07:00
Jeremy Rickard
9b06d18023 ACI Provider: Adding Liveness/Readiness probes to ACI sdk (#267)
* Adding Liveness/Readiness probes to ACI sdk

* Rename Secure to SecureValue

* Slightly modify failure test.

* Remove errant t.Fatal line
2018-07-24 15:08:25 -07:00
Jeremy Rickard
047e5f22db Updating aci api version (#264)
The aci provider is using a quite old version of the
aci API. This PR updates it to the most recent version.

Fixes: #263
2018-07-23 12:12:05 -07:00
Alex Glikson
a3bd10ab5f readme typo (#262) 2018-07-23 11:19:19 -07:00
Onur Filiz
ae79bb5216 Fargate: Add AWS open source blog post to README 2018-07-20 13:59:04 -07:00
Onur Filiz
db5675ac73 Fargate: Add new regions Singapore, Sydney, Frankfurt 2018-07-20 11:36:41 -07:00
Robbie Zhang
6723b0d719 Register the Node when GetNode Returns NotFound (#254) v0.4.1 2018-07-11 14:57:09 -07:00
Eric Jadi
6543b0d410 Added missing providers to providers.go for build-time validation (#253)
* build all providers compile-time to validate interface implementation

* removed duplicate CRI provider initialization
2018-07-09 11:56:17 -07:00
Liang Mingqiang
32f996ab60 bug-fix (#252) 2018-07-09 11:36:32 -07:00
Eric Jadi
89921a08c1 Added clean exec functionality + ACI implementation - V2 (#244)
* Stubs and vkubelet changes

* added dependencies

* Azure provider exec implementation

* added missing dependencies

* added vkubelet imports

* added huawei exec stub

* Fixed exec tab functionality / stdin buffer length

* Removed unused import

* Added provider function GetPodFullName + ACI implementation

* Added error handling in ACI provider exec
2018-07-06 14:12:05 -07:00
Liang Mingqiang
3e8a1b9bb5 config files for mock provider (#247) 2018-07-06 14:07:33 -07:00
Onur Filiz
5d39a2c292 Fargate: Improve cluster API failure handling 2018-07-04 20:48:11 -07:00
Onur Filiz
06ef7afecf Add AWS ap-northeast-1 (Tokyo) region to Fargate 2018-07-04 20:25:41 -07:00
Fei Xu
a30303035f Huawei Cloud Provider implementation (#241)
* add huawei CCI provider

* add readme

* add vender

* add huawei provider mock test
2018-06-29 10:21:15 -07:00
lcastellano
df6a8750bb Merge pull request #236 from lcastellano/ipaddr
Add support for displaying node and pod IP address + fix make  clean
2018-06-26 15:33:57 -07:00
Robbie Zhang
e66dbef7fd Merge branch 'master' into ipaddr 2018-06-26 11:30:47 -07:00
Robbie Zhang
5befccd1dd Update the examples to use the general VK node labels (#243) 2018-06-26 11:30:23 -07:00
Robbie Zhang
a3b00ed436 Copy the new helm charts to the latest (#242) 2018-06-26 11:21:47 -07:00
Ahmed Sabbour
61753060c6 Patch/vk chart namespace (#235)
* Fix the dependency issue

* Changed the charts to accept a namespace variable

* Bumped and regenerated chart. Updated createCert for MacOS

* Moving generated charts up in the folder structure
2018-06-26 10:55:23 -07:00
Robbie Zhang
e1fa5b03af [Azure] Increase the Default Node Quota for ACI (#240)
* Increase the default quota for ACI provider

* VK update the node capcity

* VK update node IP addresses
2018-06-25 11:08:49 -07:00
Lawrence Gripper
d6e8b3daf7 Create a provider to use Azure Batch (#133)
* Started work on provider

* WIP Adding batch provider

* Working basic call into pool client. Need to parameterize the baseurl

* Fixed job creation by manipulating the content-type

* WIP Kicking off containers. Dirty

* [wip] More meat around scheduling simple containers.

* Working on basic task wrapper to co-schedule pods

* WIP on task wrapper

* WIP

* Working pod minimal wrapper for batch

* Integrate pod template code into provider

* Cleaning up

* Move to docker without gpu

* WIP batch integration

* partially working

* Working logs

* Tidy code

* WIP: Testing and readme

* Added readme and terraform deployment for GPU Azure Batch pool.

* Update to enable low priority nodes for gpu

* Fix log formatting bug. Return node logs when container not yet started

* Moved to golang v1.10

* Fix cri test

* Fix up minor docs Issue. Add provider to readme. Add var for vk image.
2018-06-22 16:33:49 -07:00
Robbie Zhang
158e1900e7 Merge branch 'master' into ipaddr 2018-06-22 12:57:27 -07:00
pavanagrawal123
1ad6fb434e Typo fix yml -> yaml (#230) 2018-06-22 12:55:57 -07:00
Robbie Zhang
c7edf23edf Merge branch 'master' into ipaddr 2018-06-21 12:18:45 -07:00
Robbie Zhang
6ec1098bb8 Fix the dependency issue (#231) 2018-06-21 12:09:42 -07:00
Luca Castellano
197fddf335 Add support for correctly displaying node and pod IP address + fix make clean 2018-06-21 10:18:47 -07:00
Robbie Zhang
027b76651d Do not Sync ProviderFailed Pod Status (#227) v0.4 v0.3.3 2018-06-18 10:21:09 -07:00
Anthony Chu
5286869440 Fix Azure File secret names to match k8s azureFile volume secrets (#224)
https://docs.microsoft.com/en-us/azure/aks/azure-files-volume#create-kubernetes-secret
v0.3.2 v0.3.1
2018-06-11 14:42:43 -07:00
Robbie Zhang
22a4114890 Add an extra loop when the pod watcher is closed unexpectedly. (#226) 2018-06-11 14:09:16 -07:00
Loc Nguyen
513cebe7b7 VMware vSphere Integrated Containers provider (#206)
* Add Virtual Kubelet provider for VIC

Initial virtual kubelet provider for VMware VIC.  This provider currently
handles creating and starting of a pod VM via the VIC portlayer and persona
server.  Image store handling via the VIC persona server.  This provider
currently requires the feature/wolfpack branch of VIC.

* Added pod stop and delete.  Also added node capacity.

Added the ability to stop and delete pod VMs via VIC.  Also retrieve
node capacity information from the VCH.

* Cleanup and readme file

Some file clean up and added a Readme.md markdown file for the VIC
provider.

* Cleaned up errors, added function comments, moved operation code

1. Cleaned up error handling.  Set standard for creating errors.
2. Added method prototype comments for all interface functions.
3. Moved PodCreator, PodStarter, PodStopper, and PodDeleter to a new folder.

* Add mocking code and unit tests for podcache, podcreator, and podstarter

Used the unit test framework used in VIC to handle assertions in the provider's
unit test.  Mocking code generated using OSS project mockery, which is compatible
with the testify assertion framework.

* Vendored packages for the VIC provider

Requires feature/wolfpack branch of VIC and a few specific commit sha of
projects used within VIC.

* Implementation of POD Stopper and Deleter unit tests (#4)

* Updated files for initial PR
2018-06-04 15:41:32 -07:00
Ria Bhatia
98a111e8b7 update license to apache 2.0 (#214) 2018-05-30 15:46:04 -07:00
Fei Xu
9c38c1bdfb Add namespace for storeKey in ResourceManager (#211)
* add namespace for storeKey in RM

* fix UT for add namespace
2018-05-29 10:45:03 -07:00
Kit Ewbank
b4cb809968 dep ensure -update k8s.io/client-go (#197) 2018-05-18 16:24:19 -07:00
Fei Xu
8068f3cac8 gofmt the project files (#205) 2018-05-18 16:13:34 -07:00
Ria Bhatia
3fe94966f6 Readme edits (#204)
* adding provider info

* adding readme edits

* test change

* added node selector

* node selector changes

* Update README.md

omg this change

* forgot to commit

* fixed format
2018-05-17 19:46:32 -06:00
Ben Corrie
c6c89f062f CRI Provider implementation (#195)
* First commit of CRI provider. Vendor deps not included

* First commit of CRI provider. Vendor deps not included

* Tidy up comments and format code

* vendor grpc, CRI APIs, update protobuf and tidy logging

* First commit of CRI provider. Vendor deps not included

* Tidy up comments and format code

* vendor grpc, CRI APIs, update protobuf and tidy logging

* Add README

* Fix errors in make test
v0.3
2018-05-15 08:50:52 -07:00
Ria Bhatia
4b61932ac1 Node label change (#200)
* adding provider info

* adding readme edits

* test change

* added node selector

* node selector changes

* Update README.md

changed a typo

* Update README.md

spacing issue
2018-05-15 08:45:45 -07:00