ccluster-py 0.0.9.dev141__tar.gz → 0.0.9.dev143__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.9.dev141 → ccluster_py-0.0.9.dev143}/PKG-INFO +10 -5
  2. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/README.md +9 -4
  3. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/pyproject.toml +1 -1
  4. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/pyproject.toml.orig +1 -1
  5. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/client.py +3 -1
  6. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/v1alpha1/cclclusterconfig.py +6 -4
  7. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/v1alpha1/cclinfraplane.py +6 -4
  8. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/LICENSE +0 -0
  9. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/__init__.py +0 -0
  10. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/__init__.py +0 -0
  11. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/argo_rollouts/__init__.py +0 -0
  12. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/cert_manager/__init__.py +0 -0
  13. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/external_dns/__init__.py +0 -0
  14. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/final_stack/__init__.py +0 -0
  15. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/fluent_bit/__init__.py +0 -0
  16. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/gpu_operator/__init__.py +0 -0
  17. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/ingress_nginx/__init__.py +0 -0
  18. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/istio/__init__.py +0 -0
  19. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/keda/__init__.py +0 -0
  20. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/kube_prometheus_stack/__init__.py +0 -0
  21. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/longhorn/__init__.py +0 -0
  22. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/metrics_server/__init__.py +0 -0
  23. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/network_operator/__init__.py +0 -0
  24. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/opentelemetry_collector/__init__.py +0 -0
  25. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/prometheus_adapter/__init__.py +0 -0
  26. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/spire/__init__.py +0 -0
  27. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/cluster_base/spire_crds/__init__.py +0 -0
  28. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/deployments/compute_deployment/__init__.py +0 -0
  29. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/deployments/dynamo_deployment/__init__.py +0 -0
  30. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/deployments/inference_deployment/__init__.py +0 -0
  31. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/deployments/job_deployment/__init__.py +0 -0
  32. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/namespace_base/__init__.py +0 -0
  33. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/resources/kai_gpu_queues/__init__.py +0 -0
  34. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/catalogs/resources/persistent_volume/__init__.py +0 -0
  35. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/cli.py +0 -0
  36. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/py.typed +0 -0
  37. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/v1alpha1/__init__.py +0 -0
  38. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/v1alpha1/base.py +0 -0
  39. {ccluster_py-0.0.9.dev141 → ccluster_py-0.0.9.dev143}/src/ccluster/v1alpha1/cclcomponentset.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ccluster-py
3
- Version: 0.0.9.dev141
3
+ Version: 0.0.9.dev143
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
@@ -87,8 +87,9 @@ CCLInfraPlane exists;
87
87
  the operator's finalizer removes the mirrored Argo CD Secret, and leaves the namespace.
88
88
  `ensure_namespace` creates the namespace, and is the only method that does: keeping it
89
89
  separate means a mistyped namespace fails against the API server rather than quietly
90
- gaining a working plane. Everything is server-side applied under the `ccluster-py` field
91
- manager, so re-registering a cluster rotates its token in place. Both `apply_infraplane`
90
+ gaining a working plane. Everything is server-side applied under the `ccluster` field
91
+ manager, the one the Go client in `pkg/cclclient` uses too, so re-registering a cluster
92
+ rotates its token in place, whichever client registered it. Both `apply_infraplane`
92
93
  and `apply_component_set` return the applied object, a `CCLInfraPlane` or
93
94
  `CCLComponentSet`, with the metadata the server filled in and the status the operator has
94
95
  written so far.
@@ -139,7 +140,7 @@ from a list of components built with `catalogs.component`, each with a chart's t
139
140
  `Values` where the defaults are not wanted. Each component's `infraPlaneRef`
140
141
  names the registered cluster it deploys to, so one set may span several planes; those
141
142
  planes must be in the client's namespace and already `Available`. List order is rollout
142
- order. Because the set is applied under the same `ccluster-py` field manager, calling
143
+ order. Because the set is applied under the same `ccluster` field manager, calling
143
144
  `apply_component_set` again with a different list updates it in place. The client's
144
145
  namespace is the set's own, on the control plane; a component's own namespace is on its
145
146
  infra plane, created there by Argo CD from the `CreateNamespace=true` sync option the
@@ -212,7 +213,11 @@ one has disappeared.
212
213
  ## Command line
213
214
 
214
215
  The package installs a `ccluster` command, built on click. Run without a subcommand, it
