Commit Graph

374 Commits

Author SHA1 Message Date
Ria Bhatia
94cff09d04 adding maintainer 2018-12-20 15:45:20 -05:00
Ria Bhatia
5457713c9e updating provider maintainers and core maintainers 2018-12-20 15:43:54 -05:00
Brian Goff
023fd1214a Merge pull request #410 from tariq1890/add_dep_check
Replace dep validation with dep check and resyncing Gopkg.lock
2018-11-15 12:37:25 -08:00
tariqibrahim
bf61f7f2e0 Replace dep validation with dep check and resyncing Gopkg.lock 2018-11-14 14:12:29 -08:00
Brian Goff
cd42fdd7b8 Use strongerrors in provider implementations. (#403)
This ensures that we can catch certain types of errors from providers
and handle accordingly in the core. There is still more to do here to
improve that but this resolves an immediate need to know why a Delete
failed.

vic provider was not updated since I could not figure out where to get
this information.
2018-11-07 16:02:48 -08:00
Brian Goff
1d76b1341e Merge pull request #390 from cpuguy83/update_on_provider_delete
Fix a case where provider pod status is not found
2018-11-06 16:23:36 -08:00
Robbie Zhang
edb8c516f3 Merge branch 'master' into update_on_provider_delete 2018-11-06 16:21:36 -08:00
Brian Goff
8cc888176a Merge pull request #387 from cpuguy83/ocagent_exporter
Add ocagent exporter
2018-11-06 16:20:55 -08:00
Brian Goff
aee1fde504 Fix a case where provider pod status is not found
Updates the pod status in Kubernetes to "Failed" when the pod status is
not found from the provider.

Note that currently thet most providers return `nil, nil` when a pod is
not found. This works but should possibly return a typed error so we can
determine if the error means not found or something else... but this
works as is so I haven't changed it.
2018-11-06 16:11:42 -08:00
Brian Goff
bec818bf3c Do not close pod sync, use context cancel instead. (#402)
Closing the channel is racey and can lead to a panic on exit.
Instead rely on context cancellation to know if workers should exit.
2018-11-05 11:37:00 -08:00
Andrey Moor
2743c07222 Fix loganalytics settings in chart's secret.yaml file (#388)
* Fix chart secret.yaml file

* Update packages
2018-11-05 10:38:52 -08:00
Brian Goff
180cf34c3e Merge pull request #395 from cpuguy83/1_worker_default
Use 1 worker by default
v0.7.2
2018-11-02 12:42:49 -07:00
Jeremy Rickard
55bd7ebaed Merge branch 'master' into 1_worker_default 2018-11-02 13:37:06 -06:00
Brian Goff
f10596562d Use 1 worker by default
This is to work around an issue with concurrent workers and makes the
default config just work.
2018-11-02 12:35:26 -07:00
Carlos Mendible
4edd39a8ef Fixed typo on helm install sample (#392)
Fixed typo on helm install sample. Replaced providers.azure.clientID with provider.azure.clientId so the values are correctly parsed.
2018-11-02 15:04:50 +00:00
shidao-ytt
77c3315da4 [AliCloud] Add init container (#382)
* clean up eci sdk code

remove unnecessary code

* add init containers support
2018-11-01 15:57:30 -07:00
Brian Goff
143d9f71cc Add ocagent exporter
ocagent allows users to send traces out of VK to a "standard"  external forwarder
(standard as in this is a format/protocol defined in the opencensus project).

This allows uers to implement metrics for whatever backend they want
without having to add it into VK directly.
2018-10-31 14:31:13 -07:00
Ria Bhatia
a9ff4fed4a adding vnet documentation changes (#354)
* adding vnet changes

* format error

* change

* add exec

* added sp instructions

*  adding output

* adding link

* name change

* node selector change

*  plz be the last change

* vnet changes

* vnet changes, took out sp variables

* Adding more changes

* aci subnet

* added master uri

* fixed stuff

* adding master uri again

* add /
2018-10-30 23:43:17 +00:00
Robbie Zhang
ebc9463783 [ACI] Set the ACI_EXTRA_USER_AGENT in the helm charts (#380)
* Set the ACI_EXTRA_USER_AGENT in the helm charts

* Update the latest helm charts
2018-10-22 14:42:25 -07:00
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