Skip to content

Commit

Permalink
feat: [google-cloud-container] A new field ray_operator_config is a…
Browse files Browse the repository at this point in the history
…dded to message `.google.container.v1beta1.AddonsConfig` (#12912)

- [ ] Regenerate this pull request now.

BEGIN_COMMIT_OVERRIDE
feat: [google-cloud-container] A new field ray_operator_config is added
to message .google.container.v1beta1.AddonsConfig
feat: A new message `RayOperatorConfig` is added
feat: A new message `RayClusterLoggingConfig` is added
feat: A new message `RayClusterMonitoringConfig` is added
docs: A comment for field `subnetwork` in message
`.google.container.v1beta1.AdditionalPodNetworkConfig` is changed
docs: A comment for field `secondary_pod_range` in message
`.google.container.v1beta1.AdditionalPodNetworkConfig` is changed
docs: A comment for field `max_pods_per_node` in message
`.google.container.v1beta1.AdditionalPodNetworkConfig` is changed
feat: [google-cloud-container] support for Ray Clusters
docs: trivial updates
END_COMMIT_OVERRIDE

PiperOrigin-RevId: 652939437

Source-Link:
googleapis/googleapis@f26a071

Source-Link:
googleapis/googleapis-gen@c5dc6f4
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiYzVkYzZmNDA1NjZiNGQzNjllYmZlNzY3NjI5NjQwNDk1OWVkNzhhZiJ9

BEGIN_NESTED_COMMIT
feat: [google-cloud-container] support for Ray Clusters
docs: trivial updates

PiperOrigin-RevId: 652935560

Source-Link:
googleapis/googleapis@056f6e7

Source-Link:
googleapis/googleapis-gen@c9ab7e2
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiYzlhYjdlMjA5M2NhNTk1MTQxZmY4Y2U2NWFhZGRmYWRlNTU5NzhiYyJ9
END_NESTED_COMMIT

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
  • Loading branch information
3 people committed Jul 19, 2024
1 parent e18fcb8 commit 1cdd6d3
Show file tree
Hide file tree
Showing 12 changed files with 185 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@
PrivateClusterMasterGlobalAccessConfig,
PrivateIPv6GoogleAccess,
RangeInfo,
RayClusterLoggingConfig,
RayClusterMonitoringConfig,
RayOperatorConfig,
RecurringTimeWindow,
ReleaseChannel,
ReservationAffinity,
Expand Down Expand Up @@ -314,6 +317,9 @@
"PrivateClusterConfig",
"PrivateClusterMasterGlobalAccessConfig",
"RangeInfo",
"RayClusterLoggingConfig",
"RayClusterMonitoringConfig",
"RayOperatorConfig",
"RecurringTimeWindow",
"ReleaseChannel",
"ReservationAffinity",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.49.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@
PrivateClusterMasterGlobalAccessConfig,
PrivateIPv6GoogleAccess,
RangeInfo,
RayClusterLoggingConfig,
RayClusterMonitoringConfig,
RayOperatorConfig,
RecurringTimeWindow,
ReleaseChannel,
ReservationAffinity,
Expand Down Expand Up @@ -314,6 +317,9 @@
"PrivateClusterMasterGlobalAccessConfig",
"PrivateIPv6GoogleAccess",
"RangeInfo",
"RayClusterLoggingConfig",
"RayClusterMonitoringConfig",
"RayOperatorConfig",
"RecurringTimeWindow",
"ReleaseChannel",
"ReservationAffinity",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.49.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@
PrivateClusterMasterGlobalAccessConfig,
PrivateIPv6GoogleAccess,
RangeInfo,
RayClusterLoggingConfig,
RayClusterMonitoringConfig,
RayOperatorConfig,
RecurringTimeWindow,
ReleaseChannel,
ReservationAffinity,
Expand Down Expand Up @@ -301,6 +304,9 @@
"PrivateClusterConfig",
"PrivateClusterMasterGlobalAccessConfig",
"RangeInfo",
"RayClusterLoggingConfig",
"RayClusterMonitoringConfig",
"RayOperatorConfig",
"RecurringTimeWindow",
"ReleaseChannel",
"ReservationAffinity",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"GcePersistentDiskCsiDriverConfig",
"GcpFilestoreCsiDriverConfig",
"GcsFuseCsiDriverConfig",
"RayOperatorConfig",
"GkeBackupAgentConfig",
"StatefulHAConfig",
"MasterAuthorizedNetworksConfig",
Expand Down Expand Up @@ -183,8 +184,10 @@
"WorkloadPolicyConfig",
"LoggingConfig",
"LoggingComponentConfig",
"RayClusterLoggingConfig",
"MonitoringConfig",
"AdvancedDatapathObservabilityConfig",
"RayClusterMonitoringConfig",
"NodePoolLoggingConfig",
"LoggingVariantConfig",
"MonitoringComponentConfig",
Expand Down Expand Up @@ -1195,13 +1198,13 @@ class AdditionalPodNetworkConfig(proto.Message):
Attributes:
subnetwork (str):
Name of the subnetwork where the additional
pod network belongs
pod network belongs.
secondary_pod_range (str):
The name of the secondary range on the subnet
which provides IP address for this pod range
which provides IP address for this pod range.
max_pods_per_node (google.cloud.container_v1.types.MaxPodsConstraint):
The maximum number of pods per node which use
this pod network
this pod network.
This field is a member of `oneof`_ ``_max_pods_per_node``.
"""
Expand Down Expand Up @@ -1765,6 +1768,9 @@ class AddonsConfig(proto.Message):
stateful_ha_config (google.cloud.container_v1.types.StatefulHAConfig):
Optional. Configuration for the StatefulHA
add-on.
ray_operator_config (google.cloud.container_v1.types.RayOperatorConfig):
Optional. Configuration for Ray Operator
addon.
"""

http_load_balancing: "HttpLoadBalancing" = proto.Field(
Expand Down Expand Up @@ -1829,6 +1835,11 @@ class AddonsConfig(proto.Message):
number=18,
message="StatefulHAConfig",
)
ray_operator_config: "RayOperatorConfig" = proto.Field(
proto.MESSAGE,
number=21,
message="RayOperatorConfig",
)


class HttpLoadBalancing(proto.Message):
Expand Down Expand Up @@ -2126,6 +2137,37 @@ class GcsFuseCsiDriverConfig(proto.Message):
)


