Skip to content

(aws-eks): add service ip range setting to cluster class  #16541

@Krotki

Description

@Krotki

In console we can specify Service IPv4 range, same goes with CfnCluster class, which contains kubernetesNetworkConfig? property. Unfortunately it is not possible to set it via Cluster class.

Use Case

We planed to migrate our on-premis k8s kluster to aws. To do it we planned to expose pod's k8s network and service k8s network to EKS via VPN and adjust CoreDNS accordingly. Unfortunately by default k8s comes with service ip range of 10.96.0.0/12, EKS comes with 10.100.0.0/16, which overlap. Since our cluster is up and running, we cannot change it. The only option to enable this scenerio is to create new EKS cluster with different service ip range.

Proposed Solution

Actually I'm not sure how Cluster class works ATM, but if it uses CfnCluster class underneath, it is only a matter of exposing kubernetesNetworkConfig? property.

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-eksRelated to Amazon Elastic Kubernetes Serviceeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions