kitsirota / redis-boshrelease

One of the fastest ways to get redis running on any infrastructure is to deploy this bosh release

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BOSH release for Redis

One of the fastest ways to get redis running on any infrastructure is to deploy this bosh release.

Deploy Redis cluster with pre-compiled releases:

bosh -d redis deploy \
    <(curl -L https://raw.githubusercontent.com/cloudfoundry-community/redis-boshrelease/master/manifests/redis.yml) \
    -o <(curl -L https://raw.githubusercontent.com/cloudfoundry-community/redis-boshrelease/master/manifests/operators/use-compiled-releases.yml)

Usage

This repository includes base manifests and operator files. They can be used for initial deployments and subsequently used for updating your deployments.

To deploy a 2-node cluster:

export BOSH_ENVIRONMENT=<alias>
export BOSH_DEPLOYMENT=redis

git clone https://github.com/cloudfoundry-community/redis-boshrelease.git
bosh deploy redis-boshrelease/manifests/redis.yml

If your BOSH does not have Credhub/Config Server, then remember --vars-store to allow generation of passwords and certificates.

bosh deploy redis-boshrelease/manifests/redis.yml --vars-store creds.yml

If you have any errors about Instance group 'redis' references an unknown vm type 'default' or similar, there is a helper script to select a vm_type and network from your Cloud Config:

bosh deploy redis-boshrelease/manifests/redis.yml -o <(./manifests/operators/pick-from-cloud-config.sh)

There you can speed up initial deployment using pre-compiled releases with the use-compiled-releases.yml operator file:

bosh deploy redis-boshrelease/manifests/redis.yml -o manifests/operators/use-compiled-releases.yml

Update

When new versions of redis-boshrelease are released the manifests/redis.yml file will be updated. This means you can easily git pull and bosh deploy to upgrade.

export BOSH_ENVIRONMENT=<alias>
export BOSH_DEPLOYMENT=redis
cd redis-boshrelease
git pull
cd -
bosh deploy redis-boshrelease/manifests/redis.yml

Development

To create/upload/deploy local changes to this BOSH release use the create.yml operator:

bosh -d redis deploy manifests/redis.yml -o manifests/operators/create.yml

About

One of the fastest ways to get redis running on any infrastructure is to deploy this bosh release

License:Apache License 2.0


Languages

Language:Shell 52.5%Language:HTML 47.5%