File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,15 @@ const (
6262 PodAnnotationNetworkEnhancementAffinityRestrictedTrue = "true"
6363)
6464
65- // const variables for pod annotations about qos level enhancement for micro-topology level inter-pod affinity
66-
65+ // const variables for pod annotations about qos level enhancement for micro-topology level inter-pod affinity,
66+ // PodAnnotationMicroTopologyRequired & Preferred stands for hard & soft affinity requirements,
67+ // PodAnnotationMicroTopologyAffinityNUMA & Socket stands for topology zone of seletor,
68+ // PodAnnotationMicroTopologyAffinityDefaultZone means the default topology zone is NUMA.
69+ // example of api is:
70+ //
71+ // "katalyst.kubewharf.io/microtopology_antiaffinity": '{
72+ // "required": [{"matchLabels": {"labelKey": "labelValue"}, "zone":"numa"}]
73+ // }'
6774const (
6875 PodAnnotationMicroTopologyInterPodAffinity = "katalyst.kubewharf.io/microtopology_affinity"
6976 PodAnnotationMicroTopologyInterPodAntiAffinity = "katalyst.kubewharf.io/microtopology_antiaffinity"
You can’t perform that action at this time.
0 commit comments