Class WorkloadSpec

    • Method Detail

      • getCompositePodGroupTemplates

        public List<CompositePodGroupTemplate> getCompositePodGroupTemplates()
        compositePodGroupTemplates is the list of CompositePodGroup templates that make up the Workload. The maximum number of templates is 8. This field is immutable. Exactly one of CompositePodGroupTemplates and PodGroupTemplates must be set.


        This field is used only when the CompositePodGroup feature gate is enabled.

      • setCompositePodGroupTemplates

        public void setCompositePodGroupTemplates​(List<CompositePodGroupTemplate> compositePodGroupTemplates)
        compositePodGroupTemplates is the list of CompositePodGroup templates that make up the Workload. The maximum number of templates is 8. This field is immutable. Exactly one of CompositePodGroupTemplates and PodGroupTemplates must be set.


        This field is used only when the CompositePodGroup feature gate is enabled.

      • getControllerRef

        public TypedLocalObjectReference getControllerRef()
        WorkloadSpec defines the desired state of a Workload.
      • setControllerRef

        public void setControllerRef​(TypedLocalObjectReference controllerRef)
        WorkloadSpec defines the desired state of a Workload.
      • getPodGroupTemplates

        public List<PodGroupTemplate> getPodGroupTemplates()
        podGroupTemplates is the list of templates that make up the Workload. The maximum number of templates is 8. Templates cannot be added or removed after the workload is created. Existing templates may still be updated where their individual fields allow it. Exactly one of CompositePodGroupTemplates and PodGroupTemplates must be set.
      • setPodGroupTemplates

        public void setPodGroupTemplates​(List<PodGroupTemplate> podGroupTemplates)
        podGroupTemplates is the list of templates that make up the Workload. The maximum number of templates is 8. Templates cannot be added or removed after the workload is created. Existing templates may still be updated where their individual fields allow it. Exactly one of CompositePodGroupTemplates and PodGroupTemplates must be set.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)