You can achieve the installation of the Site24x7 agent DaemonSet in a custom namespace using two methods:
1. Installation using a YAML file
Download the site24x7-agent.yaml file and save it in your Cloud Shell or Master Node terminal.
Replace <device-key> and <namespace> with your device key and namespace.In the Site24x7 agent YAML file, replace the namespace in the highlighted fields:
Execute the command below to apply YAML:
kubectl apply -f site24x7-agent.yaml
You have successfully installed the Site24x7 agent DaemonSet in your custom namespace using a YAML file.
2. Installation using Helm
To install the Site24x7 agent DaemonSet in your custom namespace using Helm, use the below command:
helm repo add site24x7 https://site24x7.github.io/helm-charts;
helm repo update;
helm install site24x7-agent site24x7/site24x7 -n <namespace> --set deviceKey=<device-key>;
Replace the<device-key> with your device key and <namespace> with your namespace.