Replies: 1 comment 7 replies
-
This is really a Kubernetes question, not K3s. K3s does not have any custom logic for counting pods; this code is part of core Kubernetes. As far as I know, all of the pods that have been admitted to a node, count against that node's limit. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a system with max-pods count set to 100 on a node.There are pods with different status like Running/NodeAffinity/Completed/Terminating etc on the system.
Observed that pods with NodeAffinity and Completed status are not considered in the pods count.
1.Is there a way to get the list of pods that are considered by k3s for limiting the pods?
2.Does k3s limit the creation of new pods by counting the pods with certain status like Running/Unknown? If yes, what statuses will be considered?
$ k3s --version
k3s version v1.21.1+k3s-2d1556d1-dirty (2d1556d1)
go version go1.15.2
Beta Was this translation helpful? Give feedback.
All reactions