[英]How to forward a kubernetes container log file into Stackdriver?
I have a cluster in Google and the Stackdriver logging, and monitoring are enabled. 我在Google中有一个集群,并且Stackdriver日志记录和监视已启用。
Question 1: 问题1:
I tried these steps: 我尝试了以下步骤:
As I found in kubernetes manual 正如我在kubernetes手册中发现的那样
Logging Using Stackdriver - Kubernetes in the Prerequests section 使用Stackdriver-Kubernetes进行记录的前提条件部分
If you're on GKE and Stackdriver Logging is enabled in your cluster, you cannot change its parameters
如果您使用的是GKE,并且集群中启用了Stackdriver Logging,则无法更改其参数
Question 2: 问题2:
Another issue, the default Stackdriver monitoring doesn't know anything about the additional disks which attached to containers. 另一个问题是,默认的Stackdriver监视对容器附带的其他磁盘一无所知。 That is my next problem, how to monitor the additional disk spaces.
这是我的下一个问题,即如何监视其他磁盘空间。
That disks are a Persistent Volume Claims in kubernetes side, and provisioned automatically. 该磁盘是kubernetes端的持久卷声明,并且是自动配置的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.