Skip to content

Commit

Permalink
feat(container): update the api
Browse files Browse the repository at this point in the history
#### container:v1

The following keys were added:
- schemas.CertificateAuthorityDomainConfig (Total Keys: 5)
- schemas.ClusterUpdate.properties.desiredContainerdConfig.$ref (Total Keys: 1)
- schemas.ContainerdConfig (Total Keys: 3)
- schemas.DNSConfig.properties.additiveVpcScopeDnsDomain.type (Total Keys: 1)
- schemas.GCPSecretManagerCertificateConfig (Total Keys: 3)
- schemas.HugepagesConfig (Total Keys: 6)
- schemas.LinuxNodeConfig.properties.hugepages.$ref (Total Keys: 1)
- schemas.NodeConfig.properties.containerdConfig.$ref (Total Keys: 1)
- schemas.NodeConfigDefaults.properties.containerdConfig.$ref (Total Keys: 1)
- schemas.PrivateRegistryAccessConfig (Total Keys: 5)
- schemas.UpdateNodePoolRequest.properties.accelerators (Total Keys: 2)
- schemas.UpdateNodePoolRequest.properties.containerdConfig.$ref (Total Keys: 1)

#### container:v1beta1

The following keys were added:
- schemas.CertificateAuthorityDomainConfig (Total Keys: 5)
- schemas.Cluster.properties.compliancePostureConfig.$ref (Total Keys: 1)
- schemas.ClusterUpdate.properties.desiredContainerdConfig.$ref (Total Keys: 1)
- schemas.ClusterUpdate.properties.privateClusterConfig (Total Keys: 2)
- schemas.CompliancePostureConfig (Total Keys: 5)
- schemas.ComplianceStandard (Total Keys: 3)
- schemas.ContainerdConfig (Total Keys: 3)
- schemas.DNSConfig.properties.additiveVpcScopeDnsDomain.type (Total Keys: 1)
- schemas.GCPSecretManagerCertificateConfig (Total Keys: 3)
- schemas.HugepagesConfig (Total Keys: 6)
- schemas.LinuxNodeConfig.properties.hugepages.$ref (Total Keys: 1)
- schemas.NodeConfig.properties.containerdConfig.$ref (Total Keys: 1)
- schemas.NodeConfigDefaults.properties.containerdConfig.$ref (Total Keys: 1)
- schemas.PrivateRegistryAccessConfig (Total Keys: 5)
- schemas.UpdateNodePoolRequest.properties.accelerators (Total Keys: 2)
- schemas.UpdateNodePoolRequest.properties.containerdConfig.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Apr 16, 2024
1 parent 11e15e6 commit 1bc721c
Show file tree
Hide file tree
Showing 10 changed files with 1,422 additions and 12 deletions.
180 changes: 179 additions & 1 deletion docs/dyn/container_v1.projects.locations.clusters.html

Large diffs are not rendered by default.

90 changes: 90 additions & 0 deletions docs/dyn/container_v1.projects.locations.clusters.nodePools.html
Expand Up @@ -191,6 +191,21 @@ <h3>Method Details</h3>
&quot;confidentialNodes&quot;: { # ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. # Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
&quot;enabled&quot;: True or False, # Whether Confidential Nodes feature is enabled.
},
&quot;containerdConfig&quot;: { # ContainerdConfig contains configuration to customize containerd. # Parameters for containerd customization.
&quot;privateRegistryAccessConfig&quot;: { # PrivateRegistryAccessConfig contains access configuration for private container registries. # PrivateRegistryAccessConfig is used to configure access configuration for private container registries.
&quot;certificateAuthorityDomainConfig&quot;: [ # Private registry access configuration.
{ # CertificateAuthorityDomainConfig configures one or more fully qualified domain names (FQDN) to a specific certificate.
&quot;fqdns&quot;: [ # List of fully qualified domain names (FQDN). Specifying port is supported. Wilcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000
&quot;A String&quot;,
],
&quot;gcpSecretManagerCertificateConfig&quot;: { # GCPSecretManagerCertificateConfig configures a secret from [Google Secret Manager](https://cloud.google.com/secret-manager). # Google Secret Manager (GCP) certificate configuration.
&quot;secretUri&quot;: &quot;A String&quot;, # Secret URI, in the form &quot;projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION&quot;. Version can be fixed (e.g. &quot;2&quot;) or &quot;latest&quot;
},
},
],
&quot;enabled&quot;: True or False, # Private registry access is enabled.
},
},
&quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
&quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) If unspecified, the default disk type is &#x27;pd-standard&#x27;
&quot;enableConfidentialStorage&quot;: True or False, # Optional. Reserved for future use.
Expand Down Expand Up @@ -219,6 +234,10 @@ <h3>Method Details</h3>
},
&quot;linuxNodeConfig&quot;: { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
&quot;cgroupMode&quot;: &quot;A String&quot;, # cgroup_mode specifies the cgroup mode to be used on the node.
&quot;hugepages&quot;: { # Hugepages amount in both 2m and 1g size # Optional. Amounts for 2M and 1G hugepages
&quot;hugepageSize1g&quot;: 42, # Optional. Amount of 1G hugepages
&quot;hugepageSize2m&quot;: 42, # Optional. Amount of 2M hugepages
},
&quot;sysctls&quot;: { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -588,6 +607,21 @@ <h3>Method Details</h3>
&quot;confidentialNodes&quot;: { # ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. # Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
&quot;enabled&quot;: True or False, # Whether Confidential Nodes feature is enabled.
},
&quot;containerdConfig&quot;: { # ContainerdConfig contains configuration to customize containerd. # Parameters for containerd customization.
&quot;privateRegistryAccessConfig&quot;: { # PrivateRegistryAccessConfig contains access configuration for private container registries. # PrivateRegistryAccessConfig is used to configure access configuration for private container registries.
&quot;certificateAuthorityDomainConfig&quot;: [ # Private registry access configuration.
{ # CertificateAuthorityDomainConfig configures one or more fully qualified domain names (FQDN) to a specific certificate.
&quot;fqdns&quot;: [ # List of fully qualified domain names (FQDN). Specifying port is supported. Wilcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000
&quot;A String&quot;,
],
&quot;gcpSecretManagerCertificateConfig&quot;: { # GCPSecretManagerCertificateConfig configures a secret from [Google Secret Manager](https://cloud.google.com/secret-manager). # Google Secret Manager (GCP) certificate configuration.
&quot;secretUri&quot;: &quot;A String&quot;, # Secret URI, in the form &quot;projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION&quot;. Version can be fixed (e.g. &quot;2&quot;) or &quot;latest&quot;
},
},
],
&quot;enabled&quot;: True or False, # Private registry access is enabled.
},
},
&quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
&quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) If unspecified, the default disk type is &#x27;pd-standard&#x27;
&quot;enableConfidentialStorage&quot;: True or False, # Optional. Reserved for future use.
Expand Down Expand Up @@ -616,6 +650,10 @@ <h3>Method Details</h3>
},
&quot;linuxNodeConfig&quot;: { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
&quot;cgroupMode&quot;: &quot;A String&quot;, # cgroup_mode specifies the cgroup mode to be used on the node.
&quot;hugepages&quot;: { # Hugepages amount in both 2m and 1g size # Optional. Amounts for 2M and 1G hugepages
&quot;hugepageSize1g&quot;: 42, # Optional. Amount of 1G hugepages
&quot;hugepageSize2m&quot;: 42, # Optional. Amount of 2M hugepages
},
&quot;sysctls&quot;: { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -851,6 +889,21 @@ <h3>Method Details</h3>
&quot;confidentialNodes&quot;: { # ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. # Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
&quot;enabled&quot;: True or False, # Whether Confidential Nodes feature is enabled.
},
&quot;containerdConfig&quot;: { # ContainerdConfig contains configuration to customize containerd. # Parameters for containerd customization.
&quot;privateRegistryAccessConfig&quot;: { # PrivateRegistryAccessConfig contains access configuration for private container registries. # PrivateRegistryAccessConfig is used to configure access configuration for private container registries.
&quot;certificateAuthorityDomainConfig&quot;: [ # Private registry access configuration.
{ # CertificateAuthorityDomainConfig configures one or more fully qualified domain names (FQDN) to a specific certificate.
&quot;fqdns&quot;: [ # List of fully qualified domain names (FQDN). Specifying port is supported. Wilcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000
&quot;A String&quot;,
],
&quot;gcpSecretManagerCertificateConfig&quot;: { # GCPSecretManagerCertificateConfig configures a secret from [Google Secret Manager](https://cloud.google.com/secret-manager). # Google Secret Manager (GCP) certificate configuration.
&quot;secretUri&quot;: &quot;A String&quot;, # Secret URI, in the form &quot;projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION&quot;. Version can be fixed (e.g. &quot;2&quot;) or &quot;latest&quot;
},
},
],
&quot;enabled&quot;: True or False, # Private registry access is enabled.
},
},
&quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
&quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) If unspecified, the default disk type is &#x27;pd-standard&#x27;
&quot;enableConfidentialStorage&quot;: True or False, # Optional. Reserved for future use.
Expand Down Expand Up @@ -879,6 +932,10 @@ <h3>Method Details</h3>
},
&quot;linuxNodeConfig&quot;: { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
&quot;cgroupMode&quot;: &quot;A String&quot;, # cgroup_mode specifies the cgroup mode to be used on the node.
&quot;hugepages&quot;: { # Hugepages amount in both 2m and 1g size # Optional. Amounts for 2M and 1G hugepages
&quot;hugepageSize1g&quot;: 42, # Optional. Amount of 1G hugepages
&quot;hugepageSize2m&quot;: 42, # Optional. Amount of 2M hugepages
},
&quot;sysctls&quot;: { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -1395,10 +1452,39 @@ <h3>Method Details</h3>
The object takes the form of:

{ # UpdateNodePoolRequests update a node pool&#x27;s image and/or version.
&quot;accelerators&quot;: [ # A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
{ # AcceleratorConfig represents a Hardware Accelerator request.
&quot;acceleratorCount&quot;: &quot;A String&quot;, # The number of the accelerator cards exposed to an instance.
&quot;acceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)
&quot;gpuDriverInstallationConfig&quot;: { # GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed. # The configuration for auto installation of GPU driver.
&quot;gpuDriverVersion&quot;: &quot;A String&quot;, # Mode for how the GPU driver is installed.
},
&quot;gpuPartitionSize&quot;: &quot;A String&quot;, # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
&quot;gpuSharingConfig&quot;: { # GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. # The configuration for GPU sharing options.
&quot;gpuSharingStrategy&quot;: &quot;A String&quot;, # The type of GPU sharing strategy to enable on the GPU node.
&quot;maxSharedClientsPerGpu&quot;: &quot;A String&quot;, # The max number of containers that can share a physical GPU.
},
},
],
&quot;clusterId&quot;: &quot;A String&quot;, # Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
&quot;confidentialNodes&quot;: { # ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. # Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
&quot;enabled&quot;: True or False, # Whether Confidential Nodes feature is enabled.
},
&quot;containerdConfig&quot;: { # ContainerdConfig contains configuration to customize containerd. # The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.
&quot;privateRegistryAccessConfig&quot;: { # PrivateRegistryAccessConfig contains access configuration for private container registries. # PrivateRegistryAccessConfig is used to configure access configuration for private container registries.
&quot;certificateAuthorityDomainConfig&quot;: [ # Private registry access configuration.
{ # CertificateAuthorityDomainConfig configures one or more fully qualified domain names (FQDN) to a specific certificate.
&quot;fqdns&quot;: [ # List of fully qualified domain names (FQDN). Specifying port is supported. Wilcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000
&quot;A String&quot;,
],
&quot;gcpSecretManagerCertificateConfig&quot;: { # GCPSecretManagerCertificateConfig configures a secret from [Google Secret Manager](https://cloud.google.com/secret-manager). # Google Secret Manager (GCP) certificate configuration.
&quot;secretUri&quot;: &quot;A String&quot;, # Secret URI, in the form &quot;projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION&quot;. Version can be fixed (e.g. &quot;2&quot;) or &quot;latest&quot;
},
},
],
&quot;enabled&quot;: True or False, # Private registry access is enabled.
},
},
&quot;diskSizeGb&quot;: &quot;A String&quot;, # Optional. The desired disk size for nodes in the node pool specified in GB. The smallest allowed disk size is 10GB. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.
&quot;diskType&quot;: &quot;A String&quot;, # Optional. The desired disk type (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.
&quot;etag&quot;: &quot;A String&quot;, # The current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned.
Expand Down Expand Up @@ -1426,6 +1512,10 @@ <h3>Method Details</h3>
},
&quot;linuxNodeConfig&quot;: { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
&quot;cgroupMode&quot;: &quot;A String&quot;, # cgroup_mode specifies the cgroup mode to be used on the node.
&quot;hugepages&quot;: { # Hugepages amount in both 2m and 1g size # Optional. Amounts for 2M and 1G hugepages
&quot;hugepageSize1g&quot;: 42, # Optional. Amount of 1G hugepages
&quot;hugepageSize2m&quot;: 42, # Optional. Amount of 2M hugepages
},
&quot;sysctls&quot;: { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down

0 comments on commit 1bc721c

Please sign in to comment.