Skip to content

Commit

Permalink
feat: launch GKE Cost Allocations configuration to the v1 GKE API (#577)
Browse files Browse the repository at this point in the history
* feat: launch GKE Cost Allocations configuration to the v1 GKE API

PiperOrigin-RevId: 479682735

Source-Link: googleapis/googleapis@4a39795

Source-Link: googleapis/googleapis-gen@aaca9d4
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWFjYTlkNDNkNTViNzY3ODIyNzg4ZjQ1NDdlNTQ3OWEyY2U5MjVhNSJ9

* 🦉 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] committed Oct 14, 2022
1 parent 1f5746e commit 90b8ba5
Show file tree
Hide file tree
Showing 4 changed files with 943 additions and 0 deletions.
Original file line number Diff line number Diff line change
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;
}
Loading

0 comments on commit 90b8ba5

Please sign in to comment.