class RayOperatorConfig(proto.Message):
r"""Configuration options for the Ray Operator add-on.
Attributes:
enabled (bool):
Whether the Ray Operator addon is enabled for
this cluster.
ray_cluster_logging_config (google.cloud.container_v1.types.RayClusterLoggingConfig):
Optional. Logging configuration for Ray
clusters.
ray_cluster_monitoring_config (google.cloud.container_v1.types.RayClusterMonitoringConfig):
Optional. Monitoring configuration for Ray
clusters.
"""

enabled: bool = proto.Field(
proto.BOOL,
number=1,
)
ray_cluster_logging_config: "RayClusterLoggingConfig" = proto.Field(
proto.MESSAGE,
number=2,
message="RayClusterLoggingConfig",
)
ray_cluster_monitoring_config: "RayClusterMonitoringConfig" = proto.Field(
proto.MESSAGE,
number=3,
message="RayClusterMonitoringConfig",
)


class GkeBackupAgentConfig(proto.Message):
r"""Configuration for the Backup for GKE Agent.
Expand Down Expand Up @@ -9372,6 +9414,21 @@ class Component(proto.Enum):
)


class RayClusterLoggingConfig(proto.Message):
r"""RayClusterLoggingConfig specifies configuration of Ray
logging.
Attributes:
enabled (bool):
Enable log collection for Ray clusters.
"""

enabled: bool = proto.Field(
proto.BOOL,
number=1,
)


class MonitoringConfig(proto.Message):
r"""MonitoringConfig is cluster monitoring configuration.
Expand Down Expand Up @@ -9457,6 +9514,21 @@ class RelayMode(proto.Enum):
)


class RayClusterMonitoringConfig(proto.Message):
r"""RayClusterMonitoringConfig specifies monitoring configuration
for Ray clusters.
Attributes:
enabled (bool):
Enable metrics collection for Ray clusters.
"""

enabled: bool = proto.Field(
proto.BOOL,
number=1,
)


class NodePoolLoggingConfig(proto.Message):
r"""NodePoolLoggingConfig specifies logging configuration for
nodepools.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@
PrivateIPv6GoogleAccess,
ProtectConfig,
RangeInfo,
RayClusterLoggingConfig,
RayClusterMonitoringConfig,
RayOperatorConfig,
RecurringTimeWindow,
ReleaseChannel,
ReservationAffinity,
Expand Down Expand Up @@ -344,6 +347,9 @@
"PrivateIPv6GoogleAccess",
"ProtectConfig",
"RangeInfo",
"RayClusterLoggingConfig",
"RayClusterMonitoringConfig",
"RayOperatorConfig",
"RecurringTimeWindow",
"ReleaseChannel",
"ReservationAffinity",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.49.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@
PrivateIPv6GoogleAccess,
ProtectConfig,
RangeInfo,
RayClusterLoggingConfig,
RayClusterMonitoringConfig,
RayOperatorConfig,
RecurringTimeWindow,
ReleaseChannel,
ReservationAffinity,
Expand Down Expand Up @@ -332,6 +335,9 @@
"PrivateClusterMasterGlobalAccessConfig",
"ProtectConfig",
"RangeInfo",
"RayClusterLoggingConfig",
"RayClusterMonitoringConfig",
"RayOperatorConfig",
"RecurringTimeWindow",
"ReleaseChannel",
"ReservationAffinity",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"GcePersistentDiskCsiDriverConfig",
"GcpFilestoreCsiDriverConfig",
"GcsFuseCsiDriverConfig",
"RayOperatorConfig",
"PrivateClusterMasterGlobalAccessConfig",
"PrivateClusterConfig",
"IstioConfig",
Expand Down Expand Up @@ -204,8 +205,10 @@
"IdentityServiceConfig",
"LoggingConfig",
"LoggingComponentConfig",
"RayClusterLoggingConfig",
"MonitoringConfig",
"AdvancedDatapathObservabilityConfig",
"RayClusterMonitoringConfig",
"NodePoolLoggingConfig",
"LoggingVariantConfig",
"MonitoringComponentConfig",
Expand Down Expand Up @@ -1226,13 +1229,13 @@ class AdditionalPodNetworkConfig(proto.Message):
Attributes:
subnetwork (str):
Name of the subnetwork where the additional
pod network belongs
pod network belongs.
secondary_pod_range (str):
The name of the secondary range on the subnet
which provides IP address for this pod range
which provides IP address for this pod range.
max_pods_per_node (google.cloud.container_v1beta1.types.MaxPodsConstraint):
The maximum number of pods per node which use
this pod network
this pod network.
This field is a member of `oneof`_ ``_max_pods_per_node``.
"""
Expand Down Expand Up @@ -2023,6 +2026,9 @@ class AddonsConfig(proto.Message):
stateful_ha_config (google.cloud.container_v1beta1.types.StatefulHAConfig):
Optional. Configuration for the StatefulHA
add-on.
ray_operator_config (google.cloud.container_v1beta1.types.RayOperatorConfig):
Optional. Configuration for Ray Operator
addon.
"""

http_load_balancing: "HttpLoadBalancing" = proto.Field(
Expand Down Expand Up @@ -2097,6 +2103,11 @@ class AddonsConfig(proto.Message):
number=18,
message="StatefulHAConfig",
)
ray_operator_config: "RayOperatorConfig" = proto.Field(
proto.MESSAGE,
number=21,
message="RayOperatorConfig",
)


class HttpLoadBalancing(proto.Message):
Expand Down Expand Up @@ -2289,6 +2300,37 @@ class GcsFuseCsiDriverConfig(proto.Message):
)


class RayOperatorConfig(proto.Message):
r"""Configuration options for the Ray Operator add-on.
Attributes:
enabled (bool):
Whether the Ray addon is enabled for this
cluster.
ray_cluster_logging_config (google.cloud.container_v1beta1.types.RayClusterLoggingConfig):
Optional. Logging configuration for Ray
clusters.
ray_cluster_monitoring_config (google.cloud.container_v1beta1.types.RayClusterMonitoringConfig):
Optional. Monitoring configuration for Ray
clusters.
"""

enabled: bool = proto.Field(
proto.BOOL,
number=1,
)
ray_cluster_logging_config: "RayClusterLoggingConfig" = proto.Field(
proto.MESSAGE,
number=2,
message="RayClusterLoggingConfig",
)
ray_cluster_monitoring_config: "RayClusterMonitoringConfig" = proto.Field(
proto.MESSAGE,
number=3,
message="RayClusterMonitoringConfig",
)


class PrivateClusterMasterGlobalAccessConfig(proto.Message):
r"""Configuration for controlling master global access settings.
Expand Down Expand Up @@ -10604,6 +10646,21 @@ class Component(proto.Enum):
)


class RayClusterLoggingConfig(proto.Message):
r"""RayClusterLoggingConfig specifies logging configuration for
Ray clusters.
Attributes:
enabled (bool):
Enable log collection for Ray clusters.
"""

enabled: bool = proto.Field(
proto.BOOL,
number=1,
)


class MonitoringConfig(proto.Message):
r"""MonitoringConfig is cluster monitoring configuration.
Expand Down Expand Up @@ -10689,6 +10746,21 @@ class RelayMode(proto.Enum):
)


class RayClusterMonitoringConfig(proto.Message):
r"""RayClusterMonitoringConfig specifies monitoring configuration
for Ray clusters.
Attributes:
enabled (bool):
Enable metrics collection for Ray clusters.
"""

enabled: bool = proto.Field(
proto.BOOL,
number=1,
)


class NodePoolLoggingConfig(proto.Message):
r"""NodePoolLoggingConfig specifies logging configuration for
nodepools.
Expand Down
Loading

0 comments on commit 1cdd6d3

Please sign in to comment.