Amazon CloudWatch
用户指南
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 AWS 服务入门

删除 CloudWatch 代理

CloudWatch Container Insights isn't released yet. It's in preview and is subject to change. The preview is open to all AWS accounts. You do not need to request access.

要删除与 CloudWatch 代理相关的所有资源,请运行以下命令:

kubectl delete -f cwagent-daemonset.yaml
kubectl delete -f cwagent-configmap.yaml
kubectl delete -f cwagent-serviceaccount.yaml
kubectl delete cm cwagent-clusterleader -n amazon-cloudwatch
kubectl delete -f fluentd.yml && \ kubectl delete cm cluster-info -n amazon-cloudwatch