Commit Graph

355 Commits

Author SHA1 Message Date
Jeremy Rickard
1d22783951 Merge pull request #381 from cpuguy83/fix_typo_alicloud
Typo in build tag for alicloud provider
2018-10-19 13:46:47 -06:00
Brian Goff
4b6f79111f Typo in build tag for alicloud provider
It's what I do...
2018-10-19 12:22:25 -07:00
Robbie Zhang
5991b29f76 [ACI] Support to add extra user agent to the request (#378)
* Add UserAgent

* Change to join the user agent with a whitespace and set in the header

* Remove empty entry from user agent
v0.7.1
2018-10-18 14:28:43 -07:00
Brian Goff
0dbc88826c Merge pull request #379 from robbiezhang/on-delete
[VK] Fix the potential runtime type casting error
2018-10-18 13:17:02 -07:00
robbiezhang
966c76368f user %T instead of reflect.TypeOf 2018-10-18 20:06:03 +00:00
robbiezhang
a6bab6e3bb Fix the potential runtime type casting error 2018-10-18 19:15:05 +00:00
Robbie Zhang
4a7b74ed42 [VK] Use Cache controller and Make create/delete pod Concurrently (#373)
* Add k8s.io/client-go/tools/cache package

* Add cache controller

* Add pod creator and terminator

* Pod Synchronizer

* Clean up

* Add back reconcile

* Remove unnecessary space in log

* Incorprate feedbacks

* dep ensure

* Fix the syntax error

* Fix the merge errors

* Minor Refactor

* Set status

* Pass context together with the pod to the pod channel

* Change to use flag to specify the number of pod sync workers

* Remove the unused const

* Use Stable PROD Region WestUS in Test

EastUS2EUAP is not reliable
v0.7.0
2018-10-16 17:20:02 -07:00
Brian Goff
b082eced13 Merge pull request #377 from robbiezhang/master
[ACI] A few bug fix for the Network Setup
v0.6.4
2018-10-16 13:58:04 -07:00
robbiezhang
10cf53cc9c Use a hash of the subnetID instead of virtual node name to avoid conflict 2018-10-16 20:31:39 +00:00
robbiezhang
c193fbe3c0 Remove the validation on the Subnet IP Configuration Profile
NRP used to add a profile entry when a service association link is added to the subnet

Now, the profile entry is added when a network profile is created

This breaks the current validation
2018-10-16 19:52:23 +00:00
Brian Goff
f5c47d59c4 Merge pull request #376 from robbiezhang/master
[VK] Change the default taint effect to NoSchedule
v0.6.3
2018-10-15 12:59:49 -07:00
robbiezhang
055f5a2e01 Change the default taint effect to NoSchedule 2018-10-15 19:46:42 +00:00
Brian Goff
957ee81634 Merge pull request #375 from robbiezhang/network-sdk
[ACI] Update the network SDK and add more validations
2018-10-13 11:45:10 -07:00
Brian Goff
c1fe923131 Minor refactorings (#368)
* Split vkubelet funcitons into separate files.

* Minor re-org for cmd/census*

* refactor run loop
2018-10-12 17:36:37 -07:00
robbiezhang
eb77d5686f Update the network sdk and add more validations 2018-10-13 00:16:19 +00:00
Brian Goff
d710e0391c Merge pull request #369 from robbiezhang/master
Update kubernetes projects version in vendor to 1.12.1
2018-10-11 10:06:20 -07:00
Brian Goff
d9e37b9fcc Merge pull request #374 from robbiezhang/fix-metrics-test
[ACI] Make the metrics test more robust in multi-container case
2018-10-11 08:16:03 -07:00
Robbie Zhang
8a5d5b670f Make the metrics test more robust in multi-container case 2018-10-10 18:43:37 -07:00
Robbie Zhang
05595835f1 Make default waiting reason to be Creating (#372) 2018-10-10 10:40:41 -07:00
Brian Goff
f2f373b71c Merge pull request #371 from robbiezhang/log-level
[VK] Set the log level correctly
2018-10-10 08:48:37 -07:00
robbiezhang
626b346fcb Fix the issue of unable to set log-level 2018-10-09 23:04:42 +00:00
Robbie Zhang
1d5c1a4d26 Merge branch 'master' into master 2018-10-09 12:32:07 -07:00
shidao-ytt
e6aa80d2c4 Add secret volume (#370)
* add secret volume implement with config map

Signed-off-by: xianwei.zw <xianwei.zw@alibaba-inc.com>
Signed-off-by: shidao-ytt <shidao.ytt@alibaba-inc.com>

* add request log for CreateContainerGroup
2018-10-09 12:30:18 -07:00
Robbie Zhang
362991c890 Merge branch 'master' into master 2018-10-05 17:54:48 -07:00
robbiezhang
5a00c27b9c Update kubernetes projects version in vendor to 1.12.1 2018-10-06 00:53:39 +00:00
Brian Goff
e474b3eec3 Merge pull request #366 from cpuguy83/set_build_tags
Pass go build tags from environment.
2018-10-05 15:09:22 -07:00
Brian Goff
7e570d657e Fix indentation in Dockerfile 2018-10-05 14:43:29 -07:00
Brian Goff
eb22b3b9e1 fix bad variable reference 2018-10-05 08:42:06 -07:00
Brian Goff
17d76d9492 Pass go build tags from environment.
Can now do something like `make VK_BUILD_TAGS=no_jaeger_exporter build`
and jaeger support will not be compiled in.

Currently there are build flags to omit every provider and every (the
only) supported tracing exporter.
2018-10-04 15:05:08 -07:00
Brian Goff
26d8fbcde8 Merge pull request #365 from cpuguy83/tracing_docs
Tracing docs
2018-10-04 13:00:08 -07:00
Brian Goff
ae49bbfd11 Fix filename typo s/cencus/census/ 2018-10-04 12:57:04 -07:00
Brian Goff
daa8487670 Add docs for tracing 2018-10-04 10:08:07 -07:00
Jeremy Rickard
1763f5a55c Merge pull request #355 from cpuguy83/add_tracing_instrumentation
Add support for tracing via OpenCencus
2018-10-02 13:49:10 -06:00
Brian Goff
8e29415bf7 Convert errors to OC status 2018-09-26 13:48:40 -07:00
Brian Goff
2fc82818ae Add tests for trace registry 2018-09-26 13:48:40 -07:00
Brian Goff
67c3922863 Add support for zpages 2018-09-26 13:48:40 -07:00
Brian Goff
682b2bccf8 Add support for tracing via OpenCencus
This adds a few flags for configuring the tracer.
Includes support for jaeger tracing (built into OC).
2018-09-26 13:48:40 -07:00
shidao-ytt
43d32d2301 update Alibaba Cloud ECI Docs (#362) v0.6.2 2018-09-26 13:21:33 -07:00
Brian Goff
083f6dee05 Refactor provider init (#360)
* Refactor provider init

This moves provider init out of vkubelet setup, instead preferring to
initialize vkubelet with a provider.

* Split API server configuration from setup.

This makes sure that configuration (which is done primarily through env
vars) is separate from actually standing up the servers.

This also makes sure to abort daemon initialization if the API servers
are not able to start.
2018-09-26 13:18:02 -07:00
Robbie Zhang
6b97713af3 Set the pod phase based on pod restart policy when provider failed (#361)
Update the resource manager to include the deleting pods in the GetPods function
2018-09-26 10:29:55 -07:00
Brian Goff
2026fe7069 Merge pull request #359 from cpuguy83/ci_linters
Add linters to CI
2018-09-26 10:14:42 -07:00
Brian Goff
5be552bb85 Add linters to CI 2018-09-25 16:11:18 -07:00
Brian Goff
317e6e9ea1 Merge pull request #351 from jovizhangwei/alicloud-eci
Add Alibaba Cloud ECI provider
2018-09-24 14:15:07 -07:00
Robbie Zhang
87acc00457 Merge branch 'master' into alicloud-eci 2018-09-24 12:33:19 -07:00
Robbie Zhang
f7eb898a00 Update virtual-kubelet helm chart to support ACI VNet (#356)
* Update the virtual-kubelet helm chart for ACI VNet

* Fix the typo

* version

* secret encoding

* Update the version to 0.4.0

* Add ClusterResourceId for LogAnalytics
2018-09-24 12:32:49 -07:00
Anubhav Mishra
ddf955e6e1 Fix typo. (#357)
Thanks for the contribution :)
2018-09-23 16:50:36 -04:00
shidao-ytt
7faf07dcc2 Add Alibaba Cloud ECI Documents
Alibaba Cloud ECI(Elastic Container Instance) is a service that allow you
run containers without having to manage servers or clusters.

This commit add ECI documents for virtual kubelet.

Signed-off-by: xianwei.zw <xianwei.zw@alibaba-inc.com>
Signed-off-by: shidao.ytt <shidao.ytt@alibaba-inc.com>
2018-09-23 23:29:06 +08:00
shidao-ytt
e9d17c23d3 Add Alibaba Cloud ECI Provider
Alibaba Cloud ECI(Elastic Container Instance) is a service that allow you
run containers without having to manage servers or clusters.

This commit add ECI provider for virtual kubelet, connects ECI with
kubernetes cluster.

Signed-off-by: xianwei.zw <xianwei.zw@alibaba-inc.com>
Signed-off-by: shidao.ytt <shidao.ytt@alibaba-inc.com>
2018-09-23 23:29:06 +08:00
shidao-ytt
101baecc86 Add Alibaba Cloud ECI SDK
Alibaba Cloud ECI(Elastic Container Instance) is a service that allow you
run containers without having to manage servers or clusters.

This commit add ECI sdk for virtual kubelet.

Signed-off-by: xianwei.zw <xianwei.zw@alibaba-inc.com>
Signed-off-by: shidao.ytt <shidao.ytt@alibaba-inc.com>
2018-09-23 23:29:06 +08:00
Brian Goff
06ce3d290a Merge pull request #350 from cpuguy83/refactor_http_handlers
Refactor http handlers
2018-09-20 16:04:37 -07:00