Skip to content

Commit

Permalink
feat: launch GKE Cost Allocations configuration to the v1 GKE API
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 479682735
  • Loading branch information
Google APIs authored and Copybara-Service committed Oct 7, 2022
1 parent df8b967 commit 4a39795
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions google/container/v1/cluster_service.proto
Expand Up @@ -1030,6 +1030,9 @@ message AddonsConfig {

// Configuration for the GCP Filestore CSI driver.
GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14;

// Configuration for the Backup for GKE agent addon.
GkeBackupAgentConfig gke_backup_agent_config = 16;
}

// Configuration options for the HTTP (L7) load balancing controller addon,
Expand Down Expand Up @@ -1156,6 +1159,12 @@ message GcpFilestoreCsiDriverConfig {
bool enabled = 1;
}

// Configuration for the Backup for GKE Agent.
message GkeBackupAgentConfig {
// Whether the Backup for GKE agent is enabled for this cluster.
bool enabled = 1;
}

// Configuration options for the master authorized networks feature. Enabled
// master authorized networks will disallow all external traffic to access
// Kubernetes master through HTTPS except traffic from the given CIDR blocks,
Expand Down Expand Up @@ -1351,6 +1360,12 @@ message IPAllocationPolicy {
// use_ip_aliases is true. If both use_ip_aliases and use_routes are false,
// then the server picks the default IP allocation mode
bool use_routes = 15;

// The IP stack type of the cluster
StackType stack_type = 16;

// The ipv6 access type (internal or external) when create_subnetwork is true
IPv6AccessType ipv6_access_type = 17;
}

// A Google Kubernetes Engine cluster.
Expand Down Expand Up @@ -1566,6 +1581,9 @@ message Cluster {
// pods.
MeshCertificates mesh_certificates = 67;

// Configuration for the fine-grained cost management feature.
CostManagementConfig cost_management_config = 45;

// Notification configuration of the cluster.
NotificationConfig notification_config = 49;

Expand Down Expand Up @@ -1773,6 +1791,9 @@ message ClusterUpdate {
// Configuration for Shielded Nodes.
ShieldedNodes desired_shielded_nodes = 48;

// The desired configuration for the fine-grained cost management feature.
CostManagementConfig desired_cost_management_config = 49;

// DNSConfig contains clusterDNS config for this cluster.
DNSConfig desired_dns_config = 53;

Expand Down Expand Up @@ -3838,6 +3859,12 @@ message ReleaseChannel {
Channel channel = 1;
}

// Configuration for fine-grained cost management feature.
message CostManagementConfig {
// Whether the feature is enabled or not.
bool enabled = 1;
}

// IntraNodeVisibilityConfig contains the desired config of the intra-node
// visibility on this cluster.
message IntraNodeVisibilityConfig {
Expand Down Expand Up @@ -4383,3 +4410,27 @@ message ManagedPrometheusConfig {
// Enable Managed Collection.
bool enabled = 1;
}

// Possible values for IP stack type
enum StackType {
// Default value, will be defaulted as IPV4 only
STACK_TYPE_UNSPECIFIED = 0;

// Cluster is IPV4 only
IPV4 = 1;

// Cluster can use both IPv4 and IPv6
IPV4_IPV6 = 2;
}

// Possible values for IPv6 access type
enum IPv6AccessType {
// Default value, will be defaulted as type external.
IPV6_ACCESS_TYPE_UNSPECIFIED = 0;

// Access type internal (all v6 addresses are internal IPs)
INTERNAL = 1;

// Access type external (all v6 addresses are external IPs)
EXTERNAL = 2;
}

0 comments on commit 4a39795

Please sign in to comment.