Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rishabh96b/fusionhub
A sample web application fabricated with Golang, Go Templates, HTML & CSS.
https://github.com/rishabh96b/fusionhub
golang http kubernetes
Last synced: 20 days ago
JSON representation
A sample web application fabricated with Golang, Go Templates, HTML & CSS.
- Host: GitHub
- URL: https://github.com/rishabh96b/fusionhub
- Owner: rishabh96b
- License: mit
- Created: 2023-09-11T14:55:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-12T10:24:08.000Z (over 1 year ago)
- Last Synced: 2024-10-16T02:57:43.770Z (2 months ago)
- Topics: golang, http, kubernetes
- Language: HTML
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fusionhub
A sample web application fabricated with Golang, Go Templates, HTML & CSS. This app serves as a practical demonstration of the deployment patterns like Blue-Green, Canary etc. on k8s.## How It Works
### Dynamic Content
The application dynamically displays a message on the webpage, and the background color of the page is customizable based on the value of an environment variable (`FUSIONHUB_COLOR`).
The primary feature of this application is its ability to demonstrate blue-green deployment. It offers two distinct versions: "blue" and "green," each represented by a different environment variable (`FUSIONHUB_COLOR=blue` or `FUSIONHUB_COLOR=green`). Depending on the value of this environment variable, the application will display either a blue-themed or green-themed webpage. This enables seamless switching between versions without any downtime or interruptions.
## Running the Application
```bash
docker run -e COLOR=blue -p 8080:80 rishabh96b/fusionhub
```
Above command will run the blue application.