Deploying Litmus UNS on Kubernetes cluster with ArgoCD
4 min
You can deploy Litmus UNS using ArgoCD to ensure your Kubernetes cluster is equipped with the necessary configurations and resources.
Before You Begin
- Ensure you have ArgoCD set up and connected to a working Kubernetes cluster.
Important Notes:
- Do not enable the PRUNE function.
- The current version of Litmus UNS may result in specific resources remaining out of sync within the ArgoCD application.
- These include the litmus-uns-creds , luns-default-tls and mqtt-migration pods.
- (While these limitations exist, they do not affect the overall functionality of your deployment.)
- It's crucial to understand that both litmus-uns-creds and luns-default-tls are essential resources and should not be removed.
- This is why the PRUNE function is not applicable during update or upgrade procedures.
- As for the mqtt-migration pods, they can be manually deleted once their status shows that they have completed their tasks.
Step 1: Initial Setup for Litmus UNS Deployment
To deploy Litmus UNS on Kubernetes cluster:
- Obtain the secret YAML file from Litmus via the Litmus Central Portal.
- Create the desired working namespace (e.g., uns) in the Kubernetes cluster using the kubectl CLI tool. Command: (sudo) kubectl create namespace uns
- Assuming the secret YAML file is in your current working directory, create a Kubernetes secret resource in the working namespace. For example, using uns as the namespace. Command: (sudo) kubectl create -f litmusautomation-uns-centralportal-secret.yml --namespace=uns
- Ensure you have the path to a valid Git repository containing the Litmus UNS Helm chart.
- Click the SYNCHRONIZE button to start the synchronization process and deploy Litmus UNS.
Step 2: Updating and Upgrading Litmus UNS
When making edits to the values.yaml file or when a new version of Litmus UNS is released, follow these steps to perform the update process:
- Ensure that you save the above changes along with any other edits, and then commit and push them to the Git repository.
- Click the Refresh button on the application card. If the Git repository has been updated, you will see an OutOfSync status.
- By clicking the SYNCHRONIZE button, you will update Litmus UNS.








