Class PodTemplateLabelFilter

    • Constructor Detail

      • PodTemplateLabelFilter

        public PodTemplateLabelFilter()
    • Method Detail

      • transform

        protected PodTemplate transform​(@NonNull
                                        KubernetesCloud cloud,
                                        @NonNull
                                        PodTemplate podTemplate,
                                        @CheckForNull
                                        Label label)
        Description copied from class: PodTemplateFilter
        Transforms a pod template definition.
        Specified by:
        transform in class PodTemplateFilter
        Parameters:
        cloud - The KubernetesCloud instance the PodTemplate instances will be scheduled into.
        podTemplate - The input pod template to process.
        label - The label that was requested for provisioning
        Returns:
        A new pod template after transformation. It can be null if the filter denies access to the given pod template.