Techiio-author
Started by Ricky NelsonAug 26, 2021

Open
How to auto deploy Docker containers from Amazon ECR to Kubernetes using Jenkins?

4 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 4 VIEWES SHARE

This is our environment:

  1. I have a Kubernetes cluster running on Amazon.
  2. Jenkins CI/CD running on Amazon that connects to a private GitLab and builds our services as Docker images.
  3. Amazon ECR that stores our Docker images.

My questions:

  1. How can I auto deploy images from ECR to Kubernetes (as pods) once the Jenkins pipeline pushes newly built images to ECR?
  2. Can I do that within Jenkins pipeline? I've read lots of material but I couldn't find how should it be done.

There is also a 3rd party tool like Keel but it doesn't support Amazon ECR (Webhook problem with ECR).

Any help would be appreciated.

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance