CenterEdge / shawarma

A Kubernetes sidecar to assist with enabling/disabling background processing during blue/green deployments.
Apache License 2.0
11 stars 4 forks source link

Redirect klog to logrus (ARCH-61) #6

Closed brantburnett closed 5 years ago

brantburnett commented 5 years ago

Motivation

When the K8S API client is writing logs, it tries to write to /tmp, which doesn't exist in the container, causing a panic.

Modifications

Redirect any klog logs to logrus as warnings.

https://centeredge.atlassian.net/browse/ARCH-61

brantburnett commented 5 years ago

/merge