openstack-helm-infra/roles/deploy-env
Vladimir Kozhukalov 7f783dba51 Update elasticsearch chart to work with Rook Ceph
When using Rook for managing Ceph we can use
Rook CRDs to create S3 buckets and users.

This PR adds bucket claim template to the
elasticsearch chart. Rook creates a bucket for
a bucket claim and also creates a secret
containing the credentials to get access to this
bucket. So we also add a snippet to expose
these credentials via environment variables to
containers where they are needed.

Change-Id: Ic5cd35a5c64a914af97d2b3cfec21dbe399c0f14
2023-11-26 19:34:42 -06:00
..
defaults Deploy Ceph on multi-node envs 2023-11-24 19:06:08 -06:00
files Deploy Ceph on multi-node envs 2023-11-24 19:06:08 -06:00
handlers Deploy Ceph on multi-node envs 2023-11-24 19:06:08 -06:00
tasks Update elasticsearch chart to work with Rook Ceph 2023-11-26 19:34:42 -06:00
README.md Fix private key paths in the deploy-env role README.md 2023-10-26 22:20:17 +00:00

This role is used to deploy test environment which includes

  • install necessary prerequisites including Helm
  • deploy Containerd and a container runtime for Kubernetes
  • deploy Kubernetes using Kubeadm with a single control plain node
  • install Calico as a Kubernetes networking

The role works both for singlenode and multinode inventories and assumes the inventory has the node called primary and the group called nodes.

See for example:

all:
  children:
    ungrouped:
      hosts:
        primary:
          ansible_port: 22
          ansible_host: 10.10.10.10
          ansible_user: ubuntu
          ansible_ssh_private_key_file: /home/ubuntu/.ssh/id_rsa
          ansible_ssh_extra_args: -o StrictHostKeyChecking=no
    nodes:
      hosts:
        node-1:
          ansible_port: 22
          ansible_host: 10.10.10.11
          ansible_user: ubuntu
          ansible_ssh_private_key_file: /home/ubuntu/.ssh/id_rsa
          ansible_ssh_extra_args: -o StrictHostKeyChecking=no
        node-2:
          ansible_port: 22
          ansible_host: 10.10.10.12
          ansible_user: ubuntu
          ansible_ssh_private_key_file: /home/ubuntu/.ssh/id_rsa
          ansible_ssh_extra_args: -o StrictHostKeyChecking=no