Installation

This section provides a step-by-step guide to installing LivestreamIQ in a Kubernetes environment.

It covers essential tasks such as pulling the Docker images, setting up persistent storage with Persistent Volumes (PV) and Persistent Volume Claims (PVC), deploying the application, and configuring services and ingress for routing. Follow these instructions to ensure a smooth and secure deployment of LivestreamIQ in any production or development environment.

2.1 Pulling the Docker image of LivestreamIQ

To deploy LivestreamIQ, the first step is to pull the pre-built Docker image from your designated container registry. This Docker image contains the application and all its dependencies, which are ready for deployment in your Kubernetes environment. Follow these steps to pull the image:

  1. Log in to the Container Registry:

Ensure you are authenticated to the target container registry where the LivestreamIQ image is stored. Use the following command to log in: docker login registry.prodevans.com

  1. Pull the Docker Image:

Once logged in, pull the LivestreamIQ image using the appropriate image tag: docker pull registry.prodevans.com/livestreamiq/livestreamiq:<version>

Replace <version> with the specific version of LivestreamIQ you want to deploy.

  1. Verify the Image:

After pulling the image, you can verify that it has been successfully downloaded by listing the available images:

docker images

This process ensures that the LivestreamIQ Docker image is pulled from the registry and ready for deployment in your environment.

2.2 Deploying Resources and Configuring Ingress

Once the Docker image has been pulled, the next step is to set up the necessary resources for LivestreamIQ to run within the Kubernetes environment. This involves creating Persistent Volumes (PV) and Persistent Volume Claims (PVC) for storage, deploying the application, exposing it via services, and configuring the ingress for routing. Follow these steps to deploy these components:

  1. Create Persistent Volume (PV):

Persistent Volumes provide storage resources that LivestreamIQ can use. Apply the pre-configured YAML file for the PV:

kubectl apply -f livestream-pv.yaml

This command creates the persistent volume in your Kubernetes cluster.

  1. Create Persistent Volume Claim (PVC):

PVCs request storage from the PVs, ensuring that the application has the necessary storage capacity. Apply the PVC configuration:

kubectl apply -f lvs-pvc.yaml

This command creates the persistent volume claim in your Kubernetes cluster.

  1. Create Application Deployment:

Deploy LivestreamIQ by applying the deployment YAML configuration. This will define how the Docker image is instantiated and the number of replicas:

kubectl apply -f livestream-deployment.yaml

Ensure the configuration reflects your environment (e.g., resource allocation, image tag).

  1. Create Service:

Services expose the application for internal or external access. To create the service, apply the service YAML file:

kubectl apply -f livestream-service.yaml

This step will expose LivestreamIQ to other services or clients within the cluster.

  1. Configure Ingress:

Ingress provides routing rules to make LivestreamIQ accessible externally. Apply the ingress configuration to route traffic:

kubectl apply -f <ingress-configuration.yaml>

Ensure the ingress rules are appropriately set for the domain and paths required by your deployment.

By following these steps, LivestreamIQ will be deployed with the necessary storage, services, and routing configurations, making it fully operational in your Kubernetes cluster.

Last updated