Replies: 1 comment 2 replies
-
Any update or workaround for this? Ran into the same issue, haven't found a way to get connection to the cluster out of the box. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings,
I'm attempting to deploy a Helm chart on an EKS cluster with a private endpoint using CDK. I'm getting a connection timeout when I attempt to deploy the CDK.
I import the cluster using the following CDK:
const cluster = cdk.aws_eks.FargateCluster.fromClusterAttributes(this, 'cluster', { clusterName:
kube-${env}, vpc: vpc, securityGroupIds: [eksSgId1, eksSgId2], clusterSecurityGroupId: eksSgId1, kubectlLambdaRole: cdk.aws_iam.Role.fromRoleArn(this, 'kubectl-lambda-role', kubectlLambdaRoleArn), kubectlRoleArn: kubectlRoleArn, clusterEndpoint: clusterEndpoint });
And I install using the following CDK:
const connectedServices = new cdk.aws_eks.HelmChart(this, 'connected-services-helm',{ cluster: cluster, chart: 'connected-services', release: 'connected-services', namespace: "connected-services", createNamespace: false, repository: 'private', version: '1.2.0', });
But I get the following error message:
`The stack named EksApplicationsStack failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Received response status [FAILED] from custom resource. Message returned: Error: b'Error: Kubernetes cluster unreachable: Get "https://private.eks.amazonaws.com/version": dial tcp xxx.xxx.xxx.xxx:443: i/o timeout\n'
Logs: /aws/lambda/EksApplicationsStack-EksApplicatio-Handler886CB40B-pZyH4Nknnjvr
Is there anything that I need to do to enable this process?
Beta Was this translation helpful? Give feedback.
All reactions