<commit_before>Runs an [Exhibitor](https://github.com/Netflix/exhibitor)-managed [ZooKeeper](http://zookeeper.apache.org/) cluster using S3 for backups and automatic node discovery.

### Usage

###### Docker Image

We advise to use the official release in the OpenSource Registry of Zalando. You can find out the latest here:
```
curl -s https://registry.opensource.zalan.do/teams/acid/artifacts/exhibitor/tags | jq "sort_by(.created)"
```

If you want to build your own image see here: http://docs.stups.io/en/latest/user-guide/deployment.html#prepare-the-deployment-artifact

###### Create S3 bucket
```
S3_BUCKET="exhibitor-bucket"
aws s3 mb s3://$S3_BUCKET
```

###### Register appliance in YOUR TURN
Docs: http://docs.stups.io/en/latest/components/yourturn.html

Make sure that your got an unique ```APPLICATION_ID```

###### Deploy with Senza
```
senza create exhibitor-appliance.yaml <STACK_VERSION> <DOCKER_IMAGE_WITH_VERSION_TAG> <HOSTED_ZONE> $S3_BUCKET <SCALYR_KEY> [--region AWS_REGION]
```

A real world example would be:
```
senza create exhibitor-appliance.yaml postgres acid-exhibitor DockerImage=registry.opensource.zalan.do/acid/exhibitor:3.4-p4 HostedZone=example.org. ExhibitorBucket=exhibitor-bucket ScalyrAccountKey=some_scalyr_key --region eu-west-1
```<commit_msg>format senza commands, update exhibitor version<commit_after>Runs an [Exhibitor](https://github.com/Netflix/exhibitor)-managed [ZooKeeper](http://zookeeper.apache.org/) cluster using S3 for backups and automatic node discovery.

### Usage

###### Docker Image

We advise to use the official release in the OpenSource Registry of Zalando. You can find out the latest here:
```
curl -s https://registry.opensource.zalan.do/teams/acid/artifacts/exhibitor/tags | jq "sort_by(.created)"
```

If you want to build your own image see here: http://docs.stups.io/en/latest/user-guide/deployment.html#prepare-the-deployment-artifact

###### Create S3 bucket
```
S3_BUCKET="exhibitor-bucket"
aws s3 mb s3://$S3_BUCKET
```

###### Register appliance in YOUR TURN
Docs: http://docs.stups.io/en/latest/components/yourturn.html

Make sure that your got an unique ```APPLICATION_ID```

###### Deploy with Senza
```
senza create exhibitor-appliance.yaml <STACK_VERSION> \
  DockerImage=<DOCKER_IMAGE_WITH_VERSION_TAG> \
  HostedZone=<HOSTED_ZONE> \
  ExhibitorBucket=$S3_BUCKET \
  ScalyrAccountKey=<SCALYR_KEY> \
  [--region AWS_REGION]
```

A real world example would be:
```
senza create exhibitor-appliance.yaml acid-exhibitor \
  DockerImage=registry.opensource.zalan.do/acid/exhibitor:3.4-p5 \
  HostedZone=example.org. \
  ExhibitorBucket=exhibitor-bucket \
  ScalyrAccountKey=some_scalyr_key \
  --region eu-west-1
```
{'fraction_non_alphanumeric': 0.1353355580274379, 'fraction_numerical': 0.008157211716722283, 'mean_word_length': 5.117913832199546, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '430929', 'n_tokens_mistral': 965, 'n_tokens_neox': 920, 'n_words': 214}