Class MachineConfigPoolSpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class MachineConfigPoolSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<MachineConfigPoolSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    MachineConfigPoolSpec is the spec for MachineConfigPool resource.
    See Also:
    Serialized Form
    • Constructor Detail

      • MachineConfigPoolSpec

        public MachineConfigPoolSpec()
        No args constructor for use in serialization
      • MachineConfigPoolSpec

        public MachineConfigPoolSpec​(MachineConfigPoolStatusConfiguration configuration,
                                     io.fabric8.kubernetes.api.model.LabelSelector machineConfigSelector,
                                     io.fabric8.kubernetes.api.model.IntOrString maxUnavailable,
                                     io.fabric8.kubernetes.api.model.LabelSelector nodeSelector,
                                     Boolean paused,
                                     List<PinnedImageSetRef> pinnedImageSets)
    • Method Detail

      • getMachineConfigSelector

        public io.fabric8.kubernetes.api.model.LabelSelector getMachineConfigSelector()
        MachineConfigPoolSpec is the spec for MachineConfigPool resource.
      • setMachineConfigSelector

        public void setMachineConfigSelector​(io.fabric8.kubernetes.api.model.LabelSelector machineConfigSelector)
        MachineConfigPoolSpec is the spec for MachineConfigPool resource.
      • getMaxUnavailable

        public io.fabric8.kubernetes.api.model.IntOrString getMaxUnavailable()
        MachineConfigPoolSpec is the spec for MachineConfigPool resource.
      • setMaxUnavailable

        public void setMaxUnavailable​(io.fabric8.kubernetes.api.model.IntOrString maxUnavailable)
        MachineConfigPoolSpec is the spec for MachineConfigPool resource.
      • getNodeSelector

        public io.fabric8.kubernetes.api.model.LabelSelector getNodeSelector()
        MachineConfigPoolSpec is the spec for MachineConfigPool resource.
      • setNodeSelector

        public void setNodeSelector​(io.fabric8.kubernetes.api.model.LabelSelector nodeSelector)
        MachineConfigPoolSpec is the spec for MachineConfigPool resource.
      • getPaused

        public Boolean getPaused()
        paused specifies whether or not changes to this machine config pool should be stopped. This includes generating new desiredMachineConfig and update of machines.
      • setPaused

        public void setPaused​(Boolean paused)
        paused specifies whether or not changes to this machine config pool should be stopped. This includes generating new desiredMachineConfig and update of machines.
      • getPinnedImageSets

        public List<PinnedImageSetRef> getPinnedImageSets()
        pinnedImageSets specifies a sequence of PinnedImageSetRef objects for the pool. Nodes within this pool will preload and pin images defined in the PinnedImageSet. Before pulling images the MachineConfigDaemon will ensure the total uncompressed size of all the images does not exceed available resources. If the total size of the images exceeds the available resources the controller will report a Degraded status to the MachineConfigPool and not attempt to pull any images. Also to help ensure the kubelet can mitigate storage risk, the pinned_image configuration and subsequent service reload will happen only after all of the images have been pulled for each set. Images from multiple PinnedImageSets are loaded and pinned sequentially as listed. Duplicate and existing images will be skipped.


        Any failure to prefetch or pin images will result in a Degraded pool. Resolving these failures is the responsibility of the user. The admin should be proactive in ensuring adequate storage and proper image authentication exists in advance.

      • setPinnedImageSets

        public void setPinnedImageSets​(List<PinnedImageSetRef> pinnedImageSets)
        pinnedImageSets specifies a sequence of PinnedImageSetRef objects for the pool. Nodes within this pool will preload and pin images defined in the PinnedImageSet. Before pulling images the MachineConfigDaemon will ensure the total uncompressed size of all the images does not exceed available resources. If the total size of the images exceeds the available resources the controller will report a Degraded status to the MachineConfigPool and not attempt to pull any images. Also to help ensure the kubelet can mitigate storage risk, the pinned_image configuration and subsequent service reload will happen only after all of the images have been pulled for each set. Images from multiple PinnedImageSets are loaded and pinned sequentially as listed. Duplicate and existing images will be skipped.


        Any failure to prefetch or pin images will result in a Degraded pool. Resolving these failures is the responsibility of the user. The admin should be proactive in ensuring adequate storage and proper image authentication exists in advance.

      • getAdditionalProperties

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

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

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