Commit Graph

57 Commits

Author SHA1 Message Date
Jeremy Rickard
a1677ce5e0 Update ACI provider to handle empty environment variables (#297) 2018-08-06 10:55:40 -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
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
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
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
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
pavanagrawal123
1ad6fb434e Typo fix yml -> yaml (#230) 2018-06-22 12:55:57 -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
2018-06-11 14:42:43 -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
Robbie Zhang
acf2871edd Update the ACI README.md about Tolerations
Add notice about adding tolerations to the pod which desires to be scheduled to the VK nodes.
2018-05-08 11:32:19 -07:00
Robbie Zhang
28f555e9ba Fix the anchors in the ACI README.md
Use lower-cases in the hash (#)
2018-05-08 11:25:56 -07:00
Robbie Zhang
f6835d9e89 [Azure] Fix the Resource.Requests/Limits Parsing Issue (#183)
* Fix the Resource.Requests/Limits Parsing Issue

* Do not run test in docker build
2018-04-30 17:21:15 -07:00
Robbie Zhang
228a1f7a5f [Azure] Make Resoures.Limits Optional (#175)
* Make Resources.Limits Optional

* Remove the accuracy check of the resources.limits
2018-04-27 10:27:40 -07:00
Amit Kumar
71ec511ba0 Adding northeurope as valid region for Azure. (#176)
Per the GA announcement of ACI, northerope is supported as well.
https://azure.microsoft.com/en-us/updates/aci-ga/
2018-04-26 10:22:24 -07:00
Eric Jadi
372451fa32 kubelet now returns PodConditions based on aciState (#147)
Fix for https://github.com/virtual-kubelet/virtual-kubelet/issues/136
2018-04-24 09:37:33 -07:00
Eric Jadi
95f70c084f fix missing aci_region environment variable in Helm command line (#135)
The manual instructions for installation are missing the env.aciRegion variable and will default to "westus", which means it fails if your service principal cannot create container instances there.
2018-04-16 11:45:15 -07:00
Robbie Zhang
2b85b0d1df Fill in Default Values for CPU/Memory (#130)
Update k8s client and the dependencies
ACI client change for Mocking
Add ACI Provider Mock Tests
Add the Windows development environment
Add UT for Default Resource Requests
Enable the make test in Docker file
Update the vendors
2018-04-16 10:31:16 -07:00
Shane Peckham
88bafc701b Add RBAC support - issue 107 (#128)
* Add RBAC support

* RBAC support issue 107 changes requested
2018-04-13 12:45:25 -07:00
Robbie Zhang
e1b9475511 Add tolerations in the sample pod in README.md
Add the tolerations in the sample pod spec in the README.md
2018-03-29 17:06:14 -07:00
Ria Bhatia
c52369e985 Change azreadme (#121)
* readme update

* adding remove

* console change

* console change2

* structure change
2018-03-23 08:29:18 +08:00
Bhargav Nookala
a8036659e4 Handling dockerconfigjson format for image pull secrets (#120)
The test failure is not related to the change.
2018-03-22 12:04:19 -07:00
Eddie Villalba
1431ad46fd Updated ACI Documentation (#109)
* Updated READ.me

Changed the instructions to use the createCertAndKey.sh file so the execute permissions are applied and added the / to run the shell script. Also commented out the ACI with DNS label instruction until a new version of virtual-kubelet is released that allows this feature.

* Update README.md

had to additional . in createCertAndKey.sh run command to allow for exported environment variables to pass into existing shell
2018-03-08 14:30:10 -08:00
Bhargav Nookala
6f748f4375 Adding support for ACI DNS name labels (#97) 2018-02-23 14:06:23 -08:00
Ria Bhatia
6d8b865848 Merge pull request #96 from arapulido/improve_azure_docs
Improve ACI provider documentation
2018-02-21 14:07:30 -08:00
Ara Pulido
3c87000b71 Improve ACI provider documentation based on my experience trying to set it up 2018-02-15 13:32:36 +01:00
Bhargav Nookala
a99f2d08c1 Adding supported regions for Azure Provider (#92) 2018-02-14 11:14:20 -08:00
Robbie Zhang
f4ebbfc7a3 [Azure] Optimize VK Setup in ACS/AKS (#85)
* Read ACS Credentials for Azure Authentication

Supprt a new environment variable: ACS_CREDENTIAL_LOCATION
Expect the value to be the ACS credential filepath, which is the
/etc/kubernetes/azure.json file generated on the ACS nodes.

If the ACS_CREDENTIAL_LOCATION is specified and loaded,
create the Azure Authentication class from its values.

If the AZURE_AUTHENTICATION_LOCATION is specified and loaded,
its values will overwrite the value above.

Refactor the ACI provider and ACI client to be able to override the SPN by environment variable
2018-02-13 19:07:27 -08:00
chshou
d23ac6679c append args (#89)
LGTM.
2018-02-08 14:20:35 -08:00
Ria Bhatia
6486f65166 Merge pull request #75 from robbiezhang/imagepullsecrets
Fix the ImagePullSecret for ACI Provider
2018-01-29 10:07:39 -08:00
Ria Bhatia
dadd97de8d Update README.md
changed release notes and added helm init to documentation
2018-01-29 09:58:58 -08:00
Ria Bhatia
45630ed369 Update README.md
adding connector release notes
2018-01-25 20:28:14 -08:00
robbiezhang
4a8d43f736 Fix the ImagePullSecret for ACI Provider 2018-01-26 02:19:25 +00:00
Ria Bhatia
7d47eb1409 Update README.md 2018-01-22 15:26:23 -08:00
chshou
8c0345edcf [Azure] Filters service account secret volume mount for Windows (#60)
* filters the SA secret volume for windows

* make it a map

* bettern go convention
2018-01-22 11:19:53 -08:00
robbiezhang
909819c69d [Azure] Fix the EmptyDir Volume issue for ACI Provider 2018-01-20 02:32:38 +00:00
Ria Bhatia
2ca933fe27 Update README.md
added a warning
2018-01-18 18:27:00 -08:00
Ria Bhatia
b92c7320ca Update README.md
adding a way to update your connector
2018-01-18 18:26:08 -08:00
Ria Bhatia
a21cfff420 updating azure readme 2018-01-18 14:07:21 -08:00
Chen Shou
d690131565 add quotes 2018-01-18 11:26:06 -08:00
Sam J Sharpe
922364ee5f Correct typo kuberentes->kubernetes (#58)
This seems to be a common typo, possibly exacerbated by copy-paste
of comment strings. I spotted it in the README.md at first, so I fixed
that and then checked the rest of the code and fixed a few more. They
are all in comments or documentation, so there's no code issue.

FYI, there's still some in the vendor directory, but I haven't fixed
those as they'd get replaced by any new `go get` I think:

$ ack uberentes
vendor/k8s.io/apimachinery/hack/godep-deps.sh
20:# 2. godep restore based on k8s.io/kuberentes provided manifest

vendor/k8s.io/client-go/CHANGELOG.md
120:* Included bug fixes in k8s.io/kuberentes release-1.5 branch, up to

vendor/k8s.io/client-go/kubernetes/fake/register.go
64://     clientsetscheme "k8s.io/client-go/kuberentes/scheme"

vendor/k8s.io/client-go/kubernetes/scheme/register.go
64://     clientsetscheme "k8s.io/client-go/kuberentes/scheme"

Sorry, this isn't the most exciting commit in the world :-(
2018-01-11 12:37:04 -08:00
Rita Zhang
9354966e34 Update unit test 2017-12-22 00:12:00 -08:00
Rita Zhang
8b59becf35 Return error to kubectl logs; use http statuscode 2017-12-22 00:08:10 -08:00
Rita Zhang
43137d09f7 Use mux to handle req; get tail from req 2017-12-21 21:42:05 -08:00
Rita Zhang
04db926faa Set Status.DaemonEndpoints.KubeletEndpoint.Port to KUBELET_PORT 2017-12-20 19:13:56 -08:00