Class ProbeTargetIngress

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ProbeTargetIngress
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ProbeTargetIngressBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ProbeTargetIngress defines the set of Ingress objects considered for probing. The operator configures a target for each host/path combination of each ingress object.
    See Also:
    Serialized Form
    • Constructor Detail

      • ProbeTargetIngress

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

        public ProbeTargetIngress​(NamespaceSelector namespaceSelector,
                                  List<RelabelConfig> relabelingConfigs,
                                  io.fabric8.kubernetes.api.model.LabelSelector selector)
    • Method Detail

      • getNamespaceSelector

        public NamespaceSelector getNamespaceSelector()
        ProbeTargetIngress defines the set of Ingress objects considered for probing. The operator configures a target for each host/path combination of each ingress object.
      • setNamespaceSelector

        public void setNamespaceSelector​(NamespaceSelector namespaceSelector)
        ProbeTargetIngress defines the set of Ingress objects considered for probing. The operator configures a target for each host/path combination of each ingress object.
      • getRelabelingConfigs

        public List<RelabelConfig> getRelabelingConfigs()
        RelabelConfigs to apply to the label set of the target before it gets scraped. The original ingress address is available via the `__tmp_prometheus_ingress_address` label. It can be used to customize the probed URL. The original scrape job's name is available via the `__tmp_prometheus_job_name` label. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
      • setRelabelingConfigs

        public void setRelabelingConfigs​(List<RelabelConfig> relabelingConfigs)
        RelabelConfigs to apply to the label set of the target before it gets scraped. The original ingress address is available via the `__tmp_prometheus_ingress_address` label. It can be used to customize the probed URL. The original scrape job's name is available via the `__tmp_prometheus_job_name` label. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
      • getSelector

        public io.fabric8.kubernetes.api.model.LabelSelector getSelector()
        ProbeTargetIngress defines the set of Ingress objects considered for probing. The operator configures a target for each host/path combination of each ingress object.
      • setSelector

        public void setSelector​(io.fabric8.kubernetes.api.model.LabelSelector selector)
        ProbeTargetIngress defines the set of Ingress objects considered for probing. The operator configures a target for each host/path combination of each ingress object.
      • getAdditionalProperties

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

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

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