-
Notifications
You must be signed in to change notification settings - Fork 83
CMK on Cluster Multi Node environment #293
Description
Hi,
I have a question very important: I have a Cluster Multi Node environment and I am using the following manifests in order to setup my CMK cluster:
- https://github.com/intel/CPU-Manager-for-Kubernetes/blob/master/resources/pods/cmk-init-pod.yaml
- https://github.com/intel/CPU-Manager-for-Kubernetes/blob/master/resources/pods/cmk-discover-pod.yaml
- https://github.com/intel/CPU-Manager-for-Kubernetes/blob/master/resources/pods/cmk-install-pod.yaml
- https://github.com/intel/CPU-Manager-for-Kubernetes/blob/master/resources/pods/cmk-reconcile-daemonset.yaml
Unfortunately I can't use cluster-init, because in that way the Helm chart will not have any information about the deployed POD and the problem here is for example, delete CMK Helm chart will not remove any resources created by python code.
Therefore I am using the second solution.
But I found CMK Init / Discover / Install PODs is running just on 1 single node and CMK Reconcile POD running on all nodes.
My questions are:
(1) if CMK Init / Discover / Install POD is running on just 1 single node, how can decide on which node I can deploy an application which use CMK?
(2) if CMK Init / Discover / Install POD runs on just 1 single node in a multi node environment, who made decision about the node? Which node CMK Init / Discover / Install POD, will CMK use?
For example, in my cluster multi node I have:
- cmk-discover Pod -> 172.20.55.65
- cmk-init Pod -> 172.20.55.67
- cmk-install Pod -> 172.20.55.65
- cmk-reconcile Pod -> 172.20.55.78, 172.20.55.65, 172.20.55.67
but in reality I have isolated CPU just on 172.20.55.67, so what I am expecting is to run all PODs just on that node.
Please let me know as those question are very important for us.
Thanks