ccluster-py 0.0.10.dev154__tar.gz → 0.0.10.dev155__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.
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/PKG-INFO +1 -1
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/pyproject.toml +1 -1
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/pyproject.toml.orig +1 -1
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/v1alpha1/cclcomponentset.py +70 -13
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/LICENSE +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/README.md +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/argo_rollouts/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/cert_manager/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/external_dns/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/final_stack/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/fluent_bit/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/gpu_operator/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/ingress_nginx/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/istio/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/keda/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/kube_prometheus_stack/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/longhorn/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/metrics_server/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/network_operator/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/opentelemetry_collector/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/prometheus_adapter/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/spire/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/spire_crds/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/deployments/compute_deployment/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/deployments/dynamo_deployment/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/deployments/inference_deployment/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/deployments/job_deployment/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/namespace_base/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/resources/kai_gpu_queues/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/resources/persistent_volume/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/cli.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/client.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/py.typed +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/v1alpha1/__init__.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/v1alpha1/base.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/v1alpha1/cclclusterconfig.py +0 -0
- {ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/v1alpha1/cclinfraplane.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ccluster-py"
|
|
7
|
-
version = "0.0.10.
|
|
7
|
+
version = "0.0.10.dev155"
|
|
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.
|
|
12
|
+
version = "0.0.10.dev155"
|
|
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"
|
{ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/v1alpha1/cclcomponentset.py
RENAMED
|
@@ -98,6 +98,52 @@ class CCLComponentSetSpec(BaseModel):
|
|
|
98
98
|
"""
|
|
99
99
|
|
|
100
100
|
|
|
101
|
+
class Health(Enum):
|
|
102
|
+
"""
|
|
103
|
+
health is the component's health.
|
|
104
|
+
"""
|
|
105
|
+
|
|
106
|
+
healthy = "Healthy"
|
|
107
|
+
progressing = "Progressing"
|
|
108
|
+
degraded = "Degraded"
|
|
109
|
+
suspended = "Suspended"
|
|
110
|
+
missing = "Missing"
|
|
111
|
+
unknown = "Unknown"
|
|
112
|
+
succeeded = "Succeeded"
|
|
113
|
+
failed = "Failed"
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
class ComponentHealthStatus(BaseModel):
|
|
117
|
+
"""
|
|
118
|
+
ComponentHealthStatus is one released component's health.
|
|
119
|
+
"""
|
|
120
|
+
|
|
121
|
+
model_config = ConfigDict(
|
|
122
|
+
populate_by_name=True,
|
|
123
|
+
)
|
|
124
|
+
health: Health
|
|
125
|
+
"""
|
|
126
|
+
health is the component's health.
|
|
127
|
+
"""
|
|
128
|
+
last_transition_time: Annotated[AwareDatetime, Field(alias="lastTransitionTime")]
|
|
129
|
+
"""
|
|
130
|
+
lastTransitionTime is when health last changed.
|
|
131
|
+
"""
|
|
132
|
+
message: str | None = None
|
|
133
|
+
"""
|
|
134
|
+
message is a human-readable explanation of health.
|
|
135
|
+
"""
|
|
136
|
+
name: str
|
|
137
|
+
"""
|
|
138
|
+
name identifies the component in spec.components.
|
|
139
|
+
"""
|
|
140
|
+
reason: str | None = None
|
|
141
|
+
"""
|
|
142
|
+
reason is a CamelCase, machine-readable refinement of health, such as
|
|
143
|
+
CrashLoopBackOff or Unschedulable.
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
|
|
101
147
|
class ComponentSyncStatus(BaseModel):
|
|
102
148
|
"""
|
|
103
149
|
ComponentSyncStatus reports the latest observed Application state.
|
|
@@ -110,12 +156,8 @@ class ComponentSyncStatus(BaseModel):
|
|
|
110
156
|
compared_to_matches_spec: Annotated[bool, Field(alias="comparedToMatchesSpec")]
|
|
111
157
|
"""
|
|
112
158
|
comparedToMatchesSpec reports whether Argo CD's latest comparison used the
|
|
113
|
-
desired source, destination and ignoreDifferences. While false,
|
|
114
|
-
|
|
115
|
-
"""
|
|
116
|
-
health: str | None = None
|
|
117
|
-
"""
|
|
118
|
-
health is Argo CD's observed Application health, empty before its first comparison.
|
|
159
|
+
desired source, destination and ignoreDifferences. While false, sync does not
|
|
160
|
+
establish convergence on the desired configuration.
|
|
119
161
|
"""
|
|
120
162
|
message: str | None = None
|
|
121
163
|
"""
|
|
@@ -206,12 +248,26 @@ class CCLComponentSetStatus(BaseModel):
|
|
|
206
248
|
model_config = ConfigDict(
|
|
207
249
|
populate_by_name=True,
|
|
208
250
|
)
|
|
209
|
-
|
|
210
|
-
list[
|
|
251
|
+
component_health_statuses: Annotated[
|
|
252
|
+
list[ComponentHealthStatus] | None, Field(alias="componentHealthStatuses")
|
|
253
|
+
] = None
|
|
254
|
+
"""
|
|
255
|
+
componentHealthStatuses reports the health of each released component's live
|
|
256
|
+
objects, as its chart judges it from what Argo CD reports, such as a Job that
|
|
257
|
+
succeeded or a Pod in CrashLoopBackOff.
|
|
258
|
+
|
|
259
|
+
It describes the objects running now, whichever spec they were rendered from.
|
|
260
|
+
Whether they are the current spec's is the same component's entry in
|
|
261
|
+
componentSyncStatuses; whether the rollout has finished is the Progressing
|
|
262
|
+
condition. It is observed periodically as well as on Application changes, so it
|
|
263
|
+
can lag the objects by up to a minute.
|
|
264
|
+
"""
|
|
265
|
+
component_sync_statuses: Annotated[
|
|
266
|
+
list[ComponentSyncStatus] | None, Field(alias="componentSyncStatuses")
|
|
211
267
|
] = None
|
|
212
268
|
"""
|
|
213
|
-
|
|
214
|
-
component, judged against the spec at status.observedGeneration.
|
|
269
|
+
componentSyncStatuses reports the latest observed Application state for each
|
|
270
|
+
released component, judged against the spec at status.observedGeneration.
|
|
215
271
|
"""
|
|
216
272
|
conditions: list[Condition] | None = None
|
|
217
273
|
"""
|
|
@@ -230,7 +286,8 @@ class CCLComponentSetStatus(BaseModel):
|
|
|
230
286
|
observed_generation: Annotated[int | None, Field(alias="observedGeneration")] = None
|
|
231
287
|
"""
|
|
232
288
|
observedGeneration is the .metadata.generation of the spec the operator last
|
|
233
|
-
reconciled.
|
|
234
|
-
|
|
235
|
-
|
|
289
|
+
reconciled. componentSyncStatuses always describes this generation;
|
|
290
|
+
componentHealthStatuses does not, because health is not a property of a spec. A
|
|
291
|
+
condition can be older, as its own observedGeneration says: ComponentsApplied is
|
|
292
|
+
not rewritten on a pass that fails validation.
|
|
236
293
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/v1alpha1/cclclusterconfig.py
RENAMED
|
File without changes
|
{ccluster_py-0.0.10.dev154 → ccluster_py-0.0.10.dev155}/src/ccluster/v1alpha1/cclinfraplane.py
RENAMED
|
File without changes
|