You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would you like to be added:
Clarify in https://github.com/aws/amazon-vpc-cni-k8s#aws_vpc_k8s_plugin_log_file that since CNI is exec'ed by the container-runtime in k8s 1.24+, setting the log file to stdout or stderr will redirect to stdout/stderr for container-runtime process (usually containerd), NOT aws-node pod.
Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
What would you like to be added:
Clarify in https://github.com/aws/amazon-vpc-cni-k8s#aws_vpc_k8s_plugin_log_file that since CNI is exec'ed by the container-runtime in k8s 1.24+, setting the log file to
stdout
orstderr
will redirect to stdout/stderr for container-runtime process (usually containerd), NOTaws-node
pod.Also, fix the logic in https://github.com/aws/amazon-vpc-cni-k8s/blob/master/pkg/utils/logger/zaplogger.go#L130 to handle the string "stderr".
Also, clarify that
stderr
is an accepted value for https://github.com/aws/amazon-vpc-cni-k8s#aws_vpc_k8s_cni_log_file and thatstdout/stderr
will show up in theaws-node
pod logs sinceaws-k8s-agent
(IPAMD) process runs in the pod.Why is this needed:
To improve readability and reduce confusion for customers.
The text was updated successfully, but these errors were encountered: