smart-edge-open / converged-edge-experience-kits

Source code for experience kits with Ansible-based deployment.
Apache License 2.0
37 stars 40 forks source link

Using CMK to pin cores.. #99

Open ravicorning opened 3 years ago

ravicorning commented 3 years ago

Hi,

For this example pod spec, is this the right way to ensure the container gets the desired cores ?, the documentation says the cmk argument should be deployed_app, what does that mean ?, the other examples show using 'sleep', so would this be the root process and other processes can now use the resources reserved for the sleep process ?

apiVersion: v1 kind: Pod metadata: labels: app: nginx name: nginx annotations: k8s.v1.cni.cncf.io/networks: sriov-openness spec: nodeName: opennesswkn-1 containers:

This is from your documentation:cat <<EOF | kubectl create -f - apiVersion: v1 kind: Pod metadata: labels: app: cmk-isolate-DEPLOYED-APP-pod name: cmk-isolate-DEPLOYED-APP-pod spec: nodeName: containers: