Closed marccarre closed 5 years ago
Follows up on #3.
Fixes cloudwatch-agent's CrashLoopBackOff on:
cloudwatch-agent
CrashLoopBackOff
Error: no outputs found, did you provide a valid config file?
Also, the ConfigMap available at https://s3.amazonaws.com/cloudwatch-agent-k8s-yamls/kubernetes-monitoring/cwagent-configmap.yaml has logs instead of structuredlogs.
ConfigMap
logs
structuredlogs
$ kubectl get po -n amazon-cloudwatch NAME READY STATUS RESTARTS AGE cloudwatch-agent-x9qrv 0/1 CrashLoopBackOff 5 4m25s
$ kubectl -n amazon-cloudwatch logs cloudwatch-agent-x9qrv [...] E! Error: no outputs found, did you provide a valid config file?
$ kubectl get po -n amazon-cloudwatch NAME READY STATUS RESTARTS AGE cloudwatch-agent-7sqp2 1/1 Running 0 4s [...]
Follows up on #3.
Why?
Fixes
cloudwatch-agent
'sCrashLoopBackOff
on:Also, the
ConfigMap
available at https://s3.amazonaws.com/cloudwatch-agent-k8s-yamls/kubernetes-monitoring/cwagent-configmap.yaml haslogs
instead ofstructuredlogs
.Before / With
structuredlogs
After / With
logs