Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carlossg/croc-hunter-argo
The croc-hunter demo running on Argo
https://github.com/carlossg/croc-hunter-argo
Last synced: about 1 month ago
JSON representation
The croc-hunter demo running on Argo
- Host: GitHub
- URL: https://github.com/carlossg/croc-hunter-argo
- Owner: carlossg
- License: apache-2.0
- Created: 2023-01-23T17:45:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-14T16:41:25.000Z (2 months ago)
- Last Synced: 2024-09-15T02:31:40.999Z (2 months ago)
- Language: JavaScript
- Size: 272 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Croc Hunter - The game!
For those that have dreamt to hunt crocs
# Usage
Basic [Quarkus](https://quarkus.io/) app to demonstrate example Canary rollout using Kubernetes
# Local Development
Quarkus comes with a [built-in development mode](https://quarkus.io/guides/maven-tooling). Run your application with:
```bash
mvn compile quarkus:dev
````mvn package` will do the build.
`docker build .` will create a docker image.
# Deploy using Helm
```bash
helm upgrade -i croc-hunter ./charts/croc-hunter-argo
```# Ingress
The app is available at http://croc-hunter.argo.csanchez.org/ and http://croc-hunter-preview.argo.csanchez.org/
The domain is set with the helm value `domain`
# Managing the Rollout
## Watch the rollout
```bash
kubectl argo rollouts get rollout croc-hunter --watch
```or
```
kubectl argo rollouts dashboard
```and go to [the dashboard](http://localhost:3100/rollouts)
## Upgrade the image
```bash
kubectl argo rollouts set image \
croc-hunter \
croc-hunter-argo=gcr.io/api-project-642841493686/croc-hunter-argo:v2
```## Manually promote the canary
```bash
kubectl argo rollouts promote croc-hunter
```# Acknowledgements
Original work by [Lachlan Evenson](https://github.com/lachie83/croc-hunter)
Continuation of the awesome work by everett-toews.
* https://gist.github.com/everett-toews/ed56adcfd525ce65b178d2e5a5eb06aa