Based on The Apache HTTP Server Project official image.
The webserver takes code from blue-green-html-example in Github. Basically, I have two images with two versions of the same code that change background colour.
To use this images just create two differents deployments that link with the two differents images.
For example, to deploy the first blue image you can use:
spec:
containers:
- name: app
image: aramirol/bluegreen-example:0.0.1
ports:
- containerPort: 80
To deploy the second green image you can use:
spec:
containers:
- name: app
image: aramirol/bluegreen-example:0.0.2
ports:
- containerPort: 80
MIT License
See LICENSE to see the full text.
Content type
Image
Digest
Size
95.1 MB
Last updated
over 4 years ago
docker pull aramirol/bluegreen-example:0.0.2