Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.45 KB

README.md

File metadata and controls

22 lines (14 loc) · 1.45 KB

Cloud Bucket Configuration Playbooks

This directory contains playbooks for managing configuration updates related to cloud buckets, specifically for AWS and GCP environments.


AWS Configuration

Steps to modify AWS access for an AIStore cluster within Kubernetes:

  1. Place the required AWS config and credentials files into the directory roles/aws_config/files.
  2. Execute the AWS playbook using the command: ansible-playbook -i inventory.yaml playbooks/cloud/ais_aws_config.yml.
  3. 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.

GCP Configuration

Steps to modify GCP access for an AIStore cluster within Kubernetes:

  1. Place the required GCP credentials JSON file (gcp.json) into the directory roles/gcp_config/files.
  2. Execute the GCP playbook using the command: ansible-playbook -i inventory.yaml playbooks/cloud/ais_gcp_config.yml.
  3. 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.