在邊緣工作節點部署 Sysdig 代理

虛擬私有雲 經典基礎架構

若要允許 Sysdig 代理 pod 部署到您的邊緣 Worker 節點,請執行下列 kubectl patch 指令更新 sysdig-agent DaemonSet。 此指令會套用 NoExecute toleration 到 DaemonSet,以確保代理 pod 不會被驅逐出節點。

kubectl patch ds sysdig-agent -n ibm-observe --type merge --type='json' -p='[{"op": "add", "path": "/spec/template/spec/tolerations/-", "value": {"operator": Exists, "effect": NoExecute}}]'

如果您使用了 pod 標籤,例如 dedicated=edge,您也可以將此標籤套用到您想要在邊緣節點上允許的任何 Pod。