如何禁用群集中的Stackdriver Logging代理?

编程入门 行业动态 更新时间:2024-10-09 10:23:08
本文介绍了如何禁用群集中的Stackdriver Logging代理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们的项目最近从Stackdriver Logging迁移了.但是,我无法弄清楚如何摆脱kube-system名称空间中的fluentd-cloud-logging-* pod.如果我删除单个吊舱,它们会马上回来.

Our project recently migrated away from Stackdriver Logging. However, I cannot figure out how to get rid of the fluentd-cloud-logging-* pods in the kube-system namespace. If I delete the individual pods, they come right back.

我如何彻底杀死他们?

我不清楚它们是如何重新创建的;当然,没有DaemonSet将它们带回.

It's not clear to me how they're getting recreated; there is certainly no DaemonSet bringing them back.

我已经按照gcloud container clusters describe所述的配置将monitoringService设置为none.

I already set monitoringService to none in the configuration described by gcloud container clusters describe.

推荐答案

在每台主机的/etc/kubernetes/manifests/文件夹中定义了kube-system命名空间中的流畅的云记录pod.也就是说,它们是使用静态容器机制定义的.

The fluentd-cloud-logging pods in the kube-system namespace are defined in the /etc/kubernetes/manifests/ folder of each host machine; that is, they're defined using the Static Pods mechanism.

到目前为止,尚无法全局更改设置.不过,作为一种解决方法,我可以使用启动脚本窗格.删除文件后,吊舱也将被删除.

As of this time, there's no way to change the setting globally. As a workaround, though, I can just delete the file in the manifests folder on each node, using something like the startup script pod. When the file is deleted, the pod will be deleted as well.

(感谢GCP支持此答案.)

(Thanks to GCP support for this answer.)

更多推荐

如何禁用群集中的Stackdriver Logging代理?

本文发布于:2023-11-25 21:25:56,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1631405.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Stackdriver   Logging

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!