Skip to content

Commit 4a39795

Browse files
Google APIscopybara-github
authored andcommitted
feat: launch GKE Cost Allocations configuration to the v1 GKE API
PiperOrigin-RevId: 479682735
1 parent df8b967 commit 4a39795

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

google/container/v1/cluster_service.proto

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,9 @@ message AddonsConfig {
10301030

10311031
// Configuration for the GCP Filestore CSI driver.
10321032
GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14;
1033+
1034+
// Configuration for the Backup for GKE agent addon.
1035+
GkeBackupAgentConfig gke_backup_agent_config = 16;
10331036
}
10341037

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

1162+
// Configuration for the Backup for GKE Agent.
1163+
message GkeBackupAgentConfig {
1164+
// Whether the Backup for GKE agent is enabled for this cluster.
1165+
bool enabled = 1;
1166+
}
1167+
11591168
// Configuration options for the master authorized networks feature. Enabled
11601169
// master authorized networks will disallow all external traffic to access
11611170
// Kubernetes master through HTTPS except traffic from the given CIDR blocks,
@@ -1351,6 +1360,12 @@ message IPAllocationPolicy {
13511360
// use_ip_aliases is true. If both use_ip_aliases and use_routes are false,
13521361
// then the server picks the default IP allocation mode
13531362
bool use_routes = 15;
1363+
1364+
// The IP stack type of the cluster
1365+
StackType stack_type = 16;
1366+
1367+
// The ipv6 access type (internal or external) when create_subnetwork is true
1368+
IPv6AccessType ipv6_access_type = 17;
13541369
}
13551370

13561371
// A Google Kubernetes Engine cluster.
@@ -1566,6 +1581,9 @@ message Cluster {
15661581
// pods.
15671582
MeshCertificates mesh_certificates = 67;
15681583

1584+
// Configuration for the fine-grained cost management feature.
1585+
CostManagementConfig cost_management_config = 45;
1586+
15691587
// Notification configuration of the cluster.
15701588
NotificationConfig notification_config = 49;
15711589

@@ -1773,6 +1791,9 @@ message ClusterUpdate {
17731791
// Configuration for Shielded Nodes.
17741792
ShieldedNodes desired_shielded_nodes = 48;
17751793

1794+
// The desired configuration for the fine-grained cost management feature.
1795+
CostManagementConfig desired_cost_management_config = 49;
1796+
17761797
// DNSConfig contains clusterDNS config for this cluster.
17771798
DNSConfig desired_dns_config = 53;
17781799

@@ -3838,6 +3859,12 @@ message ReleaseChannel {
38383859
Channel channel = 1;
38393860
}
38403861

3862+
// Configuration for fine-grained cost management feature.
3863+
message CostManagementConfig {
3864+
// Whether the feature is enabled or not.
3865+
bool enabled = 1;
3866+
}
3867+
38413868
// IntraNodeVisibilityConfig contains the desired config of the intra-node
38423869
// visibility on this cluster.
38433870
message IntraNodeVisibilityConfig {
@@ -4383,3 +4410,27 @@ message ManagedPrometheusConfig {
43834410
// Enable Managed Collection.
43844411
bool enabled = 1;
43854412
}
4413+
4414+
// Possible values for IP stack type
4415+
enum StackType {
4416+
// Default value, will be defaulted as IPV4 only
4417+
STACK_TYPE_UNSPECIFIED = 0;
4418+
4419+
// Cluster is IPV4 only
4420+
IPV4 = 1;
4421+
4422+
// Cluster can use both IPv4 and IPv6
4423+
IPV4_IPV6 = 2;
4424+
}
4425+
4426+
// Possible values for IPv6 access type
4427+
enum IPv6AccessType {
4428+
// Default value, will be defaulted as type external.
4429+
IPV6_ACCESS_TYPE_UNSPECIFIED = 0;
4430+
4431+
// Access type internal (all v6 addresses are internal IPs)
4432+
INTERNAL = 1;
4433+
4434+
// Access type external (all v6 addresses are external IPs)
4435+
EXTERNAL = 2;
4436+
}

0 commit comments

Comments
 (0)