在openshift 4.3上,将配置fluentd将日志转发到外部syslog。我可以只安装fluentd而不安装elasticsearch等吗?
谢谢
威仁
发布于 2020-10-05 18:25:23
可以,部署ClusterLogging云硬盘时只需指定collection部件即可安装fluentd:
apiVersion: logging.openshift.io/v1
kind: ClusterLogging
metadata:
name: instance
namespace: openshift-logging
spec:
collection:
logs:
fluentd: {}
type: fluentd
managementState: Managed请注意,更高版本的OpenShift甚至允许您指定LogForwarding。有关如何部署ClusterLogging的更多信息,请参阅文档:https://docs.openshift.com/container-platform/4.3/logging/cluster-logging-deploying.html#cluster-logging-deploy-clo-cli_cluster-logging-deploying
https://stackoverflow.com/questions/64202811
复制相似问题