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
Brian Goff
947b530f1e
Replace testify with gotest.tools ( #553 )
...
* vendor gotest.tools
* Run gotest.tools migration tools
* Fixup tests that were improperly converted
* Remove unused testify package vendors
2019-03-28 17:08:12 -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
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
9e55d2ee98
Fargate: Add environment variable support
2018-08-03 12:00:41 -07:00
Onur Filiz
4efc61d1ae
Fargate: Add stubs for new provider APIs
2018-08-03 12:00:41 -07:00
Onur Filiz
ae79bb5216
Fargate: Add AWS open source blog post to README
2018-07-20 13:59:04 -07:00
Onur Filiz
db5675ac73
Fargate: Add new regions Singapore, Sydney, Frankfurt
2018-07-20 11:36: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
5d39a2c292
Fargate: Improve cluster API failure handling
2018-07-04 20:48:11 -07:00
Onur Filiz
06ef7afecf
Add AWS ap-northeast-1 (Tokyo) region to Fargate
2018-07-04 20:25:41 -07:00
Kit Ewbank
fc22300b71
[AWS Fargate] Execution role required if CloudWatch log group is specified ( #194 )
...
Execution role required if CloudWatch log group is specified.
2018-05-10 10:37:28 -07:00
Onur Filiz
b96181afa8
Fargate: Handle describe failure and log failure reason
2018-05-03 14:22:42 -07:00
Kit Ewbank
23a9d9954f
Make Fargate provider in 3 additional AWS regions.
2018-05-01 09:02:32 -04:00
Onur Filiz
831ea837b9
Fargate: Refactor e2e tests and make the region configurable
2018-04-30 17:58:29 -07:00
Onur Filiz
a9dd886840
Fargate: Fix default container memory resource limit
2018-04-30 17:58:29 -07:00
Onur Filiz
cf8af6b360
Fargate: Default to cluster name as virtual node name
2018-04-30 17:58:29 -07:00
Onur Filiz
40f94991c3
Update Fargate provider to use the renamed NodeCondition type
2018-04-26 11:06:42 -07:00
Onur Filiz
7628b62bce
Update documentation for initial Fargate release
2018-04-26 11:06:42 -07:00
Onur Filiz
22bafee6a8
Move container log definition to container class
2018-04-26 11:06:42 -07:00
Johannes Würbach
345b53d816
End-to-end tests
...
End-to-end test for the provider
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
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
e66d36308c
Add unit tests for fargate package
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
Onur Filiz
20ceae03f7
Add sample config file and instructions
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