Class PrometheusClusterAgentPodConfig


  • public class PrometheusClusterAgentPodConfig
    extends AbstractModel
    • Constructor Detail

      • PrometheusClusterAgentPodConfig

        public PrometheusClusterAgentPodConfig()
      • PrometheusClusterAgentPodConfig

        public PrometheusClusterAgentPodConfig​(PrometheusClusterAgentPodConfig source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getHostNet

        public Boolean getHostNet()
        Get 是否使用HostNetWork
        Returns:
        HostNet 是否使用HostNetWork
      • setHostNet

        public void setHostNet​(Boolean HostNet)
        Set 是否使用HostNetWork
        Parameters:
        HostNet - 是否使用HostNetWork
      • getNodeSelector

        public Label[] getNodeSelector()
        Get 指定pod运行节点
        Returns:
        NodeSelector 指定pod运行节点
      • setNodeSelector

        public void setNodeSelector​(Label[] NodeSelector)
        Set 指定pod运行节点
        Parameters:
        NodeSelector - 指定pod运行节点
      • getTolerations

        public Toleration[] getTolerations()
        Get 容忍污点
        Returns:
        Tolerations 容忍污点
      • setTolerations

        public void setTolerations​(Toleration[] Tolerations)
        Set 容忍污点
        Parameters:
        Tolerations - 容忍污点