digitalocean / clusterlint

A best practices checker for Kubernetes clusters. 🤠
Apache License 2.0
542 stars 45 forks source link

checks bare-pods: skip static pods #76

Closed valbeat closed 4 years ago

valbeat commented 4 years ago

75

When checking for bare pods, I want to exclude static pods created by kubelet. https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/

Also, if you are using Managed k8s, I may not be able to add annotaion to pod.

To solve this problem, we have added a process to skip static-pods when checking for bare-pods.

Please let me know if there is another good way.

timoreimann commented 4 years ago

If static pods don't provide a better way to be identified (which seemingly isn't the case), then I'm okay with this as well.

valbeat commented 4 years ago

Thank you!