ccluster-py 0.0.10.dev157__tar.gz → 0.0.10.dev159__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/PKG-INFO +1 -1
  2. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/pyproject.toml +1 -1
  3. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/pyproject.toml.orig +1 -1
  4. ccluster_py-0.0.10.dev159/src/ccluster/catalogs/cluster_base/kai_scheduler/__init__.py +201 -0
  5. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/LICENSE +0 -0
  6. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/README.md +0 -0
  7. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/__init__.py +0 -0
  8. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/__init__.py +0 -0
  9. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/argo_rollouts/__init__.py +0 -0
  10. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/cert_manager/__init__.py +0 -0
  11. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/external_dns/__init__.py +0 -0
  12. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/final_stack/__init__.py +0 -0
  13. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/fluent_bit/__init__.py +0 -0
  14. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/gpu_operator/__init__.py +0 -0
  15. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/ingress_nginx/__init__.py +0 -0
  16. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/istio/__init__.py +0 -0
  17. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/keda/__init__.py +0 -0
  18. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/kube_prometheus_stack/__init__.py +0 -0
  19. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/longhorn/__init__.py +0 -0
  20. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/metrics_server/__init__.py +0 -0
  21. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/network_operator/__init__.py +0 -0
  22. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/opentelemetry_collector/__init__.py +0 -0
  23. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/prometheus_adapter/__init__.py +0 -0
  24. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/spire/__init__.py +0 -0
  25. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/cluster_base/spire_crds/__init__.py +0 -0
  26. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/deployments/compute_deployment/__init__.py +0 -0
  27. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/deployments/dynamo_deployment/__init__.py +0 -0
  28. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/deployments/inference_deployment/__init__.py +0 -0
  29. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/deployments/job_deployment/__init__.py +0 -0
  30. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/namespace_base/__init__.py +0 -0
  31. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/resources/kai_gpu_queues/__init__.py +0 -0
  32. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/catalogs/resources/persistent_volume/__init__.py +0 -0
  33. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/cli.py +0 -0
  34. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/client.py +0 -0
  35. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/py.typed +0 -0
  36. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/v1alpha1/__init__.py +0 -0
  37. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/v1alpha1/base.py +0 -0
  38. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/v1alpha1/cclclusterconfig.py +0 -0
  39. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/v1alpha1/cclcomponentset.py +0 -0
  40. {ccluster_py-0.0.10.dev157 → ccluster_py-0.0.10.dev159}/src/ccluster/v1alpha1/cclinfraplane.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ccluster-py
3
- Version: 0.0.10.dev157
3
+ Version: 0.0.10.dev159
4
4
  Summary: Pydantic models and a client for the ccluster.nvidia.com API and its Helm chart catalog
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "ccluster-py"
7
- version = "0.0.10.dev157"
7
+ version = "0.0.10.dev159"
8
8
  description = "Pydantic models and a client for the ccluster.nvidia.com API and its Helm chart catalog"
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
@@ -9,7 +9,7 @@ build-backend = "uv_build"
9
9
  # `ccluster` (src/ccluster).
10
10
  name = "ccluster-py"
11
11
  # Placeholder: the release version is the git tag, stamped in by `make python-build`.
12
- version = "0.0.10.dev157"
12
+ version = "0.0.10.dev159"
13
13
  description = "Pydantic models and a client for the ccluster.nvidia.com API and its Helm chart catalog"
14
14
  readme = "README.md"
15
15
  license = "Apache-2.0"