215
- prints its usage.
216
+ prints its usage. A Go build of the same command, taking the same long flags but not
217
+ `-cp` and `-ip`, is also released; see
218
+ [the main README](https://github.com/NVIDIA/ccluster#command-line). Both read the same
219
+ config file, but install only one of them: the two are both called `ccluster`, and the
220
+ first on your `PATH` wins.
216
221
 
217
222
  Start with `ccluster init`, which names the control plane by its kubeconfig context, checks
218
223
  that it serves the ccluster API, and saves the context name to
@@ -65,8 +65,9 @@ CCLInfraPlane exists;
65
65
  the operator's finalizer removes the mirrored Argo CD Secret, and leaves the namespace.
66
66
  `ensure_namespace` creates the namespace, and is the only method that does: keeping it
67
67
  separate means a mistyped namespace fails against the API server rather than quietly
68
- gaining a working plane. Everything is server-side applied under the `ccluster-py` field
69
- manager, so re-registering a cluster rotates its token in place. Both `apply_infraplane`
68
+ gaining a working plane. Everything is server-side applied under the `ccluster` field
69
+ manager, the one the Go client in `pkg/cclclient` uses too, so re-registering a cluster
70
+ rotates its token in place, whichever client registered it. Both `apply_infraplane`
70
71
  and `apply_component_set` return the applied object, a `CCLInfraPlane` or
71
72
  `CCLComponentSet`, with the metadata the server filled in and the status the operator has
72
73
  written so far.
@@ -117,7 +118,7 @@ from a list of components built with `catalogs.component`, each with a chart's t
117
118
  `Values` where the defaults are not wanted. Each component's `infraPlaneRef`
118
119
  names the registered cluster it deploys to, so one set may span several planes; those
119
120
  planes must be in the client's namespace and already `Available`. List order is rollout
120
- order. Because the set is applied under the same `ccluster-py` field manager, calling
121
+ order. Because the set is applied under the same `ccluster` field manager, calling
121
122
  `apply_component_set` again with a different list updates it in place. The client's
122
123
  namespace is the set's own, on the control plane; a component's own namespace is on its
123
124
  infra plane, created there by Argo CD from the `CreateNamespace=true` sync option the
@@ -190,7 +191,11 @@ one has disappeared.
190
191
  ## Command line
191
192
 
192
193
  The package installs a `ccluster` command, built on click. Run without a subcommand, it
193
- prints its usage.
194
+ prints its usage. A Go build of the same command, taking the same long flags but not
195
+ `-cp` and `-ip`, is also released; see
196
+ [the main README](https://github.com/NVIDIA/ccluster#command-line). Both read the same
197
+ config file, but install only one of them: the two are both called `ccluster`, and the
198
+ first on your `PATH` wins.
194
199
 
195
200
  Start with `ccluster init`, which names the control plane by its kubeconfig context, checks
196
201
  that it serves the ccluster API, and saves the context name to
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "ccluster-py"
7
- version = "0.0.9.dev141"
7
+ version = "0.0.9.dev143"
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.9.dev141"
12
+ version = "0.0.9.dev143"
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"
@@ -39,7 +39,9 @@ __all__ = [
39
39
  # Server-side apply records, per field, which manager last set it. Applying under one
40
40
  # fixed name is what lets a later apply_infraplane update the Secret this client wrote
41
41
  # without conflicting with itself, and what marks the objects as ours in managedFields.
42
- _FIELD_MANAGER = "ccluster-py"
42
+ # The Go client (pkg/cclclient) and the `ccluster` command apply under the same name, so
43
+ # each can update or shrink what the other applied.
44
+ _FIELD_MANAGER = "ccluster"
43
45
 
44
46
  # Argo CD special-cases this exact server URL: it connects with its own ServiceAccount
45
47
  # rather than anything in the Secret's "config", so no token or CA is needed to register
@@ -105,20 +105,22 @@ class Condition(BaseModel):
105
105
  class LoadBalancer(BaseModel):
106
106
  """
107
107
  LoadBalancerStatus is the address of a LoadBalancer Service labelled
108
- ccluster.nvidia.com/loadbalancer. ip and hostname are both empty until the cloud
109
- provider assigns one.
108
+ ccluster.nvidia.com/loadbalancer, as the Service reports it. ip and hostname are both
109
+ empty until the cloud provider assigns one. Neither the schema nor the infra-plane
110
+ operator checks the address: the control-plane operator does, when it publishes the
111
+ LoadBalancer's DNS record, and reports one it cannot use in its DNSReady condition.
110
112
  """
111
113
 
112
114
  model_config = ConfigDict(
113
115
  populate_by_name=True,
114
116
  )
115
- hostname: str | None = None
117
+ hostname: Annotated[str | None, Field(max_length=253)] = None
116
118
  """
117
119
  hostname is the LoadBalancer's DNS name, set by cloud providers whose load
118
120
  balancers are addressed by name rather than by IP: the first hostname the Service
119
121
  reports.
120
122
  """
121
- ip: str | None = None
123
+ ip: Annotated[str | None, Field(max_length=45)] = None
122
124
  """
123
125
  ip is the LoadBalancer's IP address: the first IP the Service reports.
124
126
  """
@@ -154,20 +154,22 @@ class Condition(BaseModel):
154
154
  class LoadBalancer(BaseModel):
155
155
  """
156
156
  LoadBalancerStatus is the address of a LoadBalancer Service labelled
157
- ccluster.nvidia.com/loadbalancer. ip and hostname are both empty until the cloud
158
- provider assigns one.
157
+ ccluster.nvidia.com/loadbalancer, as the Service reports it. ip and hostname are both
158
+ empty until the cloud provider assigns one. Neither the schema nor the infra-plane
159
+ operator checks the address: the control-plane operator does, when it publishes the
160
+ LoadBalancer's DNS record, and reports one it cannot use in its DNSReady condition.
159
161
  """
160
162
 
161
163
  model_config = ConfigDict(
162
164
  populate_by_name=True,
163
165
  )
164
- hostname: str | None = None
166
+ hostname: Annotated[str | None, Field(max_length=253)] = None
165
167
  """
166
168
  hostname is the LoadBalancer's DNS name, set by cloud providers whose load
167
169
  balancers are addressed by name rather than by IP: the first hostname the Service
168
170
  reports.
169
171
  """
170
- ip: str | None = None
172
+ ip: Annotated[str | None, Field(max_length=45)] = None
171
173
  """
172
174
  ip is the LoadBalancer's IP address: the first IP the Service reports.
173
175
  """