-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from aws-controllers-k8s/ack-example
Add example deploying ACK controllers with symphony
- Loading branch information
Showing
11 changed files
with
10,175 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Steps to deploy ack-controllers to cluster | ||
|
||
## Deploying Controllers | ||
### Prerequisites | ||
Create IRSA for IAM controller | ||
See [ACK Docs] (https://aws-controllers-k8s.github.io/community/docs/user-docs/irsa/) | ||
|
||
### Deployment order: | ||
1. IAM | ||
2. EC2 | ||
3. EKS | ||
|
||
### Steps | ||
For these EKS and EC2 controllers we are using the IAM controller to create | ||
the necessary roles for the service account | ||
1. Deploy Controller CRD Group | ||
2. Deploy Controller ResourceGroup | ||
3. Deploy Controller Instance (don't forget to include required fields) |
22 changes: 22 additions & 0 deletions
22
examples/ack-controller/ec2-controller/ec2-controller-instance.yaml
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,22 @@ | ||
apiVersion: x.symphony.k8s.aws/v1alpha1 | ||
kind: EC2controller | ||
metadata: | ||
name: my-symphony-ec2-controller | ||
namespace: default | ||
spec: | ||
name: ec2-controller | ||
namespace: default | ||
values: | ||
aws: | ||
accountID: "399481058530" | ||
deployment: {} | ||
iamRole: | ||
oidcProvider: oidc.eks.us-west-2.amazonaws.com/id/50B8942190FBD3A2EF2BF6AB7D27B06B | ||
image: | ||
resources: | ||
requests: {} | ||
limits: {} | ||
log: | ||
enabled: true | ||
level: debug | ||
serviceAccount: {} |
Oops, something went wrong.