aws / aws/aws-cdk

(aws-eks): Apply folder k8s resources to existing cluster

Open
#11,764 7 comments 1 reaction 0 assignees View on GitHub
@aws-cdk/aws-eks @aws-cdk/aws-eks-v2-alpha effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

It would be neat if we could add a folder filled with k8s resources to eks cluster.

```
kubectl apply -k "github.com/aws/eks-charts/stable/aws-load-balancer-controller//crds?ref=master"
```

### Use Case

I'm trying to add an ALB ingress controller to the EKS cluster. But right now cannot do that through CDK.
I need to add custom resource definitions present online.
**Source:** [AWS_EKS_INGRESS_GUIDE](https://docs.aws.amazon.com/eks/latest/userguide/alb-ingress.html)

```
kubectl apply -k "github.com/aws/eks-charts/stable/aws-load-balancer-controller//crds?ref=master"
```
### Proposed Solution

I'm not sure how to proceed with this.
Adding constructor props to select folder mode to KubernetesManifest class and similarly adding a prop to addManifest() function of @aws-cdk/aws-eks.Cluster class

---

This is a :rocket: Feature Request

Contributor guide

Open the contributing guide

Research direction

Start by reading the KubernetesManifest class and the addManifest() entry point on @aws-cdk/aws-eks.Cluster. Compare the requested kubectl apply -k behavior with the existing CDK APIs and determine the intended constructor and method props. Done means an existing EKS cluster can apply a folder of remote Kubernetes resources through CDK.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, kubernetes, typescript
Domain
cloud, devops, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.