This repo is an example of using fleet within rancher to automate continuous deployment.
- Create a new EKS cluster in your rancher space (Or use an existing one you have credentials installed for)
- Create the following namespaces on each cluster you'd like to deploy to (Ideally within their own projects)
- production
- staging
- dev
- Deploy this repository using fleet (Rancher continuous deployment pipeline)
- Remember that master branch is now main branch
- Leave the path as the root
- Select whatever clusters or cluster groups you'd like to deploy to.
- Grab the new load balancer external hostnames from the links in the service menu
- Update the CNAME records to point to the external hostnames AWS has given
- Enjoy!
Credit to https://github.com/paulbouwer/hello-kubernetes for supplying a great example container to deploy with!