Class: Google::Cloud::Deploy::V1::KubernetesConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::KubernetesConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/deploy/v1/cloud_deploy.rb
Overview
KubernetesConfig contains the Kubernetes runtime configuration.
Defined Under Namespace
Classes: GatewayServiceMesh, ServiceNetworking
Instance Attribute Summary collapse
-
#gateway_service_mesh ⇒ ::Google::Cloud::Deploy::V1::KubernetesConfig::GatewayServiceMesh
Kubernetes Gateway API service mesh configuration.
-
#service_networking ⇒ ::Google::Cloud::Deploy::V1::KubernetesConfig::ServiceNetworking
Kubernetes Service networking configuration.
Instance Attribute Details
#gateway_service_mesh ⇒ ::Google::Cloud::Deploy::V1::KubernetesConfig::GatewayServiceMesh
Returns Kubernetes Gateway API service mesh configuration.
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 313 class KubernetesConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about the Kubernetes Gateway API service mesh configuration. # @!attribute [rw] http_route # @return [::String] # Required. Name of the Gateway API HTTPRoute. # @!attribute [rw] service # @return [::String] # Required. Name of the Kubernetes Service. # @!attribute [rw] deployment # @return [::String] # Required. Name of the Kubernetes Deployment whose traffic is managed by # the specified HTTPRoute and Service. # @!attribute [rw] route_update_wait_time # @return [::Google::Protobuf::Duration] # Optional. The time to wait for route updates to propagate. The maximum # configurable time is 3 hours, in seconds format. If unspecified, there is # no wait time. # @!attribute [rw] stable_cutback_duration # @return [::Google::Protobuf::Duration] # Optional. The amount of time to migrate traffic back from the canary # Service to the original Service during the stable phase deployment. If # specified, must be between 15s and 3600s. If unspecified, there is no # cutback time. # @!attribute [rw] pod_selector_label # @return [::String] # Optional. The label to use when selecting Pods for the Deployment and # Service resources. This label must already be present in both resources. class GatewayServiceMesh include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Information about the Kubernetes Service networking configuration. # @!attribute [rw] service # @return [::String] # Required. Name of the Kubernetes Service. # @!attribute [rw] deployment # @return [::String] # Required. Name of the Kubernetes Deployment whose traffic is managed by # the specified Service. # @!attribute [rw] disable_pod_overprovisioning # @return [::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. # @!attribute [rw] pod_selector_label # @return [::String] # Optional. The label to use when selecting Pods for the Deployment # resource. This label must already be present in the Deployment. class ServiceNetworking include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#service_networking ⇒ ::Google::Cloud::Deploy::V1::KubernetesConfig::ServiceNetworking
Returns Kubernetes Service networking configuration.
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 313 class KubernetesConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about the Kubernetes Gateway API service mesh configuration. # @!attribute [rw] http_route # @return [::String] # Required. Name of the Gateway API HTTPRoute. # @!attribute [rw] service # @return [::String] # Required. Name of the Kubernetes Service. # @!attribute [rw] deployment # @return [::String] # Required. Name of the Kubernetes Deployment whose traffic is managed by # the specified HTTPRoute and Service. # @!attribute [rw] route_update_wait_time # @return [::Google::Protobuf::Duration] # Optional. The time to wait for route updates to propagate. The maximum # configurable time is 3 hours, in seconds format. If unspecified, there is # no wait time. # @!attribute [rw] stable_cutback_duration # @return [::Google::Protobuf::Duration] # Optional. The amount of time to migrate traffic back from the canary # Service to the original Service during the stable phase deployment. If # specified, must be between 15s and 3600s. If unspecified, there is no # cutback time. # @!attribute [rw] pod_selector_label # @return [::String] # Optional. The label to use when selecting Pods for the Deployment and # Service resources. This label must already be present in both resources. class GatewayServiceMesh include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Information about the Kubernetes Service networking configuration. # @!attribute [rw] service # @return [::String] # Required. Name of the Kubernetes Service. # @!attribute [rw] deployment # @return [::String] # Required. Name of the Kubernetes Deployment whose traffic is managed by # the specified Service. # @!attribute [rw] disable_pod_overprovisioning # @return [::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. # @!attribute [rw] pod_selector_label # @return [::String] # Optional. The label to use when selecting Pods for the Deployment # resource. This label must already be present in the Deployment. class ServiceNetworking include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |