Skip to content

Commit

Permalink
Merge pull request #50 from aws-controllers-k8s/ack-example
Browse files Browse the repository at this point in the history
Add example deploying ACK controllers with symphony
  • Loading branch information
a-hilaly authored Oct 14, 2024
2 parents 94bb0d4 + 0982f5d commit 465b437
Show file tree
Hide file tree
Showing 11 changed files with 10,175 additions and 29 deletions.
18 changes: 18 additions & 0 deletions examples/ack-controller/README.md
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)
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: {}
Loading

0 comments on commit 465b437

Please sign in to comment.