k8s-AppController icon indicating copy to clipboard operation
k8s-AppController copied to clipboard

daemonset => daemonset dependency

Open pigmej opened this issue 9 years ago • 2 comments

When one make dependency between 2 DaemonSets we could detect that,and AppController could consider situation on each node separately rather than whole DaemonSet as one.

That would speedup deployment and it would be more robust.

pigmej avatar Sep 20 '16 13:09 pigmej

We will want to implement advanced DaemonSet pods orchestration on top of taint/tolerance/node affinity mechanisms as part of AppController pod.

One TODO is to make a proxy for DaemonSet status checker which will retrieve DaemonSet state from k8s storage and manipulate nodes/DS objects to orchestrate them properly. We will be able to orchestrate DS pods spawning by using taints and tolerances (e.g. if the parent DS is already running on this node, use proper taint to make child DS pod spawn there too).

nebril avatar Oct 10 '16 12:10 nebril

Once this https://github.com/kubernetes/kubernetes/pull/31136 will be merged user will be able to define it using regular kube api. But almost same behavior can be achieved now with deployments using affinity rules for order and anti-affinity for one copy per node.

dshulyak avatar Mar 23 '17 12:03 dshulyak