Copy the your YAML manifest file (uptycs_osq_daemonset_<customer>.yaml) to the kubernetes client machine (a machine with the command: kubectl).
1. Create the daemon set using following command:
kubectl create -f uptycs_osq_daemonset_<customer>.yaml
2. Verify the osquery daemon set using following command:
kubectl get ds
Example output:
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
uptycs-osquery 1 1 1 1 1 app=uptycs-osquery 1d
3. List the Kubernetes node information using following command:
kubectl get nodes
Example output:
NAME STATUS ROLES AGE VERSION
gke-standard-cluster-2-default-pool-3ee557eb-6gpg Ready <none> 1d v1.11.6-gke.2
gke-standard-cluster-2-default-pool-3ee557eb-7l9r Ready <none> 1d v1.11.6-gke.2
gke-standard-cluster-2-default-pool-3ee557eb-bktz Ready <none> 1d v1.11.6-gke.2
4. Label each nodes with osquery app:
kubectl label node <node name> app=uptycs-osquery
Example commands:
kubectl label node gke-standard-cluster-2-default-pool-3ee557eb-6gpg app=uptycs-osquery
kubectl label node gke-standard-cluster-2-default-pool-3ee557eb-6gpg app=uptycs-osquery
kubectl label node gke-standard-cluster-2-default-pool-3ee557eb-bktz app=uptycs-osquery
5. Verify the osquery pods with the command below:
kubectl get pods
Example output:
NAME READY STATUS RESTARTS AGE
uptycs-osquery-7rvvb 1/1 Running 0 1d