Sign inSign up

aramirol/bluegreen-example

By aramirol

•Updated over 4 years ago

Image
0

123

aramirol/bluegreen-example repository overview

⁠Blue/Green Example

Docker Pulls Docker Image Size (latest semver) GitHub

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.

⁠How to

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:

Blue Deployment

    spec:
      containers:
      - name: app
        image: aramirol/bluegreen-example:0.0.1
        ports:
        - containerPort: 80

To deploy the second green image you can use:

Green Deployment

    spec:
      containers:
      - name: app
        image: aramirol/bluegreen-example:0.0.2
        ports:
        - containerPort: 80

⁠License

MIT License

See LICENSE⁠ to see the full text.

Tag summary

Content type

Image

Digest

Size

95.1 MB

Last updated

over 4 years ago

docker pull aramirol/bluegreen-example:0.0.2