The Code Services Continuous Deployment reference architecture demonstrates how to achieve continuous deployment of an application to a Kubernetes cluster using AWS CodePipeline, AWS CodeCommit, AWS CodeBuild and AWS Lambda.
Pipeline is failing in the deploy stage where the lambda gets executed. I am getting the Max retries exceeded. I created the cluster using eksctl and followed all the steps. For client certificate I had generated using API gateway. After completing the build step it keeps failing with max retries exceeded. I checked the access on VPC etc and looks like it is all set correctly. Made the s3 buckets public to avoid access issue but still same issue.
Exact error from the log HTTPSConnectionPool(host='2919fee7a7489d0c8e3ba91ca442c4c4.sk1.us-east-2.eks.amazonaws.com', port=443): Max retries exceeded with url: /apis/extensions/v1beta1/namespaces/default/deployments/codesuite-demo (Caused by SSLError(SSLError(336445449, '[SSL] PEM lib (_ssl.c:3499)'),))
Pipeline is failing in the deploy stage where the lambda gets executed. I am getting the Max retries exceeded. I created the cluster using eksctl and followed all the steps. For client certificate I had generated using API gateway. After completing the build step it keeps failing with max retries exceeded. I checked the access on VPC etc and looks like it is all set correctly. Made the s3 buckets public to avoid access issue but still same issue. Exact error from the log HTTPSConnectionPool(host='2919fee7a7489d0c8e3ba91ca442c4c4.sk1.us-east-2.eks.amazonaws.com', port=443): Max retries exceeded with url: /apis/extensions/v1beta1/namespaces/default/deployments/codesuite-demo (Caused by SSLError(SSLError(336445449, '[SSL] PEM lib (_ssl.c:3499)'),))