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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface KubernetesConfig.ServiceNetworkingOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder) \n\n public static interface KubernetesConfig.ServiceNetworkingOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getDeployment()\n\n public abstract String getDeployment()\n\nRequired. Name of the Kubernetes Deployment whose traffic is managed by\nthe specified Service.\n\n`string deployment = 2;`\n\n### getDeploymentBytes()\n\n public abstract ByteString getDeploymentBytes()\n\nRequired. Name of the Kubernetes Deployment whose traffic is managed by\nthe specified Service.\n\n`string deployment = 2;`\n\n### getDisablePodOverprovisioning()\n\n public abstract boolean getDisablePodOverprovisioning()\n\nOptional. Whether to disable Pod overprovisioning. If Pod\noverprovisioning is disabled then Cloud Deploy will limit the number of\ntotal Pods used for the deployment strategy to the number of Pods the\nDeployment has on the cluster.\n\n`bool disable_pod_overprovisioning = 3;`\n\n### getService()\n\n public abstract String getService()\n\nRequired. Name of the Kubernetes Service.\n\n`string service = 1;`\n\n### getServiceBytes()\n\n public abstract ByteString getServiceBytes()\n\nRequired. Name of the Kubernetes Service.\n\n`string service = 1;`"]]