Documentation ¶
Overview ¶
Package cloudwatch_agent installs an Amazon CloudWatch Agent. Replace https://github.com/aws/aws-k8s-tester/tree/v1.5.9/eks/cw-agent. See https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-logs.html. See https://hub.docker.com/r/amazon/cloudwatch-agent/tags?page=1&ordering=last_updated.
Index ¶
Constants ¶
const CWAgentImageName = "amazon/cloudwatch-agent:1.247347.6b250880"
CWAgentImageName is the image name of CloudWatch agent daemon set. ref. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-logs.html ref. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-EKS-quickstart.html ref. https://hub.docker.com/r/amazon/cloudwatch-agent
const DefaultMinimumNodes int = 1
const TemplateCWAgentConf = `` /* 250-byte string literal not displayed */
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-metrics.html
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg *Config) k8s_tester.Tester
Types ¶
type Config ¶
type Config struct { Enable bool `json:"enable"` Prompt bool `json:"-"` Stopc chan struct{} `json:"-"` Logger *zap.Logger `json:"-"` LogWriter io.Writer `json:"-"` Client client.Client `json:"-"` Region string `json:"region"` ClusterName string `json:"cluster_name" read-only:"true"` // MinimumNodes is the minimum number of Kubernetes nodes required for installing this addon. MinimumNodes int `json:"minimum_nodes"` // Namespace to create test resources. Namespace string `json:"namespace"` }
func NewDefault ¶
func NewDefault() *Config
func (*Config) ValidateAndSetDefaults ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
k8s-tester-cloud-watch-agent
k8s-tester-cloudwatch-agent installs Kubernetes cloudwatch-agent tester.
|
k8s-tester-cloudwatch-agent installs Kubernetes cloudwatch-agent tester. |