mgr/rook: PlacementSpec to K8s POD scheduling conversion
Pull request ID:
orch -> k8s
from kubernetes.client import V1Affinity def placement_spec_to_k8s(spec: PlacementSpec) -> Tuple[int, V1Affinity]: """ - node list - labels - count (?) - all nodes? - host glob? """
k8s Rook CR -> orch:
- parse any CR we generated fro generate_k8s_placement()
- show when we don't understand the placement
ceph orch ls should say "<opaque>" or "?" if we can't parse it
- maybe parse other common CRs (e.g., ones from rook examples dir)
Anything that can be added to the PlacementSpec which is often used by Rook?