@@ -0,0 +1,201 @@
1
+ # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ #
4
+ # Code generated by `make python-generate`. DO NOT EDIT.
5
+
6
+ from __future__ import annotations
7
+
8
+ from typing import Annotated
9
+
10
+ from pydantic import BaseModel, ConfigDict, Field
11
+
12
+
13
+ class Admission(BaseModel):
14
+ """
15
+ Admission configures KAI's admission webhook.
16
+ """
17
+
18
+ model_config = ConfigDict(
19
+ extra="allow",
20
+ populate_by_name=True,
21
+ )
22
+ gpu_pod_runtime_class_name: Annotated[
23
+ str | None, Field(alias="gpuPodRuntimeClassName")
24
+ ] = None
25
+ """
26
+ GPUPodRuntimeClassName is the RuntimeClass the webhook sets on GPU pods that
27
+ name none; "" turns that off. The chart ships "": gpu-operator creates the
28
+ class, but this catalog runs it with its container toolkit off, so a node's
29
+ containerd may have no "nvidia" runtime handler, and a GPU pod given the class
30
+ there would not start. Set GPUPodRuntimeClassNVIDIA where every GPU node has
31
+ one.
32
+ """
33
+
34
+
35
+ class DefaultPriorities(BaseModel):
36
+ """
37
+ DefaultPriorities configures the per-kind preemptibility ConfigMap.
38
+ """
39
+
40
+ model_config = ConfigDict(
41
+ extra="allow",
42
+ populate_by_name=True,
43
+ )
44
+ enabled: bool | None = None
45
+ """
46
+ Enabled renders the ConfigMap. The chart ships it on.
47
+ """
48
+
49
+
50
+ class DefaultQueue(BaseModel):
51
+ """
52
+ DefaultQueue configures the queue for unlabelled pods.
53
+ """
54
+
55
+ model_config = ConfigDict(
56
+ extra="allow",
57
+ populate_by_name=True,
58
+ )
59
+ create_default_queue: Annotated[bool | None, Field(alias="createDefaultQueue")] = (
60
+ None
61
+ )
62
+ """
63
+ CreateDefaultQueue creates the queue and its parent, both with unlimited quota.
64
+ The chart ships it on, so that pods without a kai.scheduler/queue label schedule.
65
+ Their fair share is then the whole cluster, so KAI does not reclaim what they
66
+ hold for other queues.
67
+ """
68
+
69
+
70
+ class ResourceList(BaseModel):
71
+ """
72
+ ResourceList is one side of ResourceRequirements, as Kubernetes quantities.
73
+ """
74
+
75
+ model_config = ConfigDict(
76
+ extra="allow",
77
+ populate_by_name=True,
78
+ )
79
+ cpu: str | None = None
80
+ memory: str | None = None
81
+
82
+
83
+ class ResourceRequirements(BaseModel):
84
+ """
85
+ ResourceRequirements are a container's requests and limits.
86
+ """
87
+
88
+ model_config = ConfigDict(
89
+ extra="allow",
90
+ populate_by_name=True,
91
+ )
92
+ requests: ResourceList | None = None
93
+ limits: ResourceList | None = None
94
+
95
+
96
+ class Scheduler(BaseModel):
97
+ """
98
+ Scheduler configures the scheduler.
99
+ """
100
+
101
+ model_config = ConfigDict(
102
+ extra="allow",
103
+ populate_by_name=True,
104
+ )
105
+ placement_strategy: Annotated[str | None, Field(alias="placementStrategy")] = None
106
+ """
107
+ PlacementStrategy is how GPU and CPU pods are placed: PlacementBinpack or
108
+ PlacementSpread. The chart ships binpack.
109
+ """
110
+ resources: ResourceRequirements | None = None
111
+ """
112
+ Resources are the scheduler container's requests and limits. The chart ships
113
+ 500m CPU and 1.5Gi memory requested, limited to 3 CPUs and 3Gi.
114
+ """
115
+
116
+
117
+ class Workload(BaseModel):
118
+ """
119
+ Workload is a KAI component's resources.
120
+ """
121
+
122
+ model_config = ConfigDict(
123
+ extra="allow",
124
+ populate_by_name=True,
125
+ )
126
+ resources: ResourceRequirements | None = None
127
+ """
128
+ Resources are the container's requests and limits.
129
+ """
130
+
131
+
132
+ class Operator(BaseModel):
133
+ """
134
+ Operator configures the KAI operator, which deploys every other KAI component.
135
+ """
136
+
137
+ model_config = ConfigDict(
138
+ extra="allow",
139
+ populate_by_name=True,
140
+ )
141
+ log_level: Annotated[str | None, Field(alias="logLevel")] = None
142
+ """
143
+ LogLevel is the controller-runtime log level: debug, info, error or panic. The
144
+ chart ships error.
145
+ """
146
+ resources: ResourceRequirements | None = None
147
+ """
148
+ Resources are the operator container's requests and limits.
149
+ """
150
+
151
+
152
+ class ChartValues(BaseModel):
153
+ """
154
+ ChartValues are the upstream kai-scheduler values worth setting per cluster.
155
+
156
+ Scheduler.Resources, Binder and Admission reach the KAI components through the
157
+ kai-config Config CR, which the upstream chart applies from a hook Job rather than as
158
+ an Application resource. Argo CD does not diff hooks, so the chart also renders a
159
+ ConfigMap holding a checksum of these values: changing them marks the Application
160
+ OutOfSync, and the sync reruns the hook. Scheduler.PlacementStrategy goes to the
161
+ SchedulingShard, Operator to the KAI operator Deployment and DefaultQueue to the
162
+ default Queues, all ordinary Application resources.
163
+ """
164
+
165
+ model_config = ConfigDict(
166
+ extra="allow",
167
+ populate_by_name=True,
168
+ )
169
+ scheduler: Scheduler | None = None
170
+ binder: Workload | None = None
171
+ operator: Operator | None = None
172
+ admission: Admission | None = None
173
+ default_queue: Annotated[DefaultQueue | None, Field(alias="defaultQueue")] = None
174
+ """
175
+ DefaultQueue is the queue that pods without a kai.scheduler/queue label join.
176
+ """
177
+
178
+
179
+ class Values(BaseModel):
180
+ """
181
+ Values of the catalogs/cluster_base/kai_scheduler chart, generated from its Go package.
182
+ """
183
+
184
+ model_config = ConfigDict(
185
+ extra="allow",
186
+ populate_by_name=True,
187
+ )
188
+ kai_scheduler: Annotated[ChartValues | None, Field(alias="kai-scheduler")] = None
189
+ default_priorities: Annotated[
190
+ DefaultPriorities | None, Field(alias="defaultPriorities")
191
+ ] = None
192
+ """
193
+ DefaultPriorities is the ConfigMap of per-kind preemptibility defaults. The
194
+ chart ships it enabled, marking Jobs and ReplicaSets preemptible. KAI does not
195
+ read it yet: the kai-config Config CR must name it, and the upstream chart
196
+ cannot.
197
+ """
198
+
199
+
200
+ # CHART is the chart directory, relative to the root of the catalog repository.
201
+ CHART = "catalogs/cluster_base/kai_scheduler"