Actions
Feature #44875
closedmgr/rook: PlacementSpec to K8s POD scheduling conversion
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
mgr/rook
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#affinity-v1-core
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?
Updated by Sebastian Wagner almost 4 years ago
- Priority changed from Normal to High
Updated by Sebastian Wagner almost 4 years ago
- Status changed from New to Fix Under Review
Updated by Sebastian Wagner over 3 years ago
- Status changed from Fix Under Review to New
- Priority changed from High to Normal
- Pull request ID deleted (
35542)
was github pr 35542
Updated by Sebastian Wagner over 2 years ago
- Status changed from New to Resolved
Actions