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

删除 CloudWatch 代理

CloudWatch Container Insights is in open preview. The preview is open to all AWS accounts and you do not need to request access. Features may be added or changed before announcing General Availability. Don’t hesitate to contact us with any feedback or let us know if you would like to be informed when updates are made by emailing us at containerinsightsfeedback@amazon.com

要删除与 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