Skip to content

Commit

Permalink
feat: [container] A new field ray_operator_config is added to messa…
Browse files Browse the repository at this point in the history
…ge `.google.container.v1beta1.AddonsConfig` (#5553)

* feat: support for Ray Clusters
docs: trivial updates

PiperOrigin-RevId: 652935560

Source-Link: googleapis/googleapis@056f6e7

Source-Link: googleapis/googleapis-gen@c9ab7e2
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiYzlhYjdlMjA5M2NhNTk1MTQxZmY4Y2U2NWFhZGRmYWRlNTU5NzhiYyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: 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

PiperOrigin-RevId: 652939437

Source-Link: googleapis/googleapis@f26a071

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

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jul 17, 2024
1 parent 8a0e59f commit a884c76
Show file tree
Hide file tree
Showing 5 changed files with 2,164 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -981,14 +981,14 @@ message AdditionalNodeNetworkConfig {
// AdditionalPodNetworkConfig is the configuration for additional pod networks
// within the NodeNetworkConfig message
message AdditionalPodNetworkConfig {
// Name of the subnetwork where the additional pod network belongs
// Name of the subnetwork where the additional pod network belongs.
string subnetwork = 1;

// The name of the secondary range on the subnet which provides IP address for
// this pod range
// this pod range.
string secondary_pod_range = 2;

// The maximum number of pods per node which use this pod network
// The maximum number of pods per node which use this pod network.
optional MaxPodsConstraint max_pods_per_node = 3;
}

Expand Down Expand Up @@ -1305,6 +1305,10 @@ message AddonsConfig {
// Optional. Configuration for the StatefulHA add-on.
StatefulHAConfig stateful_ha_config = 18
[(google.api.field_behavior) = OPTIONAL];

// Optional. Configuration for Ray Operator addon.
RayOperatorConfig ray_operator_config = 21
[(google.api.field_behavior) = OPTIONAL];
}

// Configuration options for the HTTP (L7) load balancing controller addon,
Expand Down Expand Up @@ -1441,6 +1445,20 @@ message GcsFuseCsiDriverConfig {
bool enabled = 1;
}

// Configuration options for the Ray Operator add-on.
message RayOperatorConfig {
// Whether the Ray Operator addon is enabled for this cluster.
bool enabled = 1;

// Optional. Logging configuration for Ray clusters.
RayClusterLoggingConfig ray_cluster_logging_config = 2
[(google.api.field_behavior) = OPTIONAL];

// Optional. Monitoring configuration for Ray clusters.
RayClusterMonitoringConfig ray_cluster_monitoring_config = 3
[(google.api.field_behavior) = OPTIONAL];
}

// Configuration for the Backup for GKE Agent.
message GkeBackupAgentConfig {
// Whether the Backup for GKE agent is enabled for this cluster.
Expand Down Expand Up @@ -5279,6 +5297,12 @@ message LoggingComponentConfig {
repeated Component enable_components = 1;
}

// RayClusterLoggingConfig specifies configuration of Ray logging.
message RayClusterLoggingConfig {
// Enable log collection for Ray clusters.
bool enabled = 1;
}

// MonitoringConfig is cluster monitoring configuration.
message MonitoringConfig {
// Monitoring components configuration
Expand Down Expand Up @@ -5321,6 +5345,13 @@ message AdvancedDatapathObservabilityConfig {
optional bool enable_relay = 3;
}

// RayClusterMonitoringConfig specifies monitoring configuration for Ray
// clusters.
message RayClusterMonitoringConfig {
// Enable metrics collection for Ray clusters.
bool enabled = 1;
}

// NodePoolLoggingConfig specifies logging configuration for nodepools.
message NodePoolLoggingConfig {
// Logging variant configuration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -985,14 +985,14 @@ message AdditionalNodeNetworkConfig {
// AdditionalPodNetworkConfig is the configuration for additional pod networks
// within the NodeNetworkConfig message
message AdditionalPodNetworkConfig {
// Name of the subnetwork where the additional pod network belongs
// Name of the subnetwork where the additional pod network belongs.
string subnetwork = 1;

// The name of the secondary range on the subnet which provides IP address for
// this pod range
// this pod range.
string secondary_pod_range = 2;

// The maximum number of pods per node which use this pod network
// The maximum number of pods per node which use this pod network.
optional MaxPodsConstraint max_pods_per_node = 3;
}

Expand Down Expand Up @@ -1443,6 +1443,10 @@ message AddonsConfig {
// Optional. Configuration for the StatefulHA add-on.
StatefulHAConfig stateful_ha_config = 18
[(google.api.field_behavior) = OPTIONAL];

// Optional. Configuration for Ray Operator addon.
RayOperatorConfig ray_operator_config = 21
[(google.api.field_behavior) = OPTIONAL];
}

// Configuration options for the HTTP (L7) load balancing controller addon,
Expand Down Expand Up @@ -1526,6 +1530,20 @@ message GcsFuseCsiDriverConfig {
bool enabled = 1;
}

// Configuration options for the Ray Operator add-on.
message RayOperatorConfig {
// Whether the Ray addon is enabled for this cluster.
bool enabled = 1;

// Optional. Logging configuration for Ray clusters.
RayClusterLoggingConfig ray_cluster_logging_config = 2
[(google.api.field_behavior) = OPTIONAL];

// Optional. Monitoring configuration for Ray clusters.
RayClusterMonitoringConfig ray_cluster_monitoring_config = 3
[(google.api.field_behavior) = OPTIONAL];
}

// Configuration for controlling master global access settings.
message PrivateClusterMasterGlobalAccessConfig {
// Whenever master is accessible globally or not.
Expand Down Expand Up @@ -5985,6 +6003,12 @@ message LoggingComponentConfig {
repeated Component enable_components = 1;
}

// RayClusterLoggingConfig specifies logging configuration for Ray clusters.
message RayClusterLoggingConfig {
// Enable log collection for Ray clusters.
bool enabled = 1;
}

// MonitoringConfig is cluster monitoring configuration.
message MonitoringConfig {
// Monitoring components configuration
Expand Down Expand Up @@ -6027,6 +6051,13 @@ message AdvancedDatapathObservabilityConfig {
optional bool enable_relay = 3;
}

// RayClusterMonitoringConfig specifies monitoring configuration for Ray
// clusters.
message RayClusterMonitoringConfig {
// Enable metrics collection for Ray clusters.
bool enabled = 1;
}

// NodePoolLoggingConfig specifies logging configuration for nodepools.
message NodePoolLoggingConfig {
// Logging variant configuration.
Expand Down
Loading

0 comments on commit a884c76

Please sign in to comment.