News for hackers. Stuff that matters.
Re:A Gentle introduction to Kubernetes with more than just t... by kissgyorgy on Friday September 20, 2019 @04:35AM (#21024448)
I disagree on this one, DaemonSets are for really a different use-case. There is no replicas field you can set, and strictly 1 Pod will run on 1 node. A Deployment is more flexible, because you can run even more Pods in different cities if necessary. What if there are more/less nodes are in different cities or different specs, which could and should run more Pods? You can't fine-tune DaemonSets for those cases, it really is for daemons.
Re:A Gentle introduction to Kubernetes with more than just t... by manigandham on Friday September 20, 2019 @02:23PM (#21029749)
It's not about use-case, it's that "X number of replicas with affinity" OR "1-per-node" should just be a setting within a Deployment. No need to use a completely separate DaemonSet definition just to run 1-per-node.