SignalR based application that allows website users to light fireworks and display on all the connected site users. You can light single or multi shot using the app. There is also a button that can stimulate a crash /home/admin. Pressing the button again will make the application run again.
The application can only run as a single instance and does not support scaleout at present, unless backpane is setup using
SIGNALR_CS
environment variable
- 80
-
Green: kunalbabre/fireworks:green
-
Blue: kunalbabre/fireworks:blue
-
Red: kunalbabre/fireworks:red
-
Yellow: kunalbabre/fireworks:yellow
-
Latest: kunalbabre/fireworks:latest
- Trigger Single -
/home/singleshot
- Trigger Multishot -
/home/multishot
-
Liveness: /home/isRunning
- returns HTTP 200 if the application is alive
- returns HTTP 400 if the application has crashed
-
Readiness: /home/isRunning
- returns HTTP 200 if the application is alive
- returns HTTP 400 if the application has crashed
SIGNALR_CS
: (optional) if you wish to scale-out you can provide connection string for Redis or Azure SignalRAPP_COLOR
: (works with latest tag) you can specify theme color for the app (red,green, blue, yellow)
- Create Deployment for firework apps (using the
green
tag) - Create Service to expose the app externally and name it
fireservice
- Scale App to 4 instance
- Update Deployment to use
Blue
image, using Rolling update and 50% maxSurge - Use Blue-Green Deployment technique to update the app with
Red
image - Use the Canary Deployment technique to redirect 25% traffic to
Blue
image
-
Configure the 'fireworks' pods to only accept traffic when ready and auto restart if crashed.