this is part of kubelet static pod file watch logic
just want to know why the manifests has been changed but the kubelet did not retart the container
./watchdir $PWD/manifests
# vim with swap and backup files
Ignored pod manifest: /etc/kubernetes/manifests/.test.yaml.swp, because it starts with dots
Ignored pod manifest: /etc/kubernetes/manifests/.test.yaml.swx, because it starts with dots
Ignored pod manifest: /etc/kubernetes/manifests/.test.yaml.swx, because it starts with dots
Ignored pod manifest: /etc/kubernetes/manifests/.test.yaml.swp, because it starts with dots
Ignored pod manifest: /etc/kubernetes/manifests/.test.yaml.swp, because it starts with dots
Ignored pod manifest: /etc/kubernetes/manifests/.test.yaml.swp, because it starts with dots
Ignored pod manifest: /etc/kubernetes/manifests/.test.yaml.swp, because it starts with dots
Ignored pod manifest: /etc/kubernetes/manifests/.test.yaml.swp, because it starts with dots
Ignored pod manifest: /etc/kubernetes/manifests/.test.yaml.swp, because it starts with dots
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/4913 mask=%!s(uint32=256) and type=%!s(uint32=256) podAdd 1
eventType=%!s(main.podEventType=0)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/4913 mask=%!s(uint32=512) and type=%!s(uint32=512) podDelete 1
eventType=%!s(main.podEventType=2)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/test.yaml mask=%!s(uint32=64) and type=%!s(uint32=64) podDelete 2
eventType=%!s(main.podEventType=2)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/test.yaml~ mask=%!s(uint32=128) and type=%!s(uint32=128) podAdd 2
eventType=%!s(main.podEventType=0)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/test.yaml mask=%!s(uint32=256) and type=%!s(uint32=256) podAdd 1
eventType=%!s(main.podEventType=0)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/test.yaml mask=%!s(uint32=2) and type=%!s(uint32=2) podModify 1
eventType=%!s(main.podEventType=1)
Ignored pod manifest: /etc/kubernetes/manifests/.test.yaml.swp, because it starts with dots
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/test.yaml~ mask=%!s(uint32=512) and type=%!s(uint32=512) podDelete 1
eventType=%!s(main.podEventType=2)
Ignored pod manifest: /etc/kubernetes/manifests/.test.yaml.swp, because it starts with dots
# vim with not swap and backup files
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/4913 mask=%!s(uint32=256) and type=%!s(uint32=256) podAdd 1
eventType=%!s(main.podEventType=0)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/4913 mask=%!s(uint32=512) and type=%!s(uint32=512) podDelete 1
eventType=%!s(main.podEventType=2)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/test.yaml mask=%!s(uint32=64) and type=%!s(uint32=64) podDelete 2
eventType=%!s(main.podEventType=2)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/test.yaml~ mask=%!s(uint32=128) and type=%!s(uint32=128) podAdd 2
eventType=%!s(main.podEventType=0)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/test.yaml mask=%!s(uint32=256) and type=%!s(uint32=256) podAdd 1
eventType=%!s(main.podEventType=0)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/test.yaml mask=%!s(uint32=2) and type=%!s(uint32=2) podModify 1
eventType=%!s(main.podEventType=1)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/test.yaml~ mask=%!s(uint32=512) and type=%!s(uint32=512) podDelete 1
eventType=%!s(main.podEventType=2)
# vim with not swap and no backup files
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/4913 mask=%!s(uint32=256) and type=%!s(uint32=256) podAdd 1
eventType=%!s(main.podEventType=0)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/4913 mask=%!s(uint32=512) and type=%!s(uint32=512) podDelete 1
eventType=%!s(main.podEventType=2)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/test.yaml mask=%!s(uint32=64) and type=%!s(uint32=64) podDelete 2
eventType=%!s(main.podEventType=2)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/test.yaml mask=%!s(uint32=256) and type=%!s(uint32=256) podAdd 1
eventType=%!s(main.podEventType=0)
"/etc/kubernetes/manifests" /etc/kubernetes/manifests/test.yaml mask=%!s(uint32=2) and type=%!s(uint32=2) podModify 1
eventType=%!s(main.podEventType=1)