You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
`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'
at invokeUserFunction (/var/task/framework.js:2:6)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async onEvent (/var/task/framework.js:1:369)
at async Runtime.handler (/var/task/cfn-response.js:1:1676) (RequestId: be6c1a7a-da93-4dbe-8d15-1081fe1fd28c)`
Is there anything that I need to do to enable this process?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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