class ControlPlaneSpec(pb_classes.Message): (source)
Constructor: ControlPlaneSpec(initial_message, version, subnet_id, endpoints, ...)
Undocumented
| Method | __dir__ |
Undocumented |
| Method | __init__ |
Create a wrapper around a protobuf message instance. |
| Method | audit |
Undocumented |
| Method | endpoints |
Undocumented |
| Method | etcd |
Undocumented |
| Method | karpenter |
Undocumented |
| Method | subnet |
Undocumented |
| Method | version |
Undocumented |
| Constant | __PB2 |
Undocumented |
| Constant | __PY |
Undocumented |
| Class Variable | __mask |
Undocumented |
| Property | audit |
Specify configuration of the pushing k8s audit logs into service logs and show it in the UI. By default cluster will be created without it. |
| Property | endpoints |
Specification of endpoints of cluster control plane. |
| Property | etcd |
Number of instances in etcd cluster. 3 by default. Control plane with etcd_cluster_size: 3 called "Highly Available" ("HA"), because it's Kubernetes API will be available despite a failure of one control plane instance. |
| Property | karpenter |
Enables installation of the Karpenter inside a cluster. Karpenter will be installed as a helm chart inside cluster so it requires creation of at least one CPU public node group. |
| Property | subnet |
Nebius VPC Subnet ID where control plane instances will be located. Also will be default NodeGroup subnet. |
| Property | version |
Desired Kubernetes version of the cluster. For now only acceptable format is <major>.<minor> like "1.31". Option for patch version update will be added later. |
Inherited from Message:
| Class Method | get |
Return the protobuf descriptor for this message class. |
| Class Method | is |
Return True if the field contains credentials. |
| Class Method | is |
Return True if the field is marked as sensitive. |
| Method | __repr__ |
Return a human-readable representation of the message, sanitizing sensitive fields. |
| Method | check |
Check explicit presence for a field in the protobuf message. |
| Method | get |
Build a reset mask for a full update of this message. |
| Method | get |
Return the tracked reset mask. |
| Method | is |
Return True if a field equals its default value. |
| Method | set |
Replace the tracked reset mask. |
| Method | which |
Return the set field name for a given oneof. |
| Instance Variable | __PB2 |
Protobuf message class associated with this wrapper. |
| Instance Variable | __pb2 |
Underlying protobuf message instance. |
| Method | _clear |
Clear a field and record it in the reset mask. |
| Method | _get |
Return a field value with optional wrapping and presence handling. |
| Method | _set |
Set a field value and update the reset mask. |
| Class Variable | __credentials |
Undocumented |
| Class Variable | __default |
Undocumented |
| Class Variable | __sensitive |
Undocumented |
| Instance Variable | __recorded |
Mask tracking fields cleared or set to default. |
message_1.Message | None = None, *, version: builtins.str | None | unset.UnsetType = unset.Unset, subnet_id: builtins.str | None | unset.UnsetType = unset.Unset, endpoints: ControlPlaneEndpointsSpec | cluster_pb2.ControlPlaneEndpointsSpec | None | unset.UnsetType = unset.Unset, etcd_cluster_size: builtins.int | None | unset.UnsetType = unset.Unset, audit_logs: AuditLogsSpec | cluster_pb2.AuditLogsSpec | None | unset.UnsetType = unset.Unset, karpenter: Karpenter | cluster_pb2.Karpenter | None | unset.UnsetType = unset.Unset):
(source)
¶
Create a wrapper around a protobuf message instance.
| Raises | |
AttributeError | If the wrapper is missing required class metadata. |
def audit_logs(self, value:
AuditLogsSpec | cluster_pb2.AuditLogsSpec | None):
(source)
¶
Undocumented
def endpoints(self, value:
ControlPlaneEndpointsSpec | cluster_pb2.ControlPlaneEndpointsSpec | None):
(source)
¶
Undocumented
Undocumented
| Value |
|
Undocumented
| Value |
|
Specify configuration of the pushing k8s audit logs into service logs and show it in the UI. By default cluster will be created without it.
Number of instances in etcd cluster. 3 by default. Control plane with etcd_cluster_size: 3 called "Highly Available" ("HA"), because it's Kubernetes API will be available despite a failure of one control plane instance.
Enables installation of the Karpenter inside a cluster. Karpenter will be installed as a helm chart inside cluster so it requires creation of at least one CPU public node group.
Please note that there is no feature parity between Karpenter node pools and public node groups. By default cluster will be created without it.