Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::KubernetesConfig::ServiceNetworking (v2.4.1)

Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::KubernetesConfig::ServiceNetworking.

Information about the Kubernetes Service networking configuration.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#deployment

defdeployment()->::String
Returns
  • (::String) — Required. Name of the Kubernetes Deployment whose traffic is managed by the specified Service.

#deployment=

defdeployment=(value)->::String
Parameter
  • value (::String) — Required. Name of the Kubernetes Deployment whose traffic is managed by the specified Service.
Returns
  • (::String) — Required. Name of the Kubernetes Deployment whose traffic is managed by the specified Service.

#disable_pod_overprovisioning

defdisable_pod_overprovisioning()->::Boolean
Returns
  • (::Boolean) — Optional. Whether to disable Pod overprovisioning. If Pod overprovisioning is disabled then Cloud Deploy will limit the number of total Pods used for the deployment strategy to the number of Pods the Deployment has on the cluster.

#disable_pod_overprovisioning=

defdisable_pod_overprovisioning=(value)->::Boolean
Parameter
  • value (::Boolean) — Optional. Whether to disable Pod overprovisioning. If Pod overprovisioning is disabled then Cloud Deploy will limit the number of total Pods used for the deployment strategy to the number of Pods the Deployment has on the cluster.
Returns
  • (::Boolean) — Optional. Whether to disable Pod overprovisioning. If Pod overprovisioning is disabled then Cloud Deploy will limit the number of total Pods used for the deployment strategy to the number of Pods the Deployment has on the cluster.

#pod_selector_label

defpod_selector_label()->::String
Returns
  • (::String) — Optional. The label to use when selecting Pods for the Deployment resource. This label must already be present in the Deployment.

#pod_selector_label=

defpod_selector_label=(value)->::String
Parameter
  • value (::String) — Optional. The label to use when selecting Pods for the Deployment resource. This label must already be present in the Deployment.
Returns
  • (::String) — Optional. The label to use when selecting Pods for the Deployment resource. This label must already be present in the Deployment.

#service

defservice()->::String
Returns
  • (::String) — Required. Name of the Kubernetes Service.

#service=

defservice=(value)->::String
Parameter
  • value (::String) — Required. Name of the Kubernetes Service.
Returns
  • (::String) — Required. Name of the Kubernetes Service.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.