Commit Graph

10 Commits

Author SHA1 Message Date
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
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
Onur Filiz
5d39a2c292 Fargate: Improve cluster API failure handling 2018-07-04 20:48:11 -07:00
Onur Filiz
cf8af6b360 Fargate: Default to cluster name as virtual node name 2018-04-30 17:58:29 -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
Johannes Würbach
bb5dbdbd6e Configurable task role
Configurable task role via `iam.amazonaws.com/role`, which is also used
by kube2iam.
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
64864ffdab Implement Fargate cluster and client 2018-04-26 11:06:42 -07:00