This directory contains playbooks for managing configuration updates related to cloud buckets, specifically for AWS and GCP environments.
Steps to modify AWS access for an AIStore cluster within Kubernetes:
- Place the required AWS
config
andcredentials
files into the directoryroles/aws_config/files
. - Execute the AWS playbook using the command:
ansible-playbook -i inventory.yaml playbooks/cloud/ais_aws_config.yml
. - The playbook will transfer the AWS configuration files to the Kubernetes controller host. It will then create or update the Kubernetes secret and delete the files from the local system.
Steps to modify GCP access for an AIStore cluster within Kubernetes:
- Place the required GCP
credentials
JSON file (gcp.json
) into the directoryroles/gcp_config/files
. - Execute the GCP playbook using the command:
ansible-playbook -i inventory.yaml playbooks/cloud/ais_gcp_config.yml
. - The playbook will transfer the GCP credentials JSON to the Kubernetes controller host. It will then create or update the Kubernetes secret and delete the files from the local system.
Note: Ensure that the AIStore cluster is pre-configured for AWS or GCP integration and possesses an existing AWS/GCP Kubernetes secret. Refer to the operator deployment instructions for additional information.