1. Elasticsearch
What Will You Do¶
For this exercise,
- You will configure and deploy Elasticsearch on your Kubernetes cluster managed by the Rafay Controller
- You will use the official Helm chart for Elasticsearch
Assumptions¶
You have already provisioned or imported one or more Kubernetes clusters using the Rafay Controller
Step 1: Create and Configure Workload¶
- Login into the Rafay Console
- Click on "New Workload", provide a name
- Select "Helm" for Package Type
- Select a namespace where you would like to deploy.
Step 2: Upload Helm Chart¶
- Upload the Helm chart file (TGZ format) for Elasticsearch that you downloaded from your preferred Helm repository such as Bitnami
Note
Users can download the helm chart in tgz format by using the helm client and issuing a command like "helm fetch stable/elasticsearch".
Step 3: Place and Deploy¶
- Navigate to "Placement" and select the cluster where you would like to deploy
- Navigate to the "Publish" and click on Publish.
Note
It can take approximately 3 minutes for the Elasticsearch Helm chart to transition from Pending to Published state.
Step 4: Debug¶
- Once publish starts, click on "Debug"
You should see the pods for "Elasticsearch" get deployed on the selected cluster. Wait for the pods to transition to "Running" state.
You should see ~8 pods become operational for your Elasticsearch Helm chart application deployment.
Recap¶
Congratulations! You have successfully deployed Elasticsearch on your Rafay managed Kubernetes Cluster.