Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codepipeline EKS support #51

Open
runningman84 opened this issue Dec 12, 2018 · 10 comments
Open

Codepipeline EKS support #51

runningman84 opened this issue Dec 12, 2018 · 10 comments
Labels
EKS Amazon Elastic Kubernetes Service Proposed Community submitted issue

Comments

@runningman84
Copy link

Tell us about your request
Kubernetes deployment in CodePipeline

Which service(s) is this request for?
EKS,

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Right now you have to run kubectl apply within codebuild or create a custom lambda function to handle the k8s access. It would be cool if CodeDeploy would support kubernetes/helm deployments out of the box.

Are you currently working around this issue?
Using jenkins instead of CodePipeline

@runningman84 runningman84 added the Proposed Community submitted issue label Dec 12, 2018
@tabern tabern added the EKS Amazon Elastic Kubernetes Service label Jan 16, 2019
@tabern
Copy link
Contributor

tabern commented Jan 30, 2019

Hey @runningman84 - we've written a way to connect CodePipeline and EKS here (https://eksworkshop.com/codepipeline/).

Does this solve the issue for you? Or if you have something else in mind, how would you want to see if implemented?

@cc654586411
Copy link

cc654586411 commented Apr 19, 2019

Hi @tabern - If our source code is on the company's internal BitBucket, how should we integrate with CodePipeline?

Or how to implement the CI CD in this case. Recently, App Mesh also released the GA version (Mar 27, 2019). We intend to implement the micro service architecture in combination with EKS and App Mesh.

I know that there are teams that do this, but some of the steps are more complicated.

@runningman84
Copy link
Author

@tabern using codebuild you have a very simple solution. You have to implement error handling yourself. You do not see any progress bar and you are not able to rollback.

@ecout
Copy link

ecout commented Sep 10, 2019

+1: There are current some work arounds like using kubectl or a lambda function but no EKS agent.

@ecout
Copy link

ecout commented Sep 11, 2019

Been almost a year now.

@ddavtian
Copy link

ddavtian commented Dec 2, 2019

There are options available in deploying to EKS through a Lambda function, here's a walkthrough of that: https://medium.com/@alejandro.millan.frias/managing-kubernetes-from-aws-lambda-7922c3546249 and also doing other hacks in CodeBuild to get it working. With that said it would be extremely valuable to support this natively via CodeDeploy.

@yeshodhan
Copy link

We've given up on CodeDeploy and CodePipeline after switching to Kubernetes. All CI/CD pipelines are now moved to Jenkins.

@lefperuch
Copy link

We're also considering not using CodePipeline anymore to deploy our Kubernetes applications. We've decided to follow the Lambda Deploy path, and it has been a nightmare for us ever since. Not having the ability to use CodeDeploy with EKS (which is also provided by AWS) after more than a year since this feature have been requested is very sad.

@ecout
Copy link

ecout commented Feb 28, 2020

That's almost 21 months. No triage. Interesting.

@robbyt
Copy link

robbyt commented Aug 18, 2020

Hey @runningman84 - we've written a way to connect CodePipeline and EKS here (https://eksworkshop.com/codepipeline/).

In this example, the build and deploy happens in the same step, and I don't think this is correct.

The main benifit of using CodePipeline is to have multiple customizable steps in the deployment- e.g., push code to a git repo, automatically build a new docker image, deploy it to the Dev cluster, wait for manual approval before deploying it to the production cluster, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EKS Amazon Elastic Kubernetes Service Proposed Community submitted issue
Projects
None yet
Development

No branches or pull requests

8 participants