Commit Graph

1048 Commits

Author SHA1 Message Date
Brian Goff
55002eaa4b Merge pull request #326 from cpuguy83/tracing
Plumb context to providers
2018-09-13 13:57:42 -07:00
Brian Goff
8091b089a2 Plumb context to providers 2018-09-13 13:49:26 -07:00
robbiezhang
4e20fc40ca Override the host in kubeconfig if MASTER_URI EnvVar is set v0.6.1 2018-09-10 12:56:50 -07:00
robbiezhang
0f54e1ed9c Bug fixes v0.6.0 2018-09-07 18:46:49 -07:00
robbiezhang
8d883dcecd Change default CPU limit to 800 2018-09-07 18:46:49 -07:00
robbiezhang
1ee8847bbe Fix the pod uuid 2018-09-07 18:46:49 -07:00
robbiezhang
df90c71875 Add unit tests 2018-09-07 18:46:49 -07:00
robbiezhang
844d8a71d0 Add LogType and Metadata for Log Analytics 2018-09-07 18:46:49 -07:00
robbiezhang
b41c1fee1a fix the extensions 2018-09-07 18:46:49 -07:00
Robbie Zhang
a0fb67f2c0 Add validation 2018-09-07 18:46:49 -07:00
Robbie Zhang
a8acef31ff Fix unit test 2018-09-07 18:46:49 -07:00
Robbie Zhang
169e733adb Adopt ACI Extension and DNSConfig 2018-09-07 18:46:49 -07:00
Robbie Zhang
3ef512349b Update the network api version (#338) 2018-09-07 18:46:49 -07:00
robbiezhang
c0af40bdbd Update the kube-proxy command 2018-09-07 18:46:49 -07:00
robbiezhang
e445f9235c Update the kube-proxy image and command 2018-09-07 18:46:49 -07:00
Robbie Zhang
24ee86f1bb Merge from master (#328)
* Add default provider taint and taint configuration options

This allows for more specificity when setting taint tolerations for
workloads. Three new env variables are introduced:

VKUBELET_TAINT_KEY (defaults to `virtual-kubelet.io/provider`)
VKUBELET_TAINT_VALUE (defaults to provider name)
VKUBELET_TAINT_EFFECT (defaults to `NoSchedule`)

BREAKING CHANGES:
- The default taint key of `azure.com/aci` is now
  `virtual-kubelet.io/provider`.
- Specifying a custom taint key is now done via an environment variable
  rather than the `--taint` command line flag.

* Add back deprecated taint flag

TODO: Revert this commit

Related to #316

* Add darwin tag to not build for osx

* Darwin specific lookup file without cri and vic

* Fix chart notes template (#317)

Values were moved from env to top level.

* If --taint is specified, set the taint value to empty (#322)

Add the old tolerations the examples to make it backward compatible during the switch

* Use standard logging package (#323)

* Update kubelet vendor to pull in stats API

* Add errgroup dep which will be used for ACI stats

* Add supports for stats in ACI provider

This adds a new, optional, interface for providers that want to provide
stats.

* Don't use globals for API server

Refactors how HTTP servers are started and binds them to objects that
can store the provider rather than relying on a global.

* Fix merge conflict

* Fix couple errors
2018-09-07 18:46:49 -07:00
Robbie Zhang
6e32d2c544 Update the helm chart to support the ACI VNet Integration 2018-09-07 18:46:49 -07:00
Robbie Zhang
b364af21ea Add the Kube-Proxy Side Car Container and Volume to the container group (#292)
* Add Kube-Proxy Side Car Container

* Add the Kube-Proxy Side Car Container

* Add test

* Bug fix
2018-09-07 18:46:49 -07:00
Robbie Zhang
bac3a585da Fix several bugs in the VNET (#287)
* Add more support regions

* Add kube-proxy sidecar container

* Kube-proxy

* Fix several bugs

* indent
2018-09-07 18:46:49 -07:00
Jeremy Rickard
f3578bfc9b Adding network policy reference (#269) 2018-09-07 18:46:49 -07:00
Brian Goff
25e454d18f Add API client for Azure custom vnet (#271)
* Update vendor for azure vent support

* Add support for Azure custom vnets.

Use pointers intead of values. This allows the client to pass back
returned data from Azure.
2018-09-07 18:46:49 -07:00
Jeremy Rickard
36eb3db8a9 Adding network policy reference (#269) 2018-09-07 18:46:49 -07:00
Don Bowman
12700633b1 Move 'az provider register' to 'Configure your Azure account' section. (#339)
Regardless of whether you use the quick-start or the manual setup,
you need to run:
`az provider register --namespace 'Microsoft.ContainerInstance'`
on your account. Move up from the 'Manual' section.
2018-09-05 15:09:18 -07:00
Robbie Zhang
55bc0c3f75 Add ContainerID into the ContainerStatus (#337) v0.5.2 2018-08-27 15:38:14 -07:00
Robbie Zhang
b019ec5549 Bug Fixes (#329) 2018-08-27 11:53:59 -07:00
Ria Bhatia
7442189e77 adding the taint format (#334)
adding the new taint format
2018-08-23 14:09:06 -07:00
Brian Goff
bb8ba567e3 Merge pull request #325 from cpuguy83/refactor_api_init
Don't use globals for API server
2018-08-20 13:44:47 -07:00
Brian Goff
8de6693460 Don't use globals for API server
Refactors how HTTP servers are started and binds them to objects that
can store the provider rather than relying on a global.
2018-08-20 11:52:54 -07:00
Brian Goff
99e0cfad5c Merge pull request #306 from cpuguy83/metrics
Add support fort kubelet stats summary
2018-08-20 11:37:50 -07:00
Brian Goff
e8abca0ac9 Add supports for stats in ACI provider
This adds a new, optional, interface for providers that want to provide
stats.
2018-08-17 17:03:25 -07:00
Brian Goff
6284757aa1 Add errgroup dep which will be used for ACI stats 2018-08-17 16:55:18 -07:00
Brian Goff
17cc3033ba Update kubelet vendor to pull in stats API 2018-08-17 16:55:18 -07:00
Brian Goff
1e774a32b3 Use standard logging package (#323) 2018-08-17 16:50:24 -07:00
Robbie Zhang
d7f97b9bfc If --taint is specified, set the taint value to empty (#322)
Add the old tolerations the examples to make it backward compatible during the switch
v0.5.1
2018-08-15 17:44:51 -07:00
Brian Goff
b0e5ed758e Merge pull request #320 from Bee-Projects/darwin-support
Fixing the broken build in OSX
v0.5.0
2018-08-15 10:26:49 -07:00
Brian Goff
14339338b8 Fix chart notes template (#317)
Values were moved from env to top level.
2018-08-15 10:26:00 -07:00
ramz
4875364f37 Merge branch 'master' into darwin-support 2018-08-15 15:38:35 +10:00
ageekymonk
662d1f07a8 Darwin specific lookup file without cri and vic 2018-08-15 15:26:10 +10:00
ageekymonk
eb60985bd7 Add darwin tag to not build for osx 2018-08-15 15:25:45 +10:00
Jacob LeGrone
5115c1e5cd Add back deprecated taint flag
TODO: Revert this commit

Related to #316
2018-08-14 17:09:44 -07:00
Jacob LeGrone
d47a0b2fc0 Add default provider taint and taint configuration options
This allows for more specificity when setting taint tolerations for
workloads. Three new env variables are introduced:

VKUBELET_TAINT_KEY (defaults to `virtual-kubelet.io/provider`)
VKUBELET_TAINT_VALUE (defaults to provider name)
VKUBELET_TAINT_EFFECT (defaults to `NoSchedule`)

BREAKING CHANGES:
- The default taint key of `azure.com/aci` is now
  `virtual-kubelet.io/provider`.
- Specifying a custom taint key is now done via an environment variable
  rather than the `--taint` command line flag.
2018-08-14 17:09:44 -07:00
Ameer Deen
9f07768875 Added centralus, eastus2, australiaeast to Azure ACI provide (#310)
* Added centralus, eastus2,  australiaeast to match valid aci regions as [documented](https://azure.microsoft.com/en-gb/global-infrastructure/services/)

* Added ',' to end of array

* Trigger build
2018-08-13 10:27:57 -07:00
Brian Goff
81b12bad22 Merge pull request #308 from KnicKnic/dual
Fix to build virtual-kubelet in windows
2018-08-10 11:41:11 -07:00
Liang Mingqiang
be77566e4b bugfix (#307) 2018-08-09 22:03:05 -07:00
Nick Maliwacki
76ee2c13e7 Merge branch 'master' into dual 2018-08-09 18:33:58 -07:00
Nick Maliwacki
bf02f887f0 Fix to build virtual-kubelet in windows 2018-08-09 18:31:35 -07:00
Jeremy Rickard
02a29768e4 Removeenv from secret template (#302) 2018-08-08 10:48:57 -07:00
Jeremy Rickard
a00a88818b Merge pull request #289 from mattrowmsft/patch-1
Update README.md
2018-08-07 10:51:14 -06:00
Jeremy Rickard
4b3e71ff39 Merge branch 'master' into patch-1 2018-08-07 10:46:45 -06:00
Jeremy Rickard
774a963508 Merge pull request #258 from jlegrone/feature/consolidate-chart
Consolidate helm charts
2018-08-07 10:46:17 -06:00