This directory contains ansible playbooks for setting up an AIStore cluster in K8s.
- Ansible installed locally See the Ansible installation guide.
The playbooks are broken up into multiple sections, which should be executed in order.
- host-config playbooks configure K8s nodes to optimize the network and storage performance
- cloud playbooks set up K8s secrets with static credentials for accessing cloud backends, e.g. s3 and gcp
- (optional) security contains the
os-hardeningplaybook to harden the OS for CISCAT scans. This includes various security measures such as configuring sysctl settings, journald, sshd, and ensuring audit logs and AIDE setup.
An example hosts file is provided, hosts-example.ini. You will need to set this up with your own hosts before running the playbooks.
Make sure to specify the controller node in the hosts.ini file and configure the controller host with kubectl access.
For additional ansible config tweaks, you can create an ansible.cfg file. Check the Ansible documentation for this, as options may change with new versions.