Skip to content

[Test][KubeRay] Add doctests for Kuberay Autoscaling #51884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
30 changes: 27 additions & 3 deletions doc/source/cluster/kubernetes/doc_sanitize.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,18 @@ replace: KUBERAY-OPERATOR-POD-NAME
regex: raycluster-kuberay-workergroup-worker-[a-z0-9]{5}
replace: RAYCLUSTER-HEAD-POD-NAME

[raycluster-autoscaler-head-pod-name]
regex: raycluster-autoscaler-head-[a-z0-9]{5}
replace: RAYCLUSTER-AUTOSCALER-HEAD-POD-NAME

[raycluster-worker-pod-name]
regex: raycluster-kuberay-head-[a-z0-9]{5}
replace: RAYCLUSTER-WORKER-POD-NAME

[raycluster-autoscaler-small-group-worker-pod-name]
regex: raycluster-autoscaler-small-group-worker-[a-z0-9]{5}
replace: RAYCLUSTER-AUTOSCALER-SMALL-GROUP-WORKER-POD-NAME

[rayservice-sample-raycluster-name]
regex: rayservice-sample-raycluster-[a-z0-9]{5}(?!-)
replace: RAYSERVICE-SAMPLE-RAYCLUSTER-NAME
Expand Down Expand Up @@ -50,9 +58,21 @@ replace: RAYJOB-CLUSTER-SMALL-GROUP-WORKER-POD-NAME
regex: \d+m\d+s|\d+m|\d+s
replace: TIME-DURATION

[timestamp]
regex: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z
replace: TIMESTAMP
[iso-time-stamp]
regex: \d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}[.,]?\d*
replace: ISO-TIME-STAMP

[ctime-time-stamp]
regex: [A-Z][a-z]{2}\s[A-Z][a-z]{2}\s+\d{1,2}\s\d{2}:\d{2}:\d{2}\s\d{4}
replace: CTIME-TIME-STAMP

[elapsed-time]
regex: \d+\.\d+\sseconds
replace: ELAPSED-TIME

[record-stamp]
regex: \d+-\d+-\d+T\d+:\d+:\d+Z
replace: TIME-STAMP

[IPV4]
regex: (?:\d{1,3}\.){3}\d{1,3}(\s*)
Expand All @@ -65,3 +85,7 @@ replace: PYTHON-LOGGER-PREFIX
[ray-cluster-resources-object-store-memory]
regex: 'object_store_memory'\s*:\s*\d+(?:\.\d+)?\}
replace: RAY-CLUSTER-RESOURCES-OBJECT-STORE-MEMORY

[raycluster-autoscaler-object-store-memory]
regex: 0B/\d+\.\d+\s*[GM]iB object_store_memory
replace: RAYCLUSTER-AUTOSCALER-OBJECT-STORE-MEMORY
Loading