In environments with a high number of workloads and high flow rate, streaming NTA detectors need higher resources to effectively perform detection.
SSP 5.0, SSP 5.1
In environments where:
An Alarm might be raised as follows:
The issue is due to the high number of flows processed by the NTA streaming component, in conjunction with a high number of workloads generating the flows. It is only observed on scaled-out environments: typically only with 10 Worker Nodes.
The workaround for this issue is to increase the memory allocated to the llanta-detectors-0 pod by running the following command from the SSPi instance:
SSP 5.0:
LLANTA_SERVICE_LIMIT=7Gi LLANTA_JOB_LIMIT=5Gi LLANTA_WORKER_LIMIT=3Gi && k patch statefulset llanta-detectors -p="{\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"llanta-service\", \"resources\":{\"limits\":{\"memory\": \"$LLANTA_SERVICE_LIMIT\"},\"requests\":{\"memory\": \"$LLANTA_SERVICE_LIMIT\"}}}, {\"name\":\"llanta-job-netflow-beaconing\", \"resources\":{\"limits\":{\"memory\": \"$LLANTA_JOB_LIMIT\"},\"requests\":{\"memory\": \"$LLANTA_JOB_LIMIT\"}}}, {\"name\":\"llanta-job-time-series\", \"resources\":{\"limits\":{\"memory\": \"$LLANTA_JOB_LIMIT\"},\"requests\":{\"memory\": \"$LLANTA_JOB_LIMIT\"}}}, {\"name\":\"llanta-worker\", \"resources\":{\"limits\":{\"memory\": \"$LLANTA_WORKER_LIMIT\"},\"requests\":{\"memory\": \"$LLANTA_WORKER_LIMIT\"}}}]}}}}" && k delete pod llanta-detectors-0
NOTE: After upgrade from 5.0 to 5.1, the workaround needs to be re-applied via the following, updated command (ran on SSPi):
cat > /tmp/llanta-patch.json <<EOF
{"spec":{"template":{"spec":{"containers":[{"name":"llanta-service", "resources":{"limits":{"memory": "10Gi"},"requests":{"memory": "10Gi"}}}]}}}}
EOF
k -n nsxi-platform patch statefulset llanta-detectors --patch-file=/tmp/llanta-patch.json && k -n nsxi-platform rollout restart statefulset llanta-detectors
cat > /tmp/llanta-patch.json <<EOF
{"spec":{"template":{"spec":{"containers":[{"name":"llanta-job-dhr", "resources":{"limits":{"memory": "5Gi"},"requests":{"memory": "5Gi"}}}]}}}}
EOF
k -n nsxi-platform patch deployment llanta-detectors-dhr --patch-file=/tmp/llanta-patch.json && k -n nsxi-platform rollout restart deployment llanta-detectors-dhr
cat > /tmp/llanta-patch.json <<EOF
{"spec":{"template":{"spec":{"containers":[{"name":"llanta-job-beaconing", "resources":{"limits":{"memory": "5Gi"},"requests":{"memory": "5Gi"}}}]}}}}
EOF
k -n nsxi-platform patch deployment llanta-detectors-beaconing --patch-file=/tmp/llanta-patch.json && k -n nsxi-platform rollout restart deployment llanta-detectors-beaconing && rm /tmp/llanta-patch.json
SSP 5.1 Greenfield deployment:
cat > /tmp/llanta-patch.json <<EOF
{"spec":{"template":{"spec":{"containers":[{"name":"llanta-service", "resources":{"limits":{"memory": "10Gi"},"requests":{"memory": "10Gi"}}}]}}}}
EOF
k -n nsxi-platform patch statefulset llanta-detectors --patch-file=/tmp/llanta-patch.json && k -n nsxi-platform rollout restart statefulset llanta-detectors
cat > /tmp/llanta-patch.json <<EOF
{"spec":{"template":{"spec":{"containers":[{"name":"llanta-job-dhr", "resources":{"limits":{"memory": "5Gi"},"requests":{"memory": "5Gi"}}}]}}}}
EOF
k -n nsxi-platform patch deployment llanta-detectors-dhr --patch-file=/tmp/llanta-patch.json && k -n nsxi-platform rollout restart deployment llanta-detectors-dhr
cat > /tmp/llanta-patch.json <<EOF
{"spec":{"template":{"spec":{"containers":[{"name":"llanta-job-beaconing", "resources":{"limits":{"memory": "5Gi"},"requests":{"memory": "5Gi"}}}]}}}}
EOF
k -n nsxi-platform patch deployment llanta-detectors-beaconing --patch-file=/tmp/llanta-patch.json && k -n nsxi-platform rollout restart deployment llanta-detectors-beaconing && rm /tmp/llanta-patch.json