简体   繁体   中英

how to increase kube-prometheus-stack startupProbe?

Hi I am looking in the values.yaml file of the helm chart kube-prometheus-stack and I am not able to find the key/value for the startupProbe . I've got an issue where loading of the prometheus pod takes more time than the default which is 15 min and I am trying to increase it, also trying to editing the statefulset would not work as they would be get overwritten by the prometheus itself. could anyone help me with this issue?
Thanks.

You can just override default startupProbe settings in Prometheuses custom resource as follows:

spec:
  containers:
    - name: prometheus
      startupProbe:
        failureThreshold: 120

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM