Class V1WorkloadReference
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1WorkloadReference
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1WorkloadReference
extends Object
WorkloadReference identifies the Workload object and PodGroup membership that a Pod belongs to. The scheduler uses this information to apply workload-aware scheduling semantics.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()Name defines the name of the Workload object this Pod belongs to.PodGroup is the name of the PodGroup within the Workload that this Pod belongs to.PodGroupReplicaKey specifies the replica key of the PodGroup to which this Pod belongs.inthashCode()Set name in a chainable fashion.Set podGroup in a chainable fashion.podGroupReplicaKey(String podGroupReplicaKey) Set podGroupReplicaKey in a chainable fashion.voidSet the name property valuevoidsetPodGroup(String podGroup) Set the podGroup property valuevoidsetPodGroupReplicaKey(String podGroupReplicaKey) Set the podGroupReplicaKey property valuetoString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_POD_GROUP
- See Also:
-
JSON_PROPERTY_POD_GROUP_REPLICA_KEY
- See Also:
-
-
Constructor Details
-
V1WorkloadReference
-
-
Method Details
-
getName
Name defines the name of the Workload object this Pod belongs to. Workload must be in the same namespace as the Pod. If it doesn't match any existing Workload, the Pod will remain unschedulable until a Workload object is created and observed by the kube-scheduler. It must be a DNS subdomain.- Returns:
- the name property value
-
setName
Set the name property value- Parameters:
name- property value to set
-
name
Set name in a chainable fashion.- Returns:
- The same instance of V1WorkloadReference for chaining.
-
getPodGroup
PodGroup is the name of the PodGroup within the Workload that this Pod belongs to. If it doesn't match any existing PodGroup within the Workload, the Pod will remain unschedulable until the Workload object is recreated and observed by the kube-scheduler. It must be a DNS label.- Returns:
- the podGroup property value
-
setPodGroup
Set the podGroup property value- Parameters:
podGroup- property value to set
-
podGroup
Set podGroup in a chainable fashion.- Returns:
- The same instance of V1WorkloadReference for chaining.
-
getPodGroupReplicaKey
PodGroupReplicaKey specifies the replica key of the PodGroup to which this Pod belongs. It is used to distinguish pods belonging to different replicas of the same pod group. The pod group policy is applied separately to each replica. When set, it must be a DNS label.- Returns:
- the podGroupReplicaKey property value
-
setPodGroupReplicaKey
Set the podGroupReplicaKey property value- Parameters:
podGroupReplicaKey- property value to set
-
podGroupReplicaKey
Set podGroupReplicaKey in a chainable fashion.- Returns:
- The same instance of V1WorkloadReference for chaining.
-
equals
-
hashCode
-
toString
-