https://github.com/probably-not/eks-image-updater
Sometimes you just need to update an image in EKS
https://github.com/probably-not/eks-image-updater
Last synced: 2 months ago
JSON representation
Sometimes you just need to update an image in EKS
- Host: GitHub
- URL: https://github.com/probably-not/eks-image-updater
- Owner: probably-not
- Created: 2022-03-28T08:17:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-28T06:39:15.000Z (about 4 years ago)
- Last Synced: 2025-02-24T16:53:23.340Z (over 1 year ago)
- Language: Go
- Size: 43.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# eks-image-updater
Sometimes, you don't need a full fledged CI/CD operator with all the bells and whistles.
Sometimes, you just need to update the image that your service is running.
This is a very simple cronjob that runs within your Kubernetes cluster, and updates your deployments to the tags that are marked by the tag you want to watch.
## Example
Let's say you have a service in the default namespace called service-a.
Let's also say that you tag each production docker image with the tag "prod".
The cronjob can be run with these flags:
```shell
./eks-image-updater --services=default/service-a --tag=prod
```
This will find the service-a Dockerfile, look for the prod tag, and update the service-a deployment image to the image tagged with the prod tag.