• Kubernetes Submit Queue's avatar
    Merge pull request #55506 from Random-Liu/fix-cri-fluentd · f5c29f51
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 54460, 55258, 54858, 55506, 55510). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Fix CRI fluentd config.
    
    This should fix the cri-containerd stackdriver test failure:
    ```
    Cluster level logging implemented by Stackdriver should ingest logs
    ```
    
    I copied the pattern from a comment previously. However, it doesn't actually work properly. `\b` only matches word boundary, and seems to match the boundary of previous word in our case.
    
    That's why we get the log with a leading space:
    ```
    Nov 10 18:39:11.661: INFO: Unexpected error occurred: log entry ingested incorrectly, got --> <--I0101 00:00:00.000000       1 main.go:1] Text, want Text
    ```
    
    @kubernetes/sig-node-bugs @kubernetes/sig-instrumentation-bugs 
    Signed-off-by: 's avatarLantao Liu <lantaol@google.com>
    
    ```release-note
    none
    ```
    f5c29f51
Name
Last commit
Last update
..
addon-manager Loading commit data...
calico-policy-controller Loading commit data...
cluster-loadbalancing Loading commit data...
cluster-monitoring Loading commit data...
dashboard Loading commit data...
dns Loading commit data...
dns-horizontal-autoscaler Loading commit data...
etcd-empty-dir-cleanup Loading commit data...
fluentd-elasticsearch Loading commit data...
fluentd-gcp Loading commit data...
ip-masq-agent Loading commit data...
kube-proxy Loading commit data...
metadata-proxy Loading commit data...
metrics-server Loading commit data...
node-problem-detector Loading commit data...
python-image Loading commit data...
rbac Loading commit data...
registry Loading commit data...
storage-class Loading commit data...
BUILD Loading commit data...
README.md Loading commit data...