Sign inSign up

aramirol/blue-green-deployment

By aramirol

•Updated over 4 years ago

Image
1

85

aramirol/blue-green-deployment repository overview

⁠Blue/Green Example deployments

Docker Pulls Docker Image Size (latest semver) GitHub

Simple container with CentOS 7 and Apache server installed. 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/blue-green-deployment:0.0.1
        ports:
        - containerPort: 80

To deploy the second green image you can use:

Green Deployment

    spec:
      containers:
      - name: app
        image: aramirol/blue-green-deployment:0.0.2
        ports:
        - containerPort: 80

⁠License

MIT License

See LICENSE⁠ to see the full text.

Tag summary

Content type

Image

Digest

Size

170 MB

Last updated

over 4 years ago

docker pull aramirol/blue-green-deployment:0.0.2