Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This article instructs on explains how to create a DaemonSet in order to install and run 1 one sample of Cloudaware Breeze agent on every node of a cloud-managed Kubernetes cluster (Amazon EKS, Azure AKS, Google GKE). This allows to enable TunHub on the cluster and get the URL for further configuration of Kubernetes integration in Cloudaware. Linux only.

Table of Contents

Prerequisites

Amazon EKS: ensure that Cloudaware has required permissions using this guide.

Azure AKS: ensure that Cloudaware has required permissions using this guide.

Description

DaemonSet starts the container with Breeze agent installer. The container has two bind mounts:

  • host:/opt > container:/opt - used  used for the Breeze agent installation from container to the host file system

  • host:/ > container:/var/root - used  used for launching the agent in the chroot environment

The container runs two commands:

  1. Install the Breeze agent to the /opt directory.

  2. Run the simple daemon which runs the Breeze agent every 15 minutes

...

  1. .

Steps

1. Open Cloudaware Github GitHub repo with Kubernetes files. Clone the repo to your Github using the following command:

...

2. Log in to Cloudaware account . Select Admin under your username in the upper right corner. Admin.

...

3. Locate Find Breeze in the list of DevOps Integrations. Click 1 Configured.

...

4. Download Select the Breeze installer file (for Linux)file for Linux*:

...

*This integration is for Linux only.

5. Untar the Breeze installer and copy the extracted files (./breeze-agent folder) into kubernetes/daemonset folder of the cloned repo:

Code Block
cd breeze-tools/kubernetes/daemonset && tar xzvf <DOWNLOADS_PATH>/breeze-agent.example.version.0.x86_64.linux.tgz

WHERE

breeze-agent.example.version.0.x86_64.linux.tgz should be replaced by the name of the dowloaded installer file (e.g. breeze-agent.1x11xx1xxxx11x11111x1x1x.11111111.0.x86_64.linux.tgz).

...

Code Block
docker push <CONTAINER_REGISTRY_HOSTNAME>/ca-breeze-ds:latest 

WHERE

<CONTAINER_REGISTRY_HOSTNAME> is a placeholder that needs to be replaced by your private container registry URI (e.g. 111111111111.dkr.ecr.us-east-1.amazonaws.com/breeze-agent).

...

9. To verify that the DaemonSet has been created, you may run the following command:

Code Block
kubectl get ds

...