Class PodsMetricSource

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class PodsMetricSource
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<PodsMetricSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
    See Also:
    Serialized Form
    • Constructor Detail

      • PodsMetricSource

        public PodsMetricSource()
        No args constructor for use in serialization
    • Method Detail

      • getMetric

        public MetricIdentifier getMetric()
        PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
      • setMetric

        public void setMetric​(MetricIdentifier metric)
        PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
      • getTarget

        public MetricTarget getTarget()
        PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
      • setTarget

        public void setTarget​(MetricTarget target)
        PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
      • getAdditionalProperties

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

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

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