Class ControlPlaneMachineSetSpec

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ControlPlaneMachineSetSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ControlPlaneMachineSetSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ControlPlaneMachineSetSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ControlPlaneMachineSet represents the configuration of the ControlPlaneMachineSet.
    See Also:
    Serialized Form
    • Method Detail

      • getMachineNamePrefix

        public String getMachineNamePrefix()
        machineNamePrefix is the prefix used when creating machine names. Each machine name will consist of this prefix, followed by a randomly generated string of 5 characters, and the index of the machine. It must be a lowercase RFC 1123 subdomain, consisting of lowercase alphanumeric characters, hyphens ('-'), and periods ('.'). Each block, separated by periods, must start and end with an alphanumeric character. Hyphens are not allowed at the start or end of a block, and consecutive periods are not permitted. The prefix must be between 1 and 245 characters in length. For example, if machineNamePrefix is set to 'control-plane', and three machines are created, their names might be: control-plane-abcde-0, control-plane-fghij-1, control-plane-klmno-2
      • setMachineNamePrefix

        public void setMachineNamePrefix​(String machineNamePrefix)
        machineNamePrefix is the prefix used when creating machine names. Each machine name will consist of this prefix, followed by a randomly generated string of 5 characters, and the index of the machine. It must be a lowercase RFC 1123 subdomain, consisting of lowercase alphanumeric characters, hyphens ('-'), and periods ('.'). Each block, separated by periods, must start and end with an alphanumeric character. Hyphens are not allowed at the start or end of a block, and consecutive periods are not permitted. The prefix must be between 1 and 245 characters in length. For example, if machineNamePrefix is set to 'control-plane', and three machines are created, their names might be: control-plane-abcde-0, control-plane-fghij-1, control-plane-klmno-2
      • getReplicas

        public Integer getReplicas()
        replicas defines how many Control Plane Machines should be created by this ControlPlaneMachineSet. This field is immutable and cannot be changed after cluster installation. The ControlPlaneMachineSet only operates with 3 or 5 node control planes, 3 and 5 are the only valid values for this field.
      • setReplicas

        public void setReplicas​(Integer replicas)
        replicas defines how many Control Plane Machines should be created by this ControlPlaneMachineSet. This field is immutable and cannot be changed after cluster installation. The ControlPlaneMachineSet only operates with 3 or 5 node control planes, 3 and 5 are the only valid values for this field.
      • getSelector

        public io.fabric8.kubernetes.api.model.LabelSelector getSelector()
        ControlPlaneMachineSet represents the configuration of the ControlPlaneMachineSet.
      • setSelector

        public void setSelector​(io.fabric8.kubernetes.api.model.LabelSelector selector)
        ControlPlaneMachineSet represents the configuration of the ControlPlaneMachineSet.
      • getState

        public String getState()
        state defines whether the ControlPlaneMachineSet is Active or Inactive. When Inactive, the ControlPlaneMachineSet will not take any action on the state of the Machines within the cluster. When Active, the ControlPlaneMachineSet will reconcile the Machines and will update the Machines as necessary. Once Active, a ControlPlaneMachineSet cannot be made Inactive. To prevent further action please remove the ControlPlaneMachineSet.
      • setState

        public void setState​(String state)
        state defines whether the ControlPlaneMachineSet is Active or Inactive. When Inactive, the ControlPlaneMachineSet will not take any action on the state of the Machines within the cluster. When Active, the ControlPlaneMachineSet will reconcile the Machines and will update the Machines as necessary. Once Active, a ControlPlaneMachineSet cannot be made Inactive. To prevent further action please remove the ControlPlaneMachineSet.
      • getStrategy

        public ControlPlaneMachineSetStrategy getStrategy()
        ControlPlaneMachineSet represents the configuration of the ControlPlaneMachineSet.
      • setStrategy

        public void setStrategy​(ControlPlaneMachineSetStrategy strategy)
        ControlPlaneMachineSet represents the configuration of the ControlPlaneMachineSet.
      • getTemplate

        public ControlPlaneMachineSetTemplate getTemplate()
        ControlPlaneMachineSet represents the configuration of the ControlPlaneMachineSet.
      • setTemplate

        public void setTemplate​(ControlPlaneMachineSetTemplate template)
        ControlPlaneMachineSet represents the configuration of the ControlPlaneMachineSet.
      • getAdditionalProperties

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

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

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