kubectl config get-contexts
kubectl version must be +-1 of kubernetes cluster. Ex: K8s cluster v1.25, kubectl(client) version is recommended to be no lower than v1.24
kubectl version --short
Client Version: v1.26.0
Kustomize Version: v4.5.7
Server Version: v1.25.11-eks-a5565ad
helm version
Ensure adequate resources on nodes are available:
kubectl describe nodes
Allocated resources:
Resource Requests Limits
-------- -------- ------
cpu 1525m (38%) 2150m (54%)
memory 1756Mi (11%) 5440Mi (36%)
ephemeral-storage 3322Mi (19%) 6394Mi (36%)
hugepages-1Gi 0 (0%) 0 (0%)
hugepages-2Mi 0 (0%) 0 (0%)
attachable-volumes-aws-ebs 0 0
Port 6443 open for outbound traffic The Sysdig Agent communicates with the collector on port 6443. If you’re using a firewall, make sure to open port 6443 for outbound traffic so that the agent can communicate with the collector. This also applies to proxies. Ensure that port 6443 is open on your proxy.
Validate connection from kubernetes worker node using commands below:
ssh myuser@k8s_worker_node
export http{s,}_proxy=http://myproxy.com:8080
curl -sL ingest.us3.sysdig.com:6443 -v
kubectl get service kubernetes -o jsonpath='{.spec.clusterIP}'; echo
Verify that you see the agent and cluster-shield pods
kubectl get pods -A
kubectl get pods -n kube-system
kubectl -n kube-system logs <agent-pod-name> | grep -i POLICIES_V2
You should see sysdig-agent-xxxxx and sysdig-agent-clustershield-xxxxxxxxx-xxxxx Pods in the respective cluster
If any of the pods are not 1/1 Running state, you can review the logs for that pod by kubectl logs sysdig-agent-xxxxx -n kube-system | grep -i error