Commit Graph

15 Commits

Author SHA1 Message Date
Brian Goff
a54753cb82 Move around some packages (#658)
* Move tracing exporter registration

This doesn't belong in the library and should be configured by the
consumer of the opencensus package.

* Rename `vkublet` package to `node`

`vkubelet` does not convey any information to the consumers of the
package.
Really it would be nice to move this package to the root of the repo,
but then you wind up with... interesting... import semantics due to the
repo name... and after thinking about it some, a subpackage is really
not so bad as long as it has a name that convey's some information.

`node` was chosen since this package deals with all the semantics of
operating a node in Kubernetes.
2019-06-12 13:11:49 +01:00
Brian Goff
7dd49516d8 Decouple vkubelet/* packages from providers (#626)
This makes the concept of a `Provider` wholely implemented in the cli
implementation in cmd/virtual-kubelet.

It allows us to slim down the interfaces used in vkubelet (and
vkubelet/api) to what is actually used there rather than a huge
interface that is only there to serve the CLI's needs.
2019-05-17 17:01:05 -07:00
Brian Goff
3cc051f7c2 Use I/O stream for provider logs interface
Providers must still update the implementaiton to actually gain any
benefit here, but this makes the provider interface a bit more sane.
2019-05-08 09:17:29 -07:00
Brian Goff
d809dff289 Refactor exec interface (#578)
This removes the dependence on remotecommand in providers as well as the
need to expose provider ID's for the sake of the ExecInContainer API.
2019-04-26 12:57:56 -07:00
robbiezhang
5a00c27b9c Update kubernetes projects version in vendor to 1.12.1 2018-10-06 00:53:39 +00:00
Brian Goff
8091b089a2 Plumb context to providers 2018-09-13 13:49:26 -07:00
Onur Filiz
4efc61d1ae Fargate: Add stubs for new provider APIs 2018-08-03 12:00:41 -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
Onur Filiz
40f94991c3 Update Fargate provider to use the renamed NodeCondition type 2018-04-26 11:06:42 -07:00
Johannes Würbach
803b0218c8 Make container logs available
Store and retrieve container logs using Cloudwatch Logs
2018-04-26 11:06:42 -07:00
Johannes Würbach
0a1acbc78e Configurable task execution role
Configurable task execution role
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
2018-04-26 11:06:42 -07:00
Onur Filiz
fcbff0320c Implement Fargate pod and container objects 2018-04-26 11:06:42 -07:00
Onur Filiz
29d2c6295d Add Fargate provider config loader 2018-04-26 11:06:42 -07:00
Onur Filiz
cc25517c73 Implement provider node APIs 2018-04-26 11:06:42 -07:00
Onur Filiz
feb2366e60 Add skeleton Fargate provider 2018-04-26 11:06:42 -07:00