ccluster-py 0.0.10.dev153__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.
Files changed (39) hide show
  1. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/PKG-INFO +1 -1
  2. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/pyproject.toml +1 -1
  3. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/pyproject.toml.orig +1 -1
  4. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/v1alpha1/cclcomponentset.py +70 -13
  5. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/LICENSE +0 -0
  6. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/README.md +0 -0
  7. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/__init__.py +0 -0
  8. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/__init__.py +0 -0
  9. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/argo_rollouts/__init__.py +0 -0
  10. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/cert_manager/__init__.py +0 -0
  11. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/external_dns/__init__.py +0 -0
  12. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/final_stack/__init__.py +0 -0
  13. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/fluent_bit/__init__.py +0 -0
  14. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/gpu_operator/__init__.py +0 -0
  15. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/ingress_nginx/__init__.py +0 -0
  16. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/istio/__init__.py +0 -0
  17. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/keda/__init__.py +0 -0
  18. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/kube_prometheus_stack/__init__.py +0 -0
  19. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/longhorn/__init__.py +0 -0
  20. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/metrics_server/__init__.py +0 -0
  21. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/network_operator/__init__.py +0 -0
  22. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/opentelemetry_collector/__init__.py +0 -0
  23. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/prometheus_adapter/__init__.py +0 -0
  24. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/spire/__init__.py +0 -0
  25. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/cluster_base/spire_crds/__init__.py +0 -0
  26. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/deployments/compute_deployment/__init__.py +0 -0
  27. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/deployments/dynamo_deployment/__init__.py +0 -0
  28. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/deployments/inference_deployment/__init__.py +0 -0
  29. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/deployments/job_deployment/__init__.py +0 -0
  30. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/namespace_base/__init__.py +0 -0
  31. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/resources/kai_gpu_queues/__init__.py +0 -0
  32. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/catalogs/resources/persistent_volume/__init__.py +0 -0
  33. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/cli.py +0 -0
  34. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/client.py +0 -0
  35. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/py.typed +0 -0
  36. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/v1alpha1/__init__.py +0 -0
  37. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/v1alpha1/base.py +0 -0
  38. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/src/ccluster/v1alpha1/cclclusterconfig.py +0 -0
  39. {ccluster_py-0.0.10.dev153 → ccluster_py-0.0.10.dev155}/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.dev153
3
+ Version: 0.0.10.dev155
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.dev153"
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.dev153"
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"
@@ -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, health and sync do
114
- not establish convergence on the desired configuration.
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
- component_syncs: Annotated[
210
- list[ComponentSyncStatus] | None, Field(alias="componentSyncs")
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
- componentSyncs reports the latest observed Application state for each released
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. componentSyncs always describes this generation. A condition can be
234
- older, as its own observedGeneration says: ComponentsApplied is not rewritten on a
235
- pass that fails validation.
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
  """