container stop writing logs

3/17/2021

I have a kubernetes cluster with 3 pod up and running. I saw they stop writing to their logs when running

kubectl logs test-dvbs8

After I restart one of them its didnt even start writing to the log, the filesystem is not full. any idea why this might happen?

 NAME                                                           READY   STATUS      RESTARTS   AGE
    
    test-dvbs8                                    1/1     Running     2          6d4h
    test-jvxsm                                    1/1     Running     0          21m
    test-lk8w5                                    1/1     Running     0          22h

the events in describe:

events:
  Type    Reason     Age   From                                    Message
  ----    ------     ----  ----                                    -------
  Normal  Scheduled  24m   default-scheduler                       Successfully assigned default/test to host01  
  Normal  Pulled     24m   kubelet,host01    Container image "repo-registry.com:1111/repository/test/test:1" already present on machine
  Normal  Created    24m   kubelet, host01  Created container test
  Normal  Started    24m   kubelet, host01  Started container test
-- NoamiA
docker
kubernetes
logging

0 Answers