Build Process
This section shows you how to build the reference architecture.
Prerequisites
Before starting the deployment, ensure you have the following:
Terraform 1.5.7+: For infrastructure deployment
kubectl 1.27+: For communicating with the Kubernetes cluster
Helm v3: Package manager for Kubernetes
Access to a Kubernetes cluster: With permissions to create and manage resources
Deployment Steps
Execute the following Terraform commands in sequence:
Complete the Terraform Configuration steps.
Configure the
TFVAR_FILEenvironment variable:shellexport TFVAR_FILE=/path/to/myfile.tfvarsInitialize Terraform:
shellterraform initSet the
KUBECONFIGfile:shellexport KUBECONFIG=/path/to/kubeconfigThis will be used later on to interact with the Kubernetes cluster.
Deploy LogScale CRDs:
shellterraform apply -target module.logscale.module.crdsDeploy LogScale:
shellterraform apply -target module.logscaleConfirm the deployment was successful.
You can run the following command to ensure pods are running:
shellkubectl get pods -n logging
Exposing the LogScale service varies based on the Kubernetes setup. Some clusters might use a solution such as MetalLB, others might rely on reverse proxies and / or Node IPs.