fluentd

package
v1.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package fluentd implements Fluentd plugin. ref. https://github.com/aws-samples/amazon-cloudwatch-container-insights/tree/master/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart ref. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-metrics.html ref. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-EKS-quickstart.html ref. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-logs.html

Publishes worker nodes logs to:

  • /aws/containerinsights/[CLUSTER-NAME]/application
  • /aws/containerinsights/[CLUSTER-NAME]/dataplane
  • /aws/containerinsights/[CLUSTER-NAME]/host

Index

Constants

View Source
const FluentdImageName = "fluent/fluentd-kubernetes-daemonset:v1.7.3-debian-cloudwatch-1.0"

FluentdImageName is the image name of Fluentd daemon set. ref. https://github.com/fluent/fluentd-kubernetes-daemonset

View Source
const TemplateContainersConf = `` /* 2721-byte string literal not displayed */
View Source
const TemplateFluentdConf = `` /* 579-byte string literal not displayed */
View Source
const TemplateHostConf = `` /* 1368-byte string literal not displayed */
View Source
const TemplateSystemdConf = `` /* 2072-byte string literal not displayed */

Variables

This section is empty.

Functions

func New

func New(cfg Config) eks_tester.Tester

Types

type Config

type Config struct {
	Logger    *zap.Logger
	LogWriter io.Writer
	Stopc     chan struct{}
	EKSConfig *eksconfig.Config
	K8SClient k8s_client.EKS
	ECRAPI    ecriface.ECRAPI
}

Config defines fluentd configuration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL