takidau / redpanda-ansible

Cluster configuration best practices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redpanda

Ansible role for installing and configuring Redpanda.

Installation

Add the following to a requirements.yml file:

- src: computology.packagecloud
- src: mrlesmithjr.mdadm
- src: git+https://github.com/vectorizedio/redpanda-ansible

Then execute:

ansible-galaxy install -r requirements.yml

Recommended hardware

The role assumes that the hosts where Redpanda is running are provisioned with SSD devices, and available as /dev/nvme0n1, /dev/nvme0n2, etc. In the case of AWS, it is recommended to use instance type i3.8xlarge and enable the redpanda_with_raid variable (see Role Variables below).

Requirements

  • Ansible >= 2.9
  • Ubuntu 18.04 on hosts.

Role Variables

  • redpanda_vectorizedio_packagecloud_token Required The master token provided by VectorizedIO to https://packagecloud.io.
  • redpanda_with_raid. Whether to aggregate the local SSD devices in RAID0 configuration (default: true).
  • redpanda_cluster_id. ID of the cluster being deployed (default: redpanda).
  • redpanda_cluster_org_id. ID of the organization that the cluster belongs to (default: vectorized-customer).

In addition, the role expects hosts in the inventory to be tagged with a private_ip variable that denotes the internal network IP address assigned to them.

Dependencies

Example Playbook

- hosts: redpanda
  roles:
  - { role: redpanda, redpanda_with_raid: true }

Author Information

VectorizedIO dev team

LICENSE

Apache-2.0

About

Cluster configuration best practices

License:Apache License 2.0