Class PrometheusStatus

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class PrometheusStatus
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<PrometheusStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    PrometheusStatus is the most recent observed status of the Prometheus cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
    See Also:
    Serialized Form
    • Method Detail

      • getAvailableReplicas

        public Integer getAvailableReplicas()
        Total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.
      • setAvailableReplicas

        public void setAvailableReplicas​(Integer availableReplicas)
        Total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.
      • getConditions

        public List<Condition> getConditions()
        The current state of the Prometheus deployment.
      • setConditions

        public void setConditions​(List<Condition> conditions)
        The current state of the Prometheus deployment.
      • getPaused

        public Boolean getPaused()
        Represents whether any actions on the underlying managed objects are being performed. Only delete actions will be performed.
      • setPaused

        public void setPaused​(Boolean paused)
        Represents whether any actions on the underlying managed objects are being performed. Only delete actions will be performed.
      • getReplicas

        public Integer getReplicas()
        Total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).
      • setReplicas

        public void setReplicas​(Integer replicas)
        Total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).
      • getSelector

        public String getSelector()
        The selector used to match the pods targeted by this Prometheus resource.
      • setSelector

        public void setSelector​(String selector)
        The selector used to match the pods targeted by this Prometheus resource.
      • getShardStatuses

        public List<ShardStatus> getShardStatuses()
        The list has one entry per shard. Each entry provides a summary of the shard status.
      • setShardStatuses

        public void setShardStatuses​(List<ShardStatus> shardStatuses)
        The list has one entry per shard. Each entry provides a summary of the shard status.
      • getShards

        public Integer getShards()
        Shards is the most recently observed number of shards.
      • setShards

        public void setShards​(Integer shards)
        Shards is the most recently observed number of shards.
      • getUnavailableReplicas

        public Integer getUnavailableReplicas()
        Total number of unavailable pods targeted by this Prometheus deployment.
      • setUnavailableReplicas

        public void setUnavailableReplicas​(Integer unavailableReplicas)
        Total number of unavailable pods targeted by this Prometheus deployment.
      • getUpdatedReplicas

        public Integer getUpdatedReplicas()
        Total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.
      • setUpdatedReplicas

        public void setUpdatedReplicas​(Integer updatedReplicas)
        Total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.
      • getAdditionalProperties

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

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

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