EasyRollback is aim to easy rollback to previous images that deployed on k8s environment
You should have go installation first go to install Golang.
brew install go
Then get project
go get -v github.com/Trendyol/easy-rollback
Or you can easily download project via brew (OSX package manager)
brew tap trendyol/trendyol-tap brew install easy-rollback
Project look at your .kube/config file to read current-context configs hence of you should have kubernetes environment configurations inside .kube/config.
easy-rollback list --deployment <deployment> --namespace <namespace> --> Will list all of your previous deployed images. easy-rollback rollback --to-image <image> --deployment <deployment> --namespace <namespace> --> Will rolback your deployment to given image.