-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
aws-s3-csi-controller
component (#299)
This is part of #279. This new component, `aws-s3-csi-controller`, will be the entry point for our controller component. It's using [controller-runtime](https://github.com/kubernetes-sigs/controller-runtime), specifically, it implements [`Reconciler`](https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg#hdr-Reconciler) interface to reconcile Pods in the cluster. It schedules Mountpoint Pods in turn to cluster events such as a new workload Pod using a PV backed by S3 CSI Driver getting scheduled into the cluster. It'd then schedule a Mountpoint Pod for that workload Pod in the same node to provide volume for that Pod. #279 is still WIP and this component contains some TODOs and it's not in use anywhere except in tests at the moment. --- By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --------- Signed-off-by: Burak Varlı <[email protected]>
- Loading branch information
Showing
19 changed files
with
1,804 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
**/credentials | ||
bin/ | ||
tests/bin | ||
go.work | ||
go.work.sum | ||
.github/artifacts/benchmark-data.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package csicontroller | ||
|
||
// Name of this component, this needs to be unique as its used as an identifier in logs and metrics. | ||
const Name = "aws-s3-csi-controller" |
Oops, something went wrong.