class documentation
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 | 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 | 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. |
def __init__(self, initial_message:
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):
(source)
¶
Create a wrapper around a protobuf message instance.
| Raises | |
AttributeError | If the wrapper is missing required class metadata. |
@audit_logs.setter
def audit_logs(self, value:
def audit_logs(self, value:
AuditLogsSpec | cluster_pb2.AuditLogsSpec | None):
(source)
¶
Undocumented
@endpoints.setter
def endpoints(self, value:
